- 新表 user_coupons(快照面额/门槛/类目/有效期)+ orders.user_coupon_id - 仓储:getCouponsWithClaimed/claimCoupon/getUserCoupons/resolveUserCoupon/consumeUserCoupon/releaseUserCouponByOrder - 接口:POST /api/marketing/coupons/:id/claim(同券仅一次、受总量限制)、GET /api/marketing/my-coupons(自动标记过期)、券中心带 claimed 标识 - 下单:createOrder 支持 userCouponId(校验归属/门槛/类目/有效期,服务端算抵扣,与订单同事务占用) - 回退:买家取消/大神拒单/超时退款/仲裁退款 均把券退回为 UNUSED - 小程序:新增 pages/user/coupons(券中心+我的券)、个人中心入口(可用张数)、下单改为选择"我的券"并传 userCouponId - 回归 94 套件/666 用例全绿;冒烟 9/9(领取/重复领取409/不存在404/下单抵扣100-10=90/取消回退)
314 行
8.7 KiB
JSON
314 行
8.7 KiB
JSON
{
|
|
"easycom": {
|
|
"autoscan": true,
|
|
"custom": {
|
|
"^AppTabBar$": "@/components/CustomTabBar.vue",
|
|
"^app-tab-bar$": "@/components/CustomTabBar.vue",
|
|
"^CustomTabBar$": "@/components/CustomTabBar.vue",
|
|
"^custom-tab-bar$": "@/components/CustomTabBar.vue"
|
|
}
|
|
},
|
|
"pages": [
|
|
{
|
|
"path": "pages/index/index",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "陪玩中心",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/auth/login",
|
|
"style": {
|
|
"navigationBarTitleText": "账号登录与注册",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/common/protocol",
|
|
"style": {
|
|
"navigationBarTitleText": "服务协议与隐私政策",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/activity/list",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "附近活动",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/activity/detail",
|
|
"style": {
|
|
"navigationBarTitleText": "活动详情",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/activity/my-ticket",
|
|
"style": {
|
|
"navigationBarTitleText": "我的活动门票",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/expert/detail",
|
|
"style": {
|
|
"navigationBarTitleText": "陪玩大神主页",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/expert/apply",
|
|
"style": {
|
|
"navigationBarTitleText": "大神入驻认证",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/order/create",
|
|
"style": {
|
|
"navigationBarTitleText": "确认预约订单",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/order/list",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "我的订单",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/index",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "个人中心",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/recharge",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "钱包充值",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/withdraw",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "收益提现",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/favorites",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "我的收藏",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/withdraw-records",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "提现审批明细",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/bill-records",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "账单明细",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/promote",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "推广赚钱",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/settings",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "系统与隐私设置",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/reports",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "我的举报与维权",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/help-faq",
|
|
"style": {
|
|
"navigationBarTitleText": "帮助中心与常见问题",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/notifications",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "消息通知",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/coupons",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "优惠券",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/activity/create",
|
|
"style": {
|
|
"navigationBarTitleText": "我要发单 / 发起组队",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/expert/workspace",
|
|
"style": {
|
|
"navigationBarTitleText": "大神接单工作台",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/community/index",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "友圈广场",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/community/detail",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "动态详情",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/expert/radar",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "我要接单",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/expert/hall",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "接单大厅",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#0A0F1D"
|
|
}
|
|
}
|
|
],
|
|
"globalStyle": {
|
|
"navigationBarTextStyle": "white",
|
|
"navigationBarTitleText": "陪玩中心",
|
|
"navigationBarBackgroundColor": "#0A0F1D",
|
|
"backgroundColor": "#0A0F1D"
|
|
},
|
|
"tabBar": {
|
|
"color": "#94A3B8",
|
|
"selectedColor": "#6366F1",
|
|
"backgroundColor": "#151D30",
|
|
"borderStyle": "black",
|
|
"list": [
|
|
{
|
|
"pagePath": "pages/index/index",
|
|
"text": "首页"
|
|
},
|
|
{
|
|
"pagePath": "pages/activity/list",
|
|
"text": "活动项目"
|
|
},
|
|
{
|
|
"pagePath": "pages/order/list",
|
|
"text": "订单中心"
|
|
},
|
|
{
|
|
"pagePath": "pages/user/index",
|
|
"text": "我的"
|
|
}
|
|
]
|
|
}
|
|
}
|