123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308 |
- {
- "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函数里面得到
- }]
- }
- }
|