{ "pages": [ { "path": "pages/index", "style": { "navigationStyle": "custom", "navigationBarTitleText": "", "app-plus": { "bounce": "none", "titleNView": false } } }, { "path": "pages/login", "style": { "navigationBarTitleText": "登录", "navigationStyle": "custom", "navigationBarTextStyle": "black" // 仅支持 black/white } }, { "path": "pages/serveConfigSelect", "style": { "navigationBarTitleText": "服务器配置", "navigationStyle": "custom", "navigationBarTextStyle": "black" // 仅支持 black/white } }, { "path": "pages/serveConfig", "style": { "navigationBarTitleText": "服务器配置", "navigationStyle": "custom", "navigationBarTextStyle": "black" // 仅支持 black/white } }, { "path": "pages/mine/index", "style": { // "disableScroll": true, "navigationBarTitleText": "我的", "app-plus": { "bounce": "none", "titleNView": { "type": "transparent", "buttons": [ { "fontSrc": "/static/iconfont/iconfont.ttf", "text": "\ue70f", "fontSize": "24px", "color": "#ffffff", "float": "right", "background": "rgba(0,0,0,0)" } ] } } } }, //分析 开始 { "path": "pages/business/analyse/index", "style": { "navigationBarTitleText": "分析" } } //分析 结束 ], "subPackages": [ // 公共 { "root": "pages/common", "pages": [ { "path": "/webview/index", "style": { "navigationBarTitleText": "浏览网页" } }, { "path": "/textview/index", "style": { "navigationBarTitleText": "浏览文本" } }, { "path": "/textview/index1", "style": { "navigationBarTitleText": "浏览文本" } }, { "path": "/export/index", "style": { "navigationBarTitleText": "导出", "enablePullDownRefresh": false } }, { "path": "/square/index", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "/authority/index", "style": { "navigationBarTitleText": "授权", "enablePullDownRefresh": false } }, { "path": "/test/index", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } } ] }, // 我的 { "root": "pages/mine", "pages": [ { "path": "/setting/index", "style": { "navigationBarTitleText": "设置" } }, { "path": "/info/index", "style": { "navigationBarTitleText": "个人资料", "app-plus": { "bounce": "none", "titleNView": { "type": "transparent", "autoBackButton": true, "backButton": { //自定义 backButton "background": "rgba(0,0,0,0)" } } } } }, { "path": "/avatar/index", "style": { "navigationBarTitleText": "修改头像", "navigationStyle": "custom", "app-plus": { "bounce": "none", "titleNView": false } } }, { "path": "/help/index", "style": { "navigationBarTitleText": "常见问题", "navigationStyle": "custom", "app-plus": { "bounce": "none", "titleNView": false } } }, { "path": "/about/index", "style": { "navigationBarTitleText": "关于我们", "navigationStyle": "custom", "app-plus": { "bounce": "none", "titleNView": false } } }, { "path": "/pwd/index", "style": { "navigationBarTitleText": "修改密码", "navigationStyle": "custom", "app-plus": { "bounce": "none", "titleNView": false } } } ] }, // 消息 { "root": "pages/info", "pages": [ { "path": "/info", "style": { "navigationBarTitleText": "消息", "navigationStyle": "custom", "enablePullDownRefresh": false, "app-plus": { "bounce": "none", "titleNView": false } } }, { "path": "/fireBase/fireBase", "style": { "navigationBarTitleText": "消防知识库", "enablePullDownRefresh": false } }, { "path": "/pushList/pushList", "style": { "navigationBarTitleText": "消息推送", "enablePullDownRefresh": false } }, { "path": "/fireBashDetail/fireBashDetail", "style": { "navigationBarTitleText": "火灾逃生十大要诀", "enablePullDownRefresh": false } } ] }, // 闵行消防 { "root": "pages/business/mhxf", "pages": [ //消防督察单模块 开始 //消防督察单模块 结束 //巡检模块 开始 { "path": "/xunJian/xunJian", "style": { "navigationBarTitleText": "巡检", "enablePullDownRefresh": false } }, { "path": "/xunJian/plan/index", "style": { "navigationBarTitleText": "巡检计划", "enablePullDownRefresh": false } }, { "path": "/xunJian/plan/components/siteDetails", "style": { "navigationBarTitleText": "站点详情", "enablePullDownRefresh": false } }, { "path": "/xunJian/plan/components/content", "style": { "navigationBarTitleText": "巡检内容", "enablePullDownRefresh": false } }, { "path": "/xunJian/plan/components/report", "style": { "navigationBarTitleText": "巡检上报", "enablePullDownRefresh": false } }, { "path": "/xunJian/record/record", "style": { "navigationBarTitleText": "巡检记录", "enablePullDownRefresh": false } }, { "path": "/xunJian/record/recordDetail/index", "style": { "navigationBarTitleText": "巡检记录详情", "enablePullDownRefresh": false } }, { "path": "/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": "/xunJian/collect/components/collectDetail", "style": { "navigationBarTitleText": "采集上报", "enablePullDownRefresh": false } }, { "path": "/xunJian/collect/components/collectRecord", "style": { "navigationBarTitleText": "采集记录", "enablePullDownRefresh": false, "app-plus": { "titleNView": { "buttons": [ { "text": "\ue7c7", "fontSize": "18px", // "redDot": true, "float": "right", "fontSrc": "/static/iconfont/iconfont.ttf", "width": "auto" } ] } } } }, //巡检模块 结束 //信息查询 开始 { "path": "/informationSelect/index", "style": { "navigationBarTitleText": "信息查询", "enablePullDownRefresh": false } }, { "path": "/informationSelect-test/index", "style": { "navigationBarTitleText": "信息查询", "enablePullDownRefresh": false } }, //信息查询 结束 //设备管理 开始 { "path": "/deviceManage/index", "style": { "navigationBarTitleText": "设备管理", "enablePullDownRefresh": false } }, //设备管理 结束 //协同作战地图 开始 { "path": "/coordination/index", "style": { "navigationBarTitleText": "协同作战地图", "enablePullDownRefresh": false } }, //协同作战地图 结束 //单位信息采集 开始 { "path": "/unitInfoCollection/index", "style": { "navigationBarTitleText": "单位信息采集", "enablePullDownRefresh": false } }, //单位信息采集 结束 //消防报告 开始 { "path": "/fireReport/index", "style": { "navigationBarTitleText": "消防报告", "enablePullDownRefresh": false } }, { "path": "/fireReport/components/detailed", "style": { "navigationBarTitleText": "消防报告", "enablePullDownRefresh": false } }, { "path": "/fireReport/components/detailedPath", "style": { "navigationBarTitleText": "消防报告", "enablePullDownRefresh": false } }, //消防报告 结束 //待办事项 开始 { "path": "/needMatter/index", "style": { "navigationBarTitleText": "待办事项", "enablePullDownRefresh": false } } //待办事项 结束 ] }, // 智慧消防 { "root": "pages/business/zhxf", "pages": [ { "path": "/messagePush/index", "style": { "navigationBarTitleText": "消息推送设置", "enablePullDownRefresh": false } }, { "path": "/building/index", "style": { "navigationBarTitleText": "建筑管理", "enablePullDownRefresh": false } }, { "path": "/funReport/index", "style": { "navigationBarTitleText": "功能报备", "enablePullDownRefresh": false, "onReachBottomDistance": 100 //距离底部多远时触发 单位px } }, { "path": "/funReport/funcAdd/index", "style": { "navigationBarTitleText": "功能报备新增", "enablePullDownRefresh": false } } ] } ], "globalStyle": { "navigationBarTextStyle": "white", "navigationBarTitleText": "uni-app", // "navigationBarBackgroundColor": "#000000", "backgroundColor": "#F8F8F8" }, "tabBar": { "color": "#a9a9a9", "selectedColor": "#000000", "borderStyle": "white", "backgroundColor": "#ffffff", "list": [ { "pagePath": "pages/index", "iconPath": "/static/images/tabBar/tab-home.png", "selectedIconPath": "/static/images/tabBar/tab-home-blue.png", "text": "工作台" }, // { // "pagePath": "pages/analyse/analyse", // "iconPath": "/static/images/tabBar/analyse.png", // "selectedIconPath": "/static/images/tabBar/analyse-selected.png", // "text": "分析" // }, { "pagePath": "pages/info/info", "iconPath": "/static/images/tabBar/tab-info.png", "selectedIconPath": "/static/images/tabBar/tab-info-blue.png", "text": "消息" }, { "pagePath": "pages/mine/index", "iconPath": "/static/images/tabBar/tab-my.png", "selectedIconPath": "/static/images/tabBar/tab-my-blue.png", "text": "我的" } ] }, "condition": { //模式配置,仅开发期间生效 "current": 0, //当前激活的模式(list 的索引项) "list": [ { "name": "", //模式名称 "path": "pages/login", //启动页面,必选 "query": "" //启动参数,在页面的onLoad函数里面得到 } ] } }