pages.json 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502
  1. {
  2. "pages": [
  3. {
  4. "path": "pages/index",
  5. "style": {
  6. "navigationStyle": "custom",
  7. "navigationBarTitleText": "",
  8. "app-plus": {
  9. "bounce": "none",
  10. "titleNView": false
  11. }
  12. }
  13. },
  14. {
  15. "path": "pages/login",
  16. "style": {
  17. "navigationBarTitleText": "登录",
  18. "navigationStyle": "custom",
  19. "navigationBarTextStyle": "black" // 仅支持 black/white
  20. }
  21. },
  22. {
  23. "path": "pages/serveConfigSelect",
  24. "style": {
  25. "navigationBarTitleText": "服务器配置",
  26. "navigationStyle": "custom",
  27. "navigationBarTextStyle": "black" // 仅支持 black/white
  28. }
  29. },
  30. {
  31. "path": "pages/serveConfig",
  32. "style": {
  33. "navigationBarTitleText": "服务器配置",
  34. "navigationStyle": "custom",
  35. "navigationBarTextStyle": "black" // 仅支持 black/white
  36. }
  37. },
  38. {
  39. "path": "pages/mine/index",
  40. "style": {
  41. // "disableScroll": true,
  42. "navigationBarTitleText": "我的",
  43. "app-plus": {
  44. "bounce": "none",
  45. "titleNView": {
  46. "type": "transparent",
  47. "buttons": [
  48. {
  49. "fontSrc": "/static/iconfont/iconfont.ttf",
  50. "text": "\ue70f",
  51. "fontSize": "24px",
  52. "color": "#ffffff",
  53. "float": "right",
  54. "background": "rgba(0,0,0,0)"
  55. }
  56. ]
  57. }
  58. }
  59. }
  60. },
  61. //分析 开始
  62. {
  63. "path": "pages/business/analyse/index",
  64. "style": {
  65. "navigationBarTitleText": "分析"
  66. }
  67. }
  68. //分析 结束
  69. ],
  70. "subPackages": [
  71. // 公共
  72. {
  73. "root": "pages/common",
  74. "pages": [
  75. {
  76. "path": "/webview/index",
  77. "style": {
  78. "navigationBarTitleText": "浏览网页"
  79. }
  80. },
  81. {
  82. "path": "/textview/index",
  83. "style": {
  84. "navigationBarTitleText": "浏览文本"
  85. }
  86. },
  87. {
  88. "path": "/textview/index1",
  89. "style": {
  90. "navigationBarTitleText": "浏览文本"
  91. }
  92. },
  93. {
  94. "path": "/export/index",
  95. "style": {
  96. "navigationBarTitleText": "导出",
  97. "enablePullDownRefresh": false
  98. }
  99. },
  100. {
  101. "path": "/square/index",
  102. "style": {
  103. "navigationBarTitleText": "",
  104. "enablePullDownRefresh": false
  105. }
  106. },
  107. {
  108. "path": "/authority/index",
  109. "style": {
  110. "navigationBarTitleText": "授权",
  111. "enablePullDownRefresh": false
  112. }
  113. },
  114. {
  115. "path": "/test/index",
  116. "style": {
  117. "navigationBarTitleText": "",
  118. "enablePullDownRefresh": false
  119. }
  120. }
  121. ]
  122. },
  123. // 我的
  124. {
  125. "root": "pages/mine",
  126. "pages": [
  127. {
  128. "path": "/setting/index",
  129. "style": {
  130. "navigationBarTitleText": "设置"
  131. }
  132. },
  133. {
  134. "path": "/info/index",
  135. "style": {
  136. "navigationBarTitleText": "个人资料",
  137. "app-plus": {
  138. "bounce": "none",
  139. "titleNView": {
  140. "type": "transparent",
  141. "autoBackButton": true,
  142. "backButton": { //自定义 backButton
  143. "background": "rgba(0,0,0,0)"
  144. }
  145. }
  146. }
  147. }
  148. },
  149. {
  150. "path": "/avatar/index",
  151. "style": {
  152. "navigationBarTitleText": "修改头像",
  153. "navigationStyle": "custom",
  154. "app-plus": {
  155. "bounce": "none",
  156. "titleNView": false
  157. }
  158. }
  159. },
  160. {
  161. "path": "/help/index",
  162. "style": {
  163. "navigationBarTitleText": "常见问题",
  164. "navigationStyle": "custom",
  165. "app-plus": {
  166. "bounce": "none",
  167. "titleNView": false
  168. }
  169. }
  170. },
  171. {
  172. "path": "/about/index",
  173. "style": {
  174. "navigationBarTitleText": "关于我们",
  175. "navigationStyle": "custom",
  176. "app-plus": {
  177. "bounce": "none",
  178. "titleNView": false
  179. }
  180. }
  181. },
  182. {
  183. "path": "/pwd/index",
  184. "style": {
  185. "navigationBarTitleText": "修改密码",
  186. "navigationStyle": "custom",
  187. "app-plus": {
  188. "bounce": "none",
  189. "titleNView": false
  190. }
  191. }
  192. }
  193. ]
  194. },
  195. // 消息
  196. {
  197. "root": "pages/info",
  198. "pages": [
  199. {
  200. "path": "/info",
  201. "style": {
  202. "navigationBarTitleText": "消息",
  203. "navigationStyle": "custom",
  204. "enablePullDownRefresh": false,
  205. "app-plus": {
  206. "bounce": "none",
  207. "titleNView": false
  208. }
  209. }
  210. },
  211. {
  212. "path": "/fireBase/fireBase",
  213. "style": {
  214. "navigationBarTitleText": "消防知识库",
  215. "enablePullDownRefresh": false
  216. }
  217. },
  218. {
  219. "path": "/pushList/pushList",
  220. "style": {
  221. "navigationBarTitleText": "消息推送",
  222. "enablePullDownRefresh": false
  223. }
  224. },
  225. {
  226. "path": "/fireBashDetail/fireBashDetail",
  227. "style": {
  228. "navigationBarTitleText": "火灾逃生十大要诀",
  229. "enablePullDownRefresh": false
  230. }
  231. }
  232. ]
  233. },
  234. // 闵行消防
  235. {
  236. "root": "pages/business/mhxf",
  237. "pages": [
  238. //消防督察单模块 开始
  239. //消防督察单模块 结束
  240. //巡检模块 开始
  241. {
  242. "path": "/xunJian/xunJian",
  243. "style": {
  244. "navigationBarTitleText": "巡检",
  245. "enablePullDownRefresh": false
  246. }
  247. },
  248. {
  249. "path": "/xunJian/plan/index",
  250. "style": {
  251. "navigationBarTitleText": "巡检计划",
  252. "enablePullDownRefresh": false
  253. }
  254. },
  255. {
  256. "path": "/xunJian/plan/components/siteDetails",
  257. "style": {
  258. "navigationBarTitleText": "站点详情",
  259. "enablePullDownRefresh": false
  260. }
  261. },
  262. {
  263. "path": "/xunJian/plan/components/content",
  264. "style": {
  265. "navigationBarTitleText": "巡检内容",
  266. "enablePullDownRefresh": false
  267. }
  268. },
  269. {
  270. "path": "/xunJian/plan/components/report",
  271. "style": {
  272. "navigationBarTitleText": "巡检上报",
  273. "enablePullDownRefresh": false
  274. }
  275. },
  276. {
  277. "path": "/xunJian/record/record",
  278. "style": {
  279. "navigationBarTitleText": "巡检记录",
  280. "enablePullDownRefresh": false
  281. }
  282. },
  283. {
  284. "path": "/xunJian/record/recordDetail/index",
  285. "style": {
  286. "navigationBarTitleText": "巡检记录详情",
  287. "enablePullDownRefresh": false
  288. }
  289. },
  290. {
  291. "path": "/xunJian/collect/index",
  292. "style": {
  293. "navigationBarTitleText": "点位采集",
  294. "enablePullDownRefresh": false,
  295. "app-plus": {
  296. "titleNView": {
  297. "buttons": [
  298. {
  299. "text": "采集记录",
  300. "fontSize": "12px",
  301. // "redDot": true,
  302. "float": "right",
  303. "fontSrc": "/static/iconfont/iconfont.ttf",
  304. "width": "auto"
  305. }
  306. ]
  307. }
  308. }
  309. }
  310. },
  311. {
  312. "path": "/xunJian/collect/components/collectDetail",
  313. "style": {
  314. "navigationBarTitleText": "采集上报",
  315. "enablePullDownRefresh": false
  316. }
  317. },
  318. {
  319. "path": "/xunJian/collect/components/collectRecord",
  320. "style": {
  321. "navigationBarTitleText": "采集记录",
  322. "enablePullDownRefresh": false,
  323. "app-plus": {
  324. "titleNView": {
  325. "buttons": [
  326. {
  327. "text": "\ue7c7",
  328. "fontSize": "18px",
  329. // "redDot": true,
  330. "float": "right",
  331. "fontSrc": "/static/iconfont/iconfont.ttf",
  332. "width": "auto"
  333. }
  334. ]
  335. }
  336. }
  337. }
  338. },
  339. //巡检模块 结束
  340. //信息查询 开始
  341. {
  342. "path": "/informationSelect/index",
  343. "style": {
  344. "navigationBarTitleText": "信息查询",
  345. "enablePullDownRefresh": false
  346. }
  347. },
  348. {
  349. "path": "/informationSelect-test/index",
  350. "style": {
  351. "navigationBarTitleText": "信息查询",
  352. "enablePullDownRefresh": false
  353. }
  354. },
  355. //信息查询 结束
  356. //设备管理 开始
  357. {
  358. "path": "/deviceManage/index",
  359. "style": {
  360. "navigationBarTitleText": "设备管理",
  361. "enablePullDownRefresh": false
  362. }
  363. },
  364. //设备管理 结束
  365. //协同作战地图 开始
  366. {
  367. "path": "/coordination/index",
  368. "style": {
  369. "navigationBarTitleText": "协同作战地图",
  370. "enablePullDownRefresh": false
  371. }
  372. },
  373. //协同作战地图 结束
  374. //单位信息采集 开始
  375. {
  376. "path": "/unitInfoCollection/index",
  377. "style": {
  378. "navigationBarTitleText": "单位信息采集",
  379. "enablePullDownRefresh": false
  380. }
  381. },
  382. //单位信息采集 结束
  383. //消防报告 开始
  384. {
  385. "path": "/fireReport/index",
  386. "style": {
  387. "navigationBarTitleText": "消防报告",
  388. "enablePullDownRefresh": false
  389. }
  390. },
  391. {
  392. "path": "/fireReport/components/detailed",
  393. "style": {
  394. "navigationBarTitleText": "消防报告",
  395. "enablePullDownRefresh": false
  396. }
  397. },
  398. {
  399. "path": "/fireReport/components/detailedPath",
  400. "style": {
  401. "navigationBarTitleText": "消防报告",
  402. "enablePullDownRefresh": false
  403. }
  404. },
  405. //消防报告 结束
  406. //待办事项 开始
  407. {
  408. "path": "/needMatter/index",
  409. "style": {
  410. "navigationBarTitleText": "待办事项",
  411. "enablePullDownRefresh": false
  412. }
  413. }
  414. //待办事项 结束
  415. ]
  416. },
  417. // 智慧消防
  418. {
  419. "root": "pages/business/zhxf",
  420. "pages": [
  421. {
  422. "path": "/messagePush/index",
  423. "style": {
  424. "navigationBarTitleText": "消息推送设置",
  425. "enablePullDownRefresh": false
  426. }
  427. },
  428. {
  429. "path": "/building/index",
  430. "style": {
  431. "navigationBarTitleText": "建筑管理",
  432. "enablePullDownRefresh": false
  433. }
  434. },
  435. {
  436. "path": "/funReport/index",
  437. "style": {
  438. "navigationBarTitleText": "功能报备",
  439. "enablePullDownRefresh": false,
  440. "onReachBottomDistance": 100 //距离底部多远时触发 单位px
  441. }
  442. },
  443. {
  444. "path": "/funReport/funcAdd/index",
  445. "style": {
  446. "navigationBarTitleText": "功能报备新增",
  447. "enablePullDownRefresh": false
  448. }
  449. }
  450. ]
  451. }
  452. ],
  453. "globalStyle": {
  454. "navigationBarTextStyle": "white",
  455. "navigationBarTitleText": "uni-app",
  456. // "navigationBarBackgroundColor": "#000000",
  457. "backgroundColor": "#F8F8F8"
  458. },
  459. "tabBar": {
  460. "color": "#a9a9a9",
  461. "selectedColor": "#000000",
  462. "borderStyle": "white",
  463. "backgroundColor": "#ffffff",
  464. "list": [
  465. {
  466. "pagePath": "pages/index",
  467. "iconPath": "/static/images/tabBar/tab-home.png",
  468. "selectedIconPath": "/static/images/tabBar/tab-home-blue.png",
  469. "text": "工作台"
  470. },
  471. // {
  472. // "pagePath": "pages/analyse/analyse",
  473. // "iconPath": "/static/images/tabBar/analyse.png",
  474. // "selectedIconPath": "/static/images/tabBar/analyse-selected.png",
  475. // "text": "分析"
  476. // },
  477. {
  478. "pagePath": "pages/info/info",
  479. "iconPath": "/static/images/tabBar/tab-info.png",
  480. "selectedIconPath": "/static/images/tabBar/tab-info-blue.png",
  481. "text": "消息"
  482. },
  483. {
  484. "pagePath": "pages/mine/index",
  485. "iconPath": "/static/images/tabBar/tab-my.png",
  486. "selectedIconPath": "/static/images/tabBar/tab-my-blue.png",
  487. "text": "我的"
  488. }
  489. ]
  490. },
  491. "condition": {
  492. //模式配置,仅开发期间生效
  493. "current": 0, //当前激活的模式(list 的索引项)
  494. "list": [
  495. {
  496. "name": "", //模式名称
  497. "path": "pages/login", //启动页面,必选
  498. "query": "" //启动参数,在页面的onLoad函数里面得到
  499. }
  500. ]
  501. }
  502. }