{ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/login/login", "style": { "navigationBarTitleText": "登录", "navigationStyle": "custom" } }, { "path": "pages/index/index", "style": { "navigationBarTitleText": "", "app-plus": { "titleNView": { "buttons": [{ "text": "\ue607", "fontSize": "18px", // "redDot": true, "float": "right", "fontSrc": "/static/iconfont/iconfont.ttf", "width": "auto" } // { // "text": "\ue63d", // "fontSize": "18px", // "float": "left", // "fontSrc": "/static/iconfont/iconfont.ttf", // "width": "auto" // } ] } } } }, { "path": "pages/index/components/searchSelect/searchSelect", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "pages/export/export", "style": { "navigationBarTitleText": "导出", "enablePullDownRefresh": false } }, { "path": "components/square/square", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "pages/authority/authority", "style": { "navigationBarTitleText": "授权", "enablePullDownRefresh": false } }, { "path": "pages/test/test", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, /** * @消防督察单模块 开始 */ /** * @消防督察单模块 结束 */ /** * @巡检模块 开始 */ { "path": "pages/xunJian/xunJian", "style": { "navigationBarTitleText": "巡检", "enablePullDownRefresh": false } }, { "path": "pages/xunJian/plan/index", "style": { "navigationBarTitleText": "巡检计划", "enablePullDownRefresh": false } }, { "path": "pages/xunJian/plan/components/siteDetails", "style": { "navigationBarTitleText": "站点详情", "enablePullDownRefresh": false } }, { "path": "pages/xunJian/plan/components/content", "style": { "navigationBarTitleText": "巡检内容", "enablePullDownRefresh": false } }, { "path": "pages/xunJian/plan/components/report", "style": { "navigationBarTitleText": "巡检上报", "enablePullDownRefresh": false } }, { "path": "pages/xunJian/record/record", "style": { "navigationBarTitleText": "巡检记录", "enablePullDownRefresh": false } }, { "path": "pages/xunJian/record/recordDetail/index", "style": { "navigationBarTitleText": "巡检记录详情", "enablePullDownRefresh": false } }, { "path": "pages/xunJian/collect/index", "style": { "navigationBarTitleText": "点位采集", "enablePullDownRefresh": false, "app-plus": { "titleNView": { "buttons": [{ "text": "采集记录", "fontSize": "12px", // "redDot": true, "float": "right", "fontSrc": "/static/iconfont/iconfont.ttf", "width": "auto" }] } } } }, { "path": "pages/xunJian/collect/components/collectDetail", "style": { "navigationBarTitleText": "采集上报", "enablePullDownRefresh": false } }, { "path": "pages/xunJian/collect/components/collectRecord", "style": { "navigationBarTitleText": "采集记录", "enablePullDownRefresh": false, "app-plus": { "titleNView": { "buttons": [{ "text": "\ue7c7", "fontSize": "18px", // "redDot": true, "float": "right", "fontSrc": "/static/iconfont/uciconfont/iconfont.ttf", "width": "auto" }] } } } }, /** * @巡检模块 结束 */ /** * @消息 开始 */ { "path": "pages/info/info", "style": { "navigationBarTitleText": "消息", "enablePullDownRefresh": false } }, { "path": "pages/info/fireBase/fireBase", "style": { "navigationBarTitleText": "消防知识库", "enablePullDownRefresh": false } }, { "path": "pages/info/pushList/pushList", "style": { "navigationBarTitleText": "消息推送", "enablePullDownRefresh": false } }, { "path": "pages/info/fireBashDetail/fireBashDetail", "style": { "navigationBarTitleText": "火灾逃生十大要诀", "enablePullDownRefresh": false } }, /** * @消息 结束 */ /** * @分析 开始 */ { "path": "pages/analyse/analyse", "style": { "navigationBarTitleText": "分析" } }, /** * @分析 结束 */ /** * @设置 开始 */ { "path": "pages/setting/setting", "style": { "navigationBarTitleText": "设置" } }, { "path": "pages/setting/messagePush/messagePush", "style": { "navigationBarTitleText": "消息推送设置", "enablePullDownRefresh": false } }, { "path": "pages/setting/building/building", "style": { "navigationBarTitleText": "建筑管理", "enablePullDownRefresh": false } }, { "path": "pages/setting/funReport/funReport", "style": { "navigationBarTitleText": "功能报备", "enablePullDownRefresh": false, "onReachBottomDistance": 100 //距离底部多远时触发 单位px } }, { "path": "pages/setting/funReport/funcAdd/funcAdd", "style": { "navigationBarTitleText": "功能报备新增", "enablePullDownRefresh": false } } /** * @设置 结束 */ ], "globalStyle": { "navigationBarTextStyle": "white", "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#149EFF", "backgroundColor": "#F8F8F8" // "enablePullDownRefresh":true }, "tabBar": { "borderStyle": "white", "list": [{ "pagePath": "pages/index/index", "iconPath": "static/images/home.png", "selectedIconPath": "static/images/home-selected.png", "text": "主页" }, { "pagePath": "pages/info/info", "iconPath": "static/images/info.png", "selectedIconPath": "static/images/info-selected.png", "text": "消息" }, { "pagePath": "pages/analyse/analyse", "iconPath": "static/analyse.png", "selectedIconPath": "static/analyse-selected.png", "text": "分析" }, { "pagePath": "pages/setting/setting", "iconPath": "static/images/setting.png", "selectedIconPath": "static/images/setting-selected.png", "text": "设置" } ] }, "condition": { //模式配置,仅开发期间生效 "current": 0, //当前激活的模式(list 的索引项) "list": [{ "name": "", //模式名称 "path": "pages/index/index", //启动页面,必选 "query": "" //启动参数,在页面的onLoad函数里面得到 }] } }