244 lines
6.6 KiB
JSON
244 lines
6.6 KiB
JSON
{
|
|
"pages": [
|
|
{
|
|
"path": "pages/login/login",
|
|
"style": {
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/login/user-agreement",
|
|
"style": {
|
|
"navigationBarTitleText": "用户服务协议",
|
|
"navigationBarBackgroundColor": "#f3f7f5",
|
|
"navigationBarTextStyle": "black"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/login/privacy-policy",
|
|
"style": {
|
|
"navigationBarTitleText": "隐私政策",
|
|
"navigationBarBackgroundColor": "#f3f7f5",
|
|
"navigationBarTextStyle": "black"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/workbench/workbench",
|
|
"style": {
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/home/home",
|
|
"style": {
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/todo/todo",
|
|
"style": {
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/mine/mine",
|
|
"style": {
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/common/biz-placeholder",
|
|
"style": {
|
|
"navigationStyle": "custom"
|
|
}
|
|
},
|
|
{
|
|
"path": "pages/common/mp-webview",
|
|
"style": {
|
|
// 竖屏 web-view 无法去掉原生顶栏:标题置空 + 背景对齐 H5 绿头,视觉合成一条
|
|
"navigationStyle": "default",
|
|
"navigationBarTitleText": " ",
|
|
"navigationBarBackgroundColor": "#087f57",
|
|
"navigationBarTextStyle": "white"
|
|
}
|
|
}
|
|
// #ifdef H5
|
|
,
|
|
{
|
|
"path": "pages/error/404",
|
|
"style": {
|
|
"navigationBarTitleText": "Not Found"
|
|
}
|
|
}
|
|
// #endif
|
|
// #ifdef APP-PLUS
|
|
,
|
|
{
|
|
"path": "uni_modules/uni-upgrade-center-app/pages/upgrade-popup",
|
|
"style": {
|
|
"app-plus": {
|
|
"animationDuration": 200,
|
|
"animationType": "fade-in",
|
|
"background": "transparent",
|
|
"backgroundColorTop": "transparent",
|
|
"popGesture": "none",
|
|
"scrollIndicator": false,
|
|
"titleNView": false
|
|
},
|
|
"disableScroll": true
|
|
}
|
|
}
|
|
// #endif
|
|
],
|
|
"subPackages": [
|
|
{
|
|
"root": "pages/db",
|
|
"name": "db",
|
|
"pages": [
|
|
{
|
|
"path": "dashboard/index",
|
|
"style": { "navigationStyle": "custom" }
|
|
},
|
|
{
|
|
"path": "plans/list",
|
|
"style": { "navigationStyle": "custom" }
|
|
},
|
|
{
|
|
"path": "plans/detail",
|
|
"style": { "navigationStyle": "custom" }
|
|
},
|
|
{
|
|
"path": "inventory/list",
|
|
"style": { "navigationStyle": "custom" }
|
|
},
|
|
{
|
|
"path": "inventory/detail",
|
|
"style": { "navigationStyle": "custom" }
|
|
},
|
|
{
|
|
"path": "weighing/list",
|
|
"style": { "navigationStyle": "custom" }
|
|
},
|
|
{
|
|
"path": "weighing/detail",
|
|
"style": { "navigationStyle": "custom" }
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"root": "pages/bx",
|
|
"name": "bx",
|
|
"pages": [
|
|
{
|
|
"path": "advance/list",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "备用金申请" }
|
|
},
|
|
{
|
|
"path": "advance/apply",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "备用金申请" }
|
|
},
|
|
{
|
|
"path": "advance/detail",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "备用金详情" }
|
|
},
|
|
{
|
|
"path": "reimburse/list",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "报销申请" }
|
|
},
|
|
{
|
|
"path": "reimburse/apply",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "报销申请" }
|
|
},
|
|
{
|
|
"path": "reimburse/detail",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "报销详情" }
|
|
},
|
|
{
|
|
"path": "mine/list",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "我的申请单" }
|
|
},
|
|
{
|
|
"path": "all/list",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "全部申请单" }
|
|
},
|
|
{
|
|
"path": "invoice/mine",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "我的发票夹" }
|
|
},
|
|
{
|
|
"path": "invoice/admin",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "发票夹管理" }
|
|
},
|
|
{
|
|
"path": "admin/expense-item",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "费用项目" }
|
|
},
|
|
{
|
|
"path": "admin/wf-advance",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "工作流(备用金)" }
|
|
},
|
|
{
|
|
"path": "admin/wf-reimburse",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "工作流(报销)" }
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"root": "pages/pl",
|
|
"name": "pl",
|
|
"pages": [
|
|
{
|
|
"path": "fuel-register/list",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "加油登记" }
|
|
},
|
|
{
|
|
"path": "fuel-register/form",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "加油登记" }
|
|
},
|
|
{
|
|
"path": "transport-plan/list",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "现场运输计划单" }
|
|
},
|
|
{
|
|
"path": "transport-plan/detail",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "现场回传" }
|
|
},
|
|
{
|
|
"path": "driver-plan/list",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "司机运输计划单" }
|
|
},
|
|
{
|
|
"path": "driver-plan/detail",
|
|
"style": { "navigationStyle": "custom", "navigationBarTitleText": "司机回执" }
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"preloadRule": {
|
|
"pages/workbench/workbench": {
|
|
"network": "all",
|
|
"packages": ["db", "bx", "pl"]
|
|
}
|
|
},
|
|
"globalStyle": {
|
|
"pageOrientation": "portrait",
|
|
"navigationBarTitleText": "山峡化工",
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarBackgroundColor": "#f3f7f5",
|
|
"backgroundColor": "#f5f8f7",
|
|
"backgroundColorTop": "#f5f8f7",
|
|
"backgroundColorBottom": "#f5f8f7",
|
|
"mp-360": {
|
|
"navigationStyle": "custom"
|
|
},
|
|
"h5": {
|
|
"maxWidth": 1190,
|
|
"navigationBarTextStyle": "black",
|
|
"navigationBarBackgroundColor": "#f3f7f5"
|
|
}
|
|
},
|
|
"easycom": {
|
|
"autoscan": true
|
|
}
|
|
}
|