pages.json 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/login/login",
  5. "style": {
  6. "navigationBarTitleText": "登录",
  7. "navigationStyle": "custom"
  8. }
  9. },
  10. {
  11. "path": "pages/index/index",
  12. "style": {
  13. "navigationBarTitleText": "",
  14. "app-plus": {
  15. "titleNView": {
  16. "buttons": [{
  17. "text": "\ue607",
  18. "fontSize": "18px",
  19. // "redDot": true,
  20. "float": "right",
  21. "fontSrc": "/static/iconfont/iconfont.ttf",
  22. "width": "auto"
  23. }
  24. // {
  25. // "text": "\ue63d",
  26. // "fontSize": "18px",
  27. // "float": "left",
  28. // "fontSrc": "/static/iconfont/iconfont.ttf",
  29. // "width": "auto"
  30. // }
  31. ]
  32. }
  33. }
  34. }
  35. },
  36. {
  37. "path": "pages/index/components/searchSelect/searchSelect",
  38. "style": {
  39. "navigationBarTitleText": "",
  40. "enablePullDownRefresh": false
  41. }
  42. },
  43. {
  44. "path": "pages/export/export",
  45. "style": {
  46. "navigationBarTitleText": "导出",
  47. "enablePullDownRefresh": false
  48. }
  49. },
  50. {
  51. "path": "components/square/square",
  52. "style": {
  53. "navigationBarTitleText": "",
  54. "enablePullDownRefresh": false
  55. }
  56. },
  57. {
  58. "path": "pages/authority/authority",
  59. "style": {
  60. "navigationBarTitleText": "授权",
  61. "enablePullDownRefresh": false
  62. }
  63. },
  64. {
  65. "path": "pages/test/test",
  66. "style": {
  67. "navigationBarTitleText": "",
  68. "enablePullDownRefresh": false
  69. }
  70. },
  71. /**
  72. * @消防督察单模块 开始
  73. */
  74. /**
  75. * @消防督察单模块 结束
  76. */
  77. /**
  78. * @巡检模块 开始
  79. */
  80. {
  81. "path": "pages/xunJian/xunJian",
  82. "style": {
  83. "navigationBarTitleText": "巡检",
  84. "enablePullDownRefresh": false
  85. }
  86. },
  87. {
  88. "path": "pages/xunJian/plan/index",
  89. "style": {
  90. "navigationBarTitleText": "巡检计划",
  91. "enablePullDownRefresh": false
  92. }
  93. },
  94. {
  95. "path": "pages/xunJian/plan/components/siteDetails",
  96. "style": {
  97. "navigationBarTitleText": "站点详情",
  98. "enablePullDownRefresh": false
  99. }
  100. },
  101. {
  102. "path": "pages/xunJian/plan/components/content",
  103. "style": {
  104. "navigationBarTitleText": "巡检内容",
  105. "enablePullDownRefresh": false
  106. }
  107. },
  108. {
  109. "path": "pages/xunJian/plan/components/report",
  110. "style": {
  111. "navigationBarTitleText": "巡检上报",
  112. "enablePullDownRefresh": false
  113. }
  114. },
  115. {
  116. "path": "pages/xunJian/record/record",
  117. "style": {
  118. "navigationBarTitleText": "巡检记录",
  119. "enablePullDownRefresh": false
  120. }
  121. },
  122. {
  123. "path": "pages/xunJian/record/recordDetail/index",
  124. "style": {
  125. "navigationBarTitleText": "巡检记录详情",
  126. "enablePullDownRefresh": false
  127. }
  128. },
  129. {
  130. "path": "pages/xunJian/collect/index",
  131. "style": {
  132. "navigationBarTitleText": "点位采集",
  133. "enablePullDownRefresh": false,
  134. "app-plus": {
  135. "titleNView": {
  136. "buttons": [{
  137. "text": "采集记录",
  138. "fontSize": "12px",
  139. // "redDot": true,
  140. "float": "right",
  141. "fontSrc": "/static/iconfont/iconfont.ttf",
  142. "width": "auto"
  143. }]
  144. }
  145. }
  146. }
  147. },
  148. {
  149. "path": "pages/xunJian/collect/components/collectDetail",
  150. "style": {
  151. "navigationBarTitleText": "采集上报",
  152. "enablePullDownRefresh": false
  153. }
  154. },
  155. {
  156. "path": "pages/xunJian/collect/components/collectRecord",
  157. "style": {
  158. "navigationBarTitleText": "采集记录",
  159. "enablePullDownRefresh": false,
  160. "app-plus": {
  161. "titleNView": {
  162. "buttons": [{
  163. "text": "\ue7c7",
  164. "fontSize": "18px",
  165. // "redDot": true,
  166. "float": "right",
  167. "fontSrc": "/static/iconfont/uciconfont/iconfont.ttf",
  168. "width": "auto"
  169. }]
  170. }
  171. }
  172. }
  173. },
  174. /**
  175. * @巡检模块 结束
  176. */
  177. /**
  178. * @消息 开始
  179. */
  180. {
  181. "path": "pages/info/info",
  182. "style": {
  183. "navigationBarTitleText": "消息",
  184. "enablePullDownRefresh": false
  185. }
  186. },
  187. {
  188. "path": "pages/info/fireBase/fireBase",
  189. "style": {
  190. "navigationBarTitleText": "消防知识库",
  191. "enablePullDownRefresh": false
  192. }
  193. },
  194. {
  195. "path": "pages/info/pushList/pushList",
  196. "style": {
  197. "navigationBarTitleText": "消息推送",
  198. "enablePullDownRefresh": false
  199. }
  200. },
  201. {
  202. "path": "pages/info/fireBashDetail/fireBashDetail",
  203. "style": {
  204. "navigationBarTitleText": "火灾逃生十大要诀",
  205. "enablePullDownRefresh": false
  206. }
  207. },
  208. /**
  209. * @消息 结束
  210. */
  211. /**
  212. * @分析 开始
  213. */
  214. {
  215. "path": "pages/analyse/analyse",
  216. "style": {
  217. "navigationBarTitleText": "分析"
  218. }
  219. },
  220. /**
  221. * @分析 结束
  222. */
  223. /**
  224. * @设置 开始
  225. */
  226. {
  227. "path": "pages/setting/setting",
  228. "style": {
  229. "navigationBarTitleText": "设置"
  230. }
  231. },
  232. {
  233. "path": "pages/setting/messagePush/messagePush",
  234. "style": {
  235. "navigationBarTitleText": "消息推送设置",
  236. "enablePullDownRefresh": false
  237. }
  238. },
  239. {
  240. "path": "pages/setting/building/building",
  241. "style": {
  242. "navigationBarTitleText": "建筑管理",
  243. "enablePullDownRefresh": false
  244. }
  245. },
  246. {
  247. "path": "pages/setting/funReport/funReport",
  248. "style": {
  249. "navigationBarTitleText": "功能报备",
  250. "enablePullDownRefresh": false,
  251. "onReachBottomDistance": 100 //距离底部多远时触发 单位px
  252. }
  253. },
  254. {
  255. "path": "pages/setting/funReport/funcAdd/funcAdd",
  256. "style": {
  257. "navigationBarTitleText": "功能报备新增",
  258. "enablePullDownRefresh": false
  259. }
  260. }
  261. /**
  262. * @设置 结束
  263. */
  264. ],
  265. "globalStyle": {
  266. "navigationBarTextStyle": "white",
  267. "navigationBarTitleText": "uni-app",
  268. "navigationBarBackgroundColor": "#149EFF",
  269. "backgroundColor": "#F8F8F8"
  270. // "enablePullDownRefresh":true
  271. },
  272. "tabBar": {
  273. "borderStyle": "white",
  274. "list": [{
  275. "pagePath": "pages/index/index",
  276. "iconPath": "static/images/home.png",
  277. "selectedIconPath": "static/images/home-selected.png",
  278. "text": "主页"
  279. },
  280. {
  281. "pagePath": "pages/info/info",
  282. "iconPath": "static/images/info.png",
  283. "selectedIconPath": "static/images/info-selected.png",
  284. "text": "消息"
  285. },
  286. {
  287. "pagePath": "pages/analyse/analyse",
  288. "iconPath": "static/analyse.png",
  289. "selectedIconPath": "static/analyse-selected.png",
  290. "text": "分析"
  291. },
  292. {
  293. "pagePath": "pages/setting/setting",
  294. "iconPath": "static/images/setting.png",
  295. "selectedIconPath": "static/images/setting-selected.png",
  296. "text": "设置"
  297. }
  298. ]
  299. },
  300. "condition": { //模式配置,仅开发期间生效
  301. "current": 0, //当前激活的模式(list 的索引项)
  302. "list": [{
  303. "name": "", //模式名称
  304. "path": "pages/index/index", //启动页面,必选
  305. "query": "" //启动参数,在页面的onLoad函数里面得到
  306. }]
  307. }
  308. }