This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is 花掌柜 (huā zhǎng guì - Flower Shop Manager), a comprehensive flower shop management system built with UniApp. It's a cross-platform application targeting WeChat Mini Programs, H5 web apps, and native mobile apps (iOS/Android).
# Development
npm run dev:h5 # H5 development server (port 81)
npm run dev:mp-weixin # WeChat Mini Program
npm run dev:app-plus # App development
# Production Build
npm run build:h5 # H5 production build
npm run build:mp-weixin # Mini program production build
npm run build:app-plus # App production build
# Other platforms
npm run dev:mp-alipay # Alipay Mini Program
npm run dev:mp-baidu # Baidu Smart Program
npm run dev:mp-qq # QQ Mini Program
npm run dev:mp-toutiao # ByteDance Mini Program
http://api.shop.huaml.comhttp://shop.huaml.comhttp://img.huaml.comdev (see src/config.js)src/
├── admin/ # Admin management system
│ ├── home/ # Main navigation pages (workbench, order, member, apply, me)
│ ├── goods/ # Product management (flowers, plants, categories)
│ ├── order/ # Order management system
│ ├── billing/ # Billing and checkout flows
│ ├── customer/ # Customer management
│ ├── staff/ # Employee management
│ ├── shop/ # Shop management
│ ├── stat/ # Statistics and reports
│ └── ... # Other admin modules
├── pagesClient/ # Client-facing pages
├── pagesPurchase/ # Procurement system
├── pagesStorehouse/ # Inventory management
├── pagesOrder/ # Order processing
├── pagesStatistics/ # Business analytics
├── components/ # Reusable UI components
├── api/ # API service modules (organized by business domain)
├── store/ # Vuex state management
├── utils/ # Utility functions and helpers
└── static/ # Static assets
The API layer is organized by business domain:
/api/goods/ - Product management/api/order/ - Order processing/api/custom/ - Customer management/api/stat/ - Statistics and analytics/api/billing/ - Billing and payments/api/storehouse/ - Inventory managementsrc/pages.json and create corresponding Vue files/api/ modules/store/modules//static/css/ or component-scoped styles/components/ directory