pages.json 15 KB

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