- 新增底部导航栏配置,替换原有多页切换逻辑 - 统一页面跳转使用 switchTab 替代 reLaunch,优化性能 - 新增未读消息角标自动更新功能 - 修复登录后跳转逻辑,兼容旧版 tab 参数 - 调整页面高度为 100vh,修复安全区域适配问题 - 优化订单列表页加载逻辑,支持状态参数传递
233 行
5.8 KiB
JSON
233 行
5.8 KiB
JSON
{
|
|
"pages": [
|
|
{
|
|
"path": "pages/index/index",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "优匠优服",
|
|
"navigationBarTextStyle": "white",
|
|
"backgroundColor": "#F5F6F8",
|
|
"enablePullDownRefresh": false,
|
|
"disableScroll": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/login/login",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/agreement/detail",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/service/list",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/service/detail",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/order/create",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/order/quick",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/order/system-gallery",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#F5F6F8",
|
|
"enablePullDownRefresh": false,
|
|
"disableScroll": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/order/goods-gallery",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#F5F6F8",
|
|
"enablePullDownRefresh": false,
|
|
"disableScroll": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/order/goods-template",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#F5F6F8",
|
|
"enablePullDownRefresh": false,
|
|
"disableScroll": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/category/category",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/order/list",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#F5F6F8",
|
|
"enablePullDownRefresh": false,
|
|
"disableScroll": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/order/detail",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/order/payment-success",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/order/case",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/order/review",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/order/master-reviews",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/address/list",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/coupon/coupon",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/message/message",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"enablePullDownRefresh": false,
|
|
"disableScroll": true,
|
|
"backgroundColor": "#F5F6F8"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/mine/mine",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#F5F6F8",
|
|
"enablePullDownRefresh": false,
|
|
"disableScroll": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/mine/aftersale",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/mine/aftersale-detail",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/mine/account",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/mine/security",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/user/wallet",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#F5F6F8",
|
|
"enablePullDownRefresh": false,
|
|
"disableScroll": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/user/bills",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#F5F6F8",
|
|
"enablePullDownRefresh": false,
|
|
"disableScroll": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/merchant/invoice",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/invoice/orders",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/invoice/apply",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/invoice/titles",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/invoice/title-edit",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/invoice/records",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/invoice/detail",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
}
|
|
],
|
|
"easycom": {
|
|
"autoscan": true,
|
|
"custom": {
|
|
"^Yjyf(.*)": "@/components/Yjyf$1.vue"
|
|
}
|
|
},
|
|
"globalStyle": {
|
|
"navigationBarTextStyle": "white",
|
|
"navigationBarTitleText": "优匠优服",
|
|
"navigationBarBackgroundColor": "#F0710D",
|
|
"backgroundColor": "#F5F6F8"
|
|
},
|
|
"tabBar": {
|
|
"color": "#9A9A9A",
|
|
"selectedColor": "#F0710D",
|
|
"backgroundColor": "#FFFFFF",
|
|
"borderStyle": "black",
|
|
"list": [
|
|
{
|
|
"pagePath": "pages/index/index",
|
|
"text": "首页",
|
|
"iconPath": "static/tabbar/home.png",
|
|
"selectedIconPath": "static/tabbar/home-active.png"
|
|
},
|
|
{
|
|
"pagePath": "pages/order/list",
|
|
"text": "订单",
|
|
"iconPath": "static/tabbar/order.png",
|
|
"selectedIconPath": "static/tabbar/order-active.png"
|
|
},
|
|
{
|
|
"pagePath": "pages/message/message",
|
|
"text": "消息",
|
|
"iconPath": "static/tabbar/message.png",
|
|
"selectedIconPath": "static/tabbar/message-active.png"
|
|
},
|
|
{
|
|
"pagePath": "pages/mine/mine",
|
|
"text": "我的",
|
|
"iconPath": "static/tabbar/mine.png",
|
|
"selectedIconPath": "static/tabbar/mine-active.png"
|
|
}
|
|
]
|
|
},
|
|
"uniIdRouter": {}
|
|
}
|