{ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/loging/loging", "name": "loging", "style": { "navigationBarTitleText": "请登入" // "app-plus": { // "animationType": "fade-in", // "animationDuration": 300 // } } }, { "path": "pages/myself/myself", "name": "myself", "style": { "navigationBarTitleText": "用户中心", "navigationBarBackgroundColor": "#F56968" } }, { "path": "pages/myself/childen/aboutUs", "name": "aboutUs", "style": { "navigationBarTitleText": "关于我们", "navigationBarBackgroundColor": "#F56968" } }, { "path": "pages/myself/childen/shezhi", "name": "shezhi", "style": { "navigationBarTitleText": "系统设置", "navigationBarBackgroundColor": "#F56968" } }, { "path": "pages/myself/childen/yijian", "name": "yijian", "style": { "navigationBarTitleText": "意见反馈", "navigationBarBackgroundColor": "#F56968" } }, { "path": "pages/myself/childen/genxin", "name": "genxin", "style": { "navigationBarTitleText": "版本信息", "navigationBarBackgroundColor": "#F56968" } }, { "path": "pages/myself/childen/xinxi", "name": "xinxi", "style": { "navigationBarTitleText": "账户信息", "navigationBarBackgroundColor": "#F56968" } }, { "path": "pages/myself/childen/info/nickName", "name": "nickName", "style": { "navigationBarTitleText": "修改昵称", "navigationBarBackgroundColor": "#F56968" } }, { "path": "pages/myself/childen/info/phone", "name": "phone", "style": { "navigationBarTitleText": "修改电话", "navigationBarBackgroundColor": "#F56968" } }, { "path": "pages/myself/childen/info/email", "name": "email", "style": { "navigationBarTitleText": "修改邮箱", "navigationBarBackgroundColor": "#F56968" } }, { "path": "pages/myself/childen/info/birthday", "name": "birthday", "style": { "navigationBarTitleText": "修改生日", "navigationBarBackgroundColor": "#F56968" } }, { "path": "pages/business/business", "name": "business", "style": { "navigationBarTitleText": "业务办理" } }, { "path": "pages/groupChat/groupChat", "name": "groupChat", "style": { "navigationBarTitleText": "聊天室" } }, { "path" : "components/submit/submit", "style" : {} }, { "path": "pages/groupChat/chating", "name": "chating", "style": { "navigationBarTitleText": "聊天室2", "navigationStyle":"custom", "app-plus":{ "titleNView":false } } }, { "path": "pages/infoRegistration/infoRegistration", "name": "infoRegistration", "style": { "navigationBarTitleText": "信息登记" } }, { "path": "pages/infoRegistration/infoCheck", "name": "infoCheck", "style": { "navigationBarTitleText": "信息核实" } }, { "path": "pages/visitRecord/visitRecord", "name": "visitRecord", "style": { "navigationBarTitleText": "拜访记录" } }, { "path": "pages/riskReporting/riskReporting", "name": "riskReporting", "style": { "navigationBarTitleText": "风险上报" } }, { "path": "pages/equipment/equipment", "name": "equipment", "style": { "navigationBarTitleText": "设备安装" } }, { "path": "pages/article/article", "name": "equipment", "style": { "navigationBarTitleText": "资讯" } }, { "path": "pages/article/article_detail", "name": "equipment", "style": { "navigationBarTitleText": "详情" } }, { "path": "pages/patrol/patrol", "name": "equipment", "style": { "navigationBarTitleText": "巡逻管理" } }, { "path": "pages/investigation/investigation", "name": "investigation", "style": { "navigationBarTitleText": "地图" } }, { "path": "pages/workbench/workbench", "name": "workbench", "style": { "navigationBarTitleText": "工作台" } }, { "path": "pages/index/index", "name": "index", "style": { "navigationBarTitleText": "首页" } }, { "path": "pages/map/map", "name": "map", "style": { "navigationBarTitleText": "地图" } }, { "path": "pages/clockSignIn/clockSignIn", "name": "clockSignIn", "style": { "navigationBarTitleText": "打卡签到" } }, { "path": "pages/poput/workbench/policeDetails/policeDetails", "name": "policeDetails", "style": { "navigationBarTitleText": "警情详情提交信息页面" } }, { "path": "pages/error-page/403", "style": { "navigationBarTitleText": "403" } }, { "path": "pages/error-page/404", "style": { "navigationBarTitleText": "404" } }, { "path": "pages/error-page/500", "style": { "navigationBarTitleText": "500" } } ], "globalStyle": {//将组件安装在项目的components目录下,并符合components/组件名称/组件名称.vue目录结构。可以不用引用、注册,直接在页面中使用。 "autoscan": true }, "tabBar": { "color": "#7a7e83", "selectedColor": "#0faeff", "backgroundColor": "#ffffff", "list": [{ "pagePath": "pages/workbench/workbench", "text": "我要查", "iconPath": "static/tabbar/workbench.png", "selectedIconPath": "static/tabbar/workbenchH.png" },{ "pagePath": "pages/article/article", "text": "我要看", "iconPath": "static/tabbar/article.png", "selectedIconPath": "static/tabbar/articleH.png" }, { "pagePath": "pages/business/business", "text": "我要报", "iconPath": "static/tabbar/business.png", "selectedIconPath": "static/tabbar/businessH.png" }, { "pagePath": "pages/groupChat/groupChat", "text": "我要说", "iconPath": "static/tabbar/investigation.png", "selectedIconPath": "static/tabbar/investigationH.png" }, { "pagePath": "pages/myself/myself", "text": "个人中心", "iconPath": "static/tabbar/user.png", "selectedIconPath": "static/tabbar/userHL.png" } ] }, "globalStyle": { // 不能在globalStyle中设置隐藏头部导航栏,否则聊天页面的头部栏会不显示,在pages中设置titleNView为false就可以隐藏头部导航栏了 "navigationBarTextStyle": "black", "navigationBarTitleText": "hello", "navigationBarBackgroundColor": "#fff", "backgroundColor": "#f7f7f7", "backgroundTextStyle":"light", "pageOrientation":"portrait", //横屏配置,屏幕旋转设置 "app-plus": { "bounce": "none" } } }