Files
shanxia2.0/miniprogram/pages.json
T
wuzilongandCursor 507823dfce feat(miniprogram): add mobile bx menus and Batch1 placeholders.
Insert MINI_BX_* menus with mini:bx:* perms on test/prod, expose 9 workbench entries, and register placeholder pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-11 23:12:55 +08:00

200 lines
5.1 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/db/dashboard/index",
"style": { "navigationStyle": "custom" }
},
{
"path": "pages/db/plans/list",
"style": { "navigationStyle": "custom" }
},
{
"path": "pages/db/plans/detail",
"style": { "navigationStyle": "custom" }
},
{
"path": "pages/db/inventory/list",
"style": { "navigationStyle": "custom" }
},
{
"path": "pages/db/inventory/detail",
"style": { "navigationStyle": "custom" }
},
{
"path": "pages/db/weighing/list",
"style": { "navigationStyle": "custom" }
},
{
"path": "pages/db/weighing/detail",
"style": { "navigationStyle": "custom" }
},
{
"path": "pages/bx/advance/list",
"style": { "navigationStyle": "custom", "navigationBarTitleText": "备用金申请" }
},
{
"path": "pages/bx/reimburse/list",
"style": { "navigationStyle": "custom", "navigationBarTitleText": "报销申请" }
},
{
"path": "pages/bx/mine/list",
"style": { "navigationStyle": "custom", "navigationBarTitleText": "我的申请单" }
},
{
"path": "pages/bx/all/list",
"style": { "navigationStyle": "custom", "navigationBarTitleText": "全部申请单" }
},
{
"path": "pages/bx/invoice/mine",
"style": { "navigationStyle": "custom", "navigationBarTitleText": "我的发票夹" }
},
{
"path": "pages/bx/invoice/admin",
"style": { "navigationStyle": "custom", "navigationBarTitleText": "发票夹管理" }
},
{
"path": "pages/bx/admin/expense-item",
"style": { "navigationStyle": "custom", "navigationBarTitleText": "费用项目" }
},
{
"path": "pages/bx/admin/wf-advance",
"style": { "navigationStyle": "custom", "navigationBarTitleText": "工作流(备用金)" }
},
{
"path": "pages/bx/admin/wf-reimburse",
"style": { "navigationStyle": "custom", "navigationBarTitleText": "工作流(报销)" }
}
// #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
],
"tabBar": {
"color": "#6b7b74",
"selectedColor": "#087f57",
"backgroundColor": "#ffffff",
"borderStyle": "white",
"list": [
{
"pagePath": "pages/home/home",
"text": "首页",
"iconPath": "static/tabbar/首页.png",
"selectedIconPath": "static/tabbar/首页-active.png"
},
{
"pagePath": "pages/todo/todo",
"text": "待办",
"iconPath": "static/tabbar/订单.png",
"selectedIconPath": "static/tabbar/订单-active.png"
},
{
"pagePath": "pages/workbench/workbench",
"text": "工作台",
"iconPath": "static/tabbar/购物车.png",
"selectedIconPath": "static/tabbar/购物车-active.png"
},
{
"pagePath": "pages/mine/mine",
"text": "我的",
"iconPath": "static/tabbar/我的.png",
"selectedIconPath": "static/tabbar/我的-active.png"
}
]
},
"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
}
}