后端(补齐前端已入口但无接口的模块): - Coupon 控制器:center 领券中心 / my 我的券(未使用·已使用·已过期+计数)/ receive 领取 含库存与过期校验、重复领取拦截、领券后自动发消息 - Message 控制器:index 列表(分类筛选)/ read 单条已读 / readAll 全部已读 / unread 角标 支持 user 与 master 两种归属 前端(对应页面,全部接真接口): - pages/address/list 服务地址:列表 / 新增·编辑弹层 / 设为默认 / 删除 - pages/coupon/coupon 领券中心 + 我的券(双 Tab + 状态筛选 + 计数) - pages/message/message 消息中心:分类 / 未读圆点 / 点开自动已读 / 全部已读 / 跳订单 - mine.vue 三个入口(地址·优惠券·消息)由「开发中」改为真实路由 - merchant/workbench 服务地址入口接真实路由 - 首页 TabBar「消息」接入消息中心 - api.js 新增 coupon/message 共 7 个接口 后台登录页(UI 与前端主色调统一): - 左侧橙金渐变品牌区:logo 徽标 + 「优匠优服」立体字 + slogan + 460万+/99.9%/1762万 平台实力 + 保障条 - 右侧白色登录卡:橙色渐变按钮、圆角输入框、错误提示条 - 保留 FastAdmin 全部挂钩(token/验证码/keeplogin/@AdminLoginFormBegin 等 14 项) 验证:5 套用例 178 项断言全通过(47+65+27+24+15),配置自检 8/8
122 行
2.9 KiB
JSON
122 行
2.9 KiB
JSON
{
|
|
"pages": [ //pages数组中第一项表示应用启动页
|
|
{
|
|
"path": "YJYF/YJYF",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "优匠优服",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#F5F6F8",
|
|
"enablePullDownRefresh": false
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/login/login",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/service/list",
|
|
"style": { "navigationBarTitleText": "服务列表" }
|
|
},
|
|
{
|
|
"path": "pages/service/detail",
|
|
"style": { "navigationBarTitleText": "服务详情" }
|
|
},
|
|
{
|
|
"path": "pages/order/create",
|
|
"style": { "navigationBarTitleText": "确认订单" }
|
|
},
|
|
{
|
|
"path": "pages/order/list",
|
|
"style": { "navigationBarTitleText": "我的订单" }
|
|
},
|
|
{
|
|
"path": "pages/order/detail",
|
|
"style": { "navigationBarTitleText": "订单详情" }
|
|
},
|
|
{
|
|
"path": "pages/order/review",
|
|
"style": { "navigationBarTitleText": "服务评价" }
|
|
},
|
|
{
|
|
"path": "pages/address/list",
|
|
"style": { "navigationBarTitleText": "服务地址" }
|
|
},
|
|
{
|
|
"path": "pages/coupon/coupon",
|
|
"style": { "navigationBarTitleText": "优惠券" }
|
|
},
|
|
{
|
|
"path": "pages/message/message",
|
|
"style": {
|
|
"navigationBarTitleText": "消息中心",
|
|
"enablePullDownRefresh": true,
|
|
"backgroundTextStyle": "dark"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/master/apply",
|
|
"style": { "navigationBarTitleText": "师傅入驻" }
|
|
},
|
|
{
|
|
"path": "pages/master/workbench",
|
|
"style": { "navigationBarTitleText": "师傅工作台" }
|
|
},
|
|
{
|
|
"path": "pages/master/hall",
|
|
"style": { "navigationBarTitleText": "订单大厅", "enablePullDownRefresh": false }
|
|
},
|
|
{
|
|
"path": "pages/master/quote",
|
|
"style": { "navigationBarTitleText": "报价管理" }
|
|
},
|
|
{
|
|
"path": "pages/master/wallet",
|
|
"style": { "navigationBarTitleText": "我的钱包" }
|
|
},
|
|
{
|
|
"path": "pages/master/credit",
|
|
"style": { "navigationBarTitleText": "信用与申诉" }
|
|
},
|
|
{
|
|
"path": "pages/mine/mine",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/merchant/apply",
|
|
"style": { "navigationBarTitleText": "商家入驻" }
|
|
},
|
|
{
|
|
"path": "pages/merchant/workbench",
|
|
"style": { "navigationBarTitleText": "商家工作台" }
|
|
},
|
|
{
|
|
"path": "pages/merchant/batch",
|
|
"style": { "navigationBarTitleText": "批量下单" }
|
|
},
|
|
{
|
|
"path": "pages/merchant/invoice",
|
|
"style": { "navigationBarTitleText": "开具发票" }
|
|
},
|
|
{
|
|
"path": "pages/master/orders",
|
|
"style": {
|
|
"navigationBarTitleText": "接单管理",
|
|
"enablePullDownRefresh": true,
|
|
"backgroundTextStyle": "dark"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/index/index",
|
|
"style": { "navigationBarTitleText": "uni-app" }
|
|
}
|
|
],
|
|
"globalStyle": {
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarTitleText": "优匠优服",
|
|
"navigationBarBackgroundColor": "#FFFFFF",
|
|
"backgroundColor": "#F5F6F8"
|
|
},
|
|
"uniIdRouter": {}
|
|
}
|