{ "easycom": { "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/index/index", // 首页 "style": { "navigationBarTitleText": "乐色超人", "enablePullDownRefresh": false } }, { "path": "pages/index/addData", "style": { "navigationBarTitleText": "垃圾数据录入" } }, { "path": "pages/login/login", "style": { "navigationBarTitleText": "授权登录" } }, { "path": "pages/userCenter/index", "style": { "navigationBarTitleText": "个人中心", "navigationBarBackgroundColor": "#0DC55F", "navigationBarTextStyle": "white" } }, { "path": "pages/userCenter/aboutUs", "style": { "navigationBarTitleText": "关于我们" } }, { "path": "pages/agreement/agreement", "style": { "navigationBarTitleText": "用户协议及隐私政策" } } ], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#FFFFFF", "backgroundColor": "#f2f2f2", "app-plus": { // 将回弹属性关掉 "bounce": "none", "scrollIndicator": "none" } }, "tabBar": { "color": "#7A7E83", "selectedColor": "##0DC55F", "backgroundColor": "#ffffff", "fontSize": "14px", "list": [ { "pagePath": "pages/index/index", "iconPath": "static/index/logo.png", "selectedIconPath": "static/index/logo-active.png", "text": "首页" }, { "pagePath": "pages/index/index", "iconPath": "static/index/logo.png", "selectedIconPath": "static/index/logo-active.png", "text": "订单" }, { "pagePath": "pages/userCenter/index", "iconPath": "static/tabbar/user.png", "selectedIconPath": "static/tabbar/user-active.png", "text": "我的" }] } }