feat(store): 实现门店中心功能及订单管理

- 在“我的钱包”上方新增“门店中心”按钮,仅管理员可见
- 新建门店中心页面,实现订单列表按状态筛选功能
- 支持订单操作:标记已付款、标记已发货、标记已完成
- 操作时必须上传操作凭证图片,支持拍照和相册选择,最多3张
- 凭证图片上传至指定接口,操作成功后刷新订单列表
- 更新 app.config 注册门店中心新页面及对应配置
- 说明订单状态字段及对应数值含义,便于状态判断与展示
This commit is contained in:
2026-07-01 13:18:46 +08:00
parent 1fa58040f3
commit 61e9879b5d
5 changed files with 403 additions and 0 deletions

View File

@@ -56,6 +56,8 @@ const UserPage: React.FC = () => {
// { icon: '🏆', label: '赛事活动', url: '/pages/event/my/index' },
// { icon: '📅', label: '预约穿线', url: '/pages/booking/list/index' },
// { icon: '🎫', label: '优惠券', url: '/pages/user/coupon-list' },
// 门店中心:仅管理员显示
...(user?.isAdmin ? [{ icon: '🏪', label: '门店中心', url: '/pages/store/center/index' }] : []),
{ icon: '💰', label: '我的钱包', url: '/pages/user/wallet' },
{ icon: '📍', label: '收货地址', url: '/pages/user/address-list' },
// { icon: '⭐', label: '积分明细', url: '/pages/user/points-record' },