{ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/login/login/login", "style": { "navigationBarTitleText": "登录", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "enablePullDownRefresh": false } }, { "path": "pages/user/orderStatistics/orderStatistics", "style": { "navigationBarTitleText": "统计", "enablePullDownRefresh": false } },{ "path": "pages/user/shift-management/shift-management", "style": { "navigationBarTitleText": "班次管理", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "enablePullDownRefresh": false } }, { "path": "pages/tabBar/home/home", "style": { "navigationBarTextStyle": "white", "navigationBarTitleText": "嗨森逛", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "onReachBottomDistance": 50, "app-plus": { "titleNView": false, //禁用原生导航栏 "softinputNavBar": "none" } } }, { "path": "pages/home/oderDetails/oderDetails", "style": { "navigationBarTitleText": "订单详情", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#3981ed", "backgroundColorTop": "#3981ed", "enablePullDownRefresh": false } }, { "path": "pages/login/updatePsd/updatePsd", "style": { "navigationBarTitleText": "修改密码", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "enablePullDownRefresh": false } }, { "path": "pages/tabBar/user/user", "style": { "enablePullDownRefresh": true, "navigationBarTitleText": "我的", "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "navigationBarTextStyle": "white", "app-plus": { "titleNView": false //禁用原生导航栏 } } }, { "path": "pages/user/updateOilgun/updateOilgun", "style": { "navigationBarTitleText": "配置油枪", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "enablePullDownRefresh": false } }, { "path": "pages/user/updateOilprice/updateOilprice", "style": { "navigationBarTitleText": "修改油品价格", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "enablePullDownRefresh": false } }, { "path": "pages/user/oil-list/oil-list", "style": { "navigationBarTitleText": "设置油枪", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "enablePullDownRefresh": false } }, { "path": "pages/user/addOils/addOils", "style": { "navigationBarTitleText": "新增油品", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "enablePullDownRefresh": false } } , { "path": "pages/user/shift-summary/shift-summary", "style": { "navigationBarTitleText": "班次汇总", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "enablePullDownRefresh": false } }, { "path": "pages/user/select-team/select-team", "style": { "navigationBarTitleText": "", "navigationBarTextStyle": "white", "navigationBarBackgroundColor": "#0083f5", "backgroundColorTop": "#0083f5", "enablePullDownRefresh": false } } ], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8" }, "tabBar": { "color": "#333333", "selectedColor": "#0083f5", "borderStyle": "black", "backgroundColor": "#ffffff", "list": [{ "pagePath": "pages/tabBar/home/home", "iconPath": "static/img/tabBar/home.png", "selectedIconPath": "static/img/tabBar/home-on.png", "text": "订单" }, { "pagePath": "pages/tabBar/user/user", "iconPath": "static/img/tabBar/user.png", "selectedIconPath": "static/img/tabBar/user-on.png", "text": "我的" } ] } }