分包问题
https://developers.weixin.qq.com/miniprogram/dev/framework/subpackages/basic.html
{
"pages": [
"pages/login/login" ,
"pages/machineOperator/jobs/jobs",
"pages/machineOperator/uncompletedJobsList/uncompletedJobsList",
"pages/machineOperator/newJobToday/newJobToday",
"pages/machineOperator/functionExpansionIndex/functionExpansionIndex"
],
"tabBar": {
"color": "#356",
"selectionedColor": "#000",
"backgroundColor":"#fff",
"borderStyle": "white",
"list": [
{
"pagePath": "pages/machineOperator/jobs/jobs",
"iconPath": "/pages/machineOperator/images/workQuery.jpg",
"selectedIconPath": "/pages/machineOperator/images/workQuerySelected.jpg",
"text": "历史任务"
},
{
"pagePath": "pages/machineOperator/uncompletedJobsList/uncompletedJobsList",
"iconPath": "/pages/machineOperator/images/dispatchM.jpg",
"selectedIconPath": "/pages/machineOperator/images/dispatchMSelected.jpg",
"text": "新派任务"
},
{
"pagePath": "pages/machineOperator/newJobToday/newJobToday",
"iconPath": "/pages/machineOperator/images/personalInformation.jpg",
"selectedIconPath": "/pages/machineOperator/images/personalInformationSelected.jpg",
"text": "今日任务",
"dot":true
},
{
"pagePath": "pages/machineOperator/functionExpansionIndex/functionExpansionIndex",
"iconPath": "/pages/machineOperator/images/personalInformation.jpg",
"selectedIconPath": "/pages/machineOperator/images/personalInformationSelected.jpg",
"text": "功能扩展",
"badge":"new"
}
]
},
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "Weixin",
"navigationBarTextStyle": "black"
},
"subPackages": [
{
"root": "page/systemManagerPackage/",
"pages": [
"pages/systemManager/systemManagerIndex/systemMangerIndex"
],
"independent": true
}
],
"networkTimeout": {
"request": 10000,
"connectSocket": 10000,
"uploadFile": 10000,
"downloadFile": 10000
},
"debug": false,
"sitemapLocation": "sitemap.json"
}
3 回复