- 新增 tabbar 配置,改为独立页面路由 - 替换所有 reLaunch 为 switchTab 跳转 tab 页面 - 新增未读消息角标同步逻辑 - 移除旧的多 tab 组件化实现 - 新增 tabbar 图标资源文件
157 行
3.9 KiB
JSON
157 行
3.9 KiB
JSON
{
|
|
"pages": [
|
|
{
|
|
"path": "pages/master/hall",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"navigationBarTitleText": "接单大厅",
|
|
"backgroundColor": "#F5F6F8",
|
|
"enablePullDownRefresh": false,
|
|
"disableScroll": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/master/orders",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#F5F6F8",
|
|
"enablePullDownRefresh": false,
|
|
"disableScroll": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/message/message",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"enablePullDownRefresh": false,
|
|
"disableScroll": true,
|
|
"backgroundColor": "#F5F6F8"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/master/workbench",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"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/master/apply",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/master/auth",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/master/skills",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/master/certs",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/master/cert-upload",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/master/location",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#F5F6F8",
|
|
"enablePullDownRefresh": false,
|
|
"disableScroll": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/master/quote",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/master/wallet",
|
|
"style": {
|
|
"navigationStyle": "custom",
|
|
"backgroundColor": "#F5F6F8",
|
|
"enablePullDownRefresh": false,
|
|
"disableScroll": true
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/master/credit",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/master/reviews",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/master/detail",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8", "enablePullDownRefresh": true }
|
|
},
|
|
{
|
|
"path": "pages/master/success",
|
|
"style": { "navigationStyle": "custom", "backgroundColor": "#F5F6F8" }
|
|
},
|
|
{
|
|
"path": "pages/master/security",
|
|
"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/master/hall",
|
|
"text": "大厅",
|
|
"iconPath": "static/tabbar/master/hall-store.png",
|
|
"selectedIconPath": "static/tabbar/master/hall-store-active.png"
|
|
},
|
|
{
|
|
"pagePath": "pages/master/orders",
|
|
"text": "订单",
|
|
"iconPath": "static/tabbar/master/orders.png",
|
|
"selectedIconPath": "static/tabbar/master/orders-active.png"
|
|
},
|
|
{
|
|
"pagePath": "pages/message/message",
|
|
"text": "消息",
|
|
"iconPath": "static/tabbar/master/msg.png",
|
|
"selectedIconPath": "static/tabbar/master/msg-active.png"
|
|
},
|
|
{
|
|
"pagePath": "pages/master/workbench",
|
|
"text": "我的",
|
|
"iconPath": "static/tabbar/master/work.png",
|
|
"selectedIconPath": "static/tabbar/master/work-active.png"
|
|
}
|
|
]
|
|
},
|
|
"uniIdRouter": {}
|
|
}
|