{ "easycom": { "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/login/pwLogin", "style": { "navigationBarTitleText": "密码登录" } }, { "path": "pages/cleared/index", // 扫码记录 "style": { "navigationBarTitleText": "扫码记录", "enablePullDownRefresh": false } }, { "path": "pages/index/index", // 首页 "style": { "navigationBarTitleText": "首页", "enablePullDownRefresh": false } }, { "path": "pages/userCenter/index", "style": { "navigationBarTitleText": "个人中心", "navigationBarBackgroundColor": "#ed1c24", "navigationBarTextStyle": "white" } }, { "path": "pages/agreement/agreement", "style": { "navigationBarTitleText": "注意事项及服务协议" } }, { "path": "pages/userCenter/changePwd", // 我的>修改密码 "style": { "navigationBarTitleText": "修改密码" } } ], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#FFFFFF", "backgroundColor": "#f2f2f2", "app-plus": { // 将回弹属性关掉 "bounce": "none", "scrollIndicator": "none" } }, "tabBar": { "color": "#7A7E83", "selectedColor": "#ed1c24", "backgroundColor": "#ffffff", "fontSize": "14px", "list": [ { "pagePath": "pages/index/index", "iconPath": "static/tabbar/record.png", "selectedIconPath": "static/tabbar/record-active.png", "text": "首页" }, { "pagePath": "pages/cleared/index", "iconPath": "static/tabbar/record.png", "selectedIconPath": "static/tabbar/record-active.png", "text": "扫码记录" }, { "pagePath": "pages/userCenter/index", "iconPath": "static/tabbar/user.png", "selectedIconPath": "static/tabbar/user-active.png", "text": "我的" }] } }