pages.json 16 KB

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