pages.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584
  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": "success/index",
  131. "style": {
  132. "navigationBarTitleText": "提交成功",
  133. "navigationStyle": "custom",
  134. "enablePullDownRefresh": false
  135. }
  136. },
  137. {
  138. "path": "applicationInfo/index",
  139. "style": {
  140. "navigationBarTitleText": "应用消息",
  141. "enablePullDownRefresh": false
  142. }
  143. },
  144. {
  145. "path": "loginLog/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": "avatar/index",
  181. "style": {
  182. "navigationBarTitleText": "修改头像"
  183. // "app-plus": {
  184. // "bounce": "none",
  185. // "titleNView": false
  186. // }
  187. }
  188. },
  189. {
  190. "path": "help/index",
  191. "style": {
  192. "navigationBarTitleText": "常见问题",
  193. "navigationStyle": "custom",
  194. "app-plus": {
  195. "bounce": "none",
  196. "titleNView": false
  197. }
  198. }
  199. },
  200. {
  201. "path": "about/index",
  202. "style": {
  203. "navigationBarTitleText": "关于我们",
  204. "navigationStyle": "custom",
  205. "app-plus": {
  206. "bounce": "none",
  207. "titleNView": false
  208. }
  209. }
  210. }
  211. ]
  212. },
  213. // 消息
  214. {
  215. "root": "pages/info",
  216. "pages": [
  217. {
  218. "path": "fireBase/fireBase",
  219. "style": {
  220. "navigationBarTitleText": "消防知识库",
  221. "enablePullDownRefresh": false
  222. }
  223. },
  224. {
  225. "path": "pushList/pushList",
  226. "style": {
  227. "navigationBarTitleText": "消息推送",
  228. "enablePullDownRefresh": false
  229. }
  230. },
  231. {
  232. "path": "fireBashDetail/fireBashDetail",
  233. "style": {
  234. "navigationBarTitleText": "火灾逃生十大要诀",
  235. "enablePullDownRefresh": false
  236. }
  237. }
  238. ]
  239. },
  240. // 闵行消防
  241. {
  242. "root": "pages/business/mhxf",
  243. "pages": [
  244. //消防督察单模块 开始
  245. //消防督察单模块 结束
  246. //巡检模块 开始
  247. {
  248. "path": "xunJian/xunJian",
  249. "style": {
  250. "navigationBarTitleText": "巡检",
  251. "enablePullDownRefresh": false
  252. }
  253. },
  254. {
  255. "path": "xunJian/plan/index",
  256. "style": {
  257. "navigationBarTitleText": "巡检计划",
  258. "enablePullDownRefresh": false
  259. }
  260. },
  261. {
  262. "path": "xunJian/plan/components/siteDetails",
  263. "style": {
  264. "navigationBarTitleText": "站点详情",
  265. "enablePullDownRefresh": false
  266. }
  267. },
  268. {
  269. "path": "xunJian/plan/components/content",
  270. "style": {
  271. "navigationBarTitleText": "巡检内容",
  272. "enablePullDownRefresh": false
  273. }
  274. },
  275. {
  276. "path": "xunJian/plan/components/report",
  277. "style": {
  278. "navigationBarTitleText": "巡检上报",
  279. "enablePullDownRefresh": false
  280. }
  281. },
  282. {
  283. "path": "xunJian/record/record",
  284. "style": {
  285. "navigationBarTitleText": "巡检记录",
  286. "enablePullDownRefresh": false
  287. }
  288. },
  289. {
  290. "path": "xunJian/record/recordDetail/index",
  291. "style": {
  292. "navigationBarTitleText": "巡检记录详情",
  293. "enablePullDownRefresh": false
  294. }
  295. },
  296. {
  297. "path": "xunJian/collect/index",
  298. "style": {
  299. "navigationBarTitleText": "点位采集",
  300. "enablePullDownRefresh": false,
  301. "app-plus": {
  302. "titleNView": {
  303. "buttons": [
  304. {
  305. "text": "采集记录",
  306. "fontSize": "12px",
  307. // "redDot": true,
  308. "float": "right",
  309. "fontSrc": "/static/iconfont/iconfont.ttf",
  310. "width": "auto"
  311. }
  312. ]
  313. }
  314. }
  315. }
  316. },
  317. {
  318. "path": "xunJian/collect/components/collectDetail",
  319. "style": {
  320. "navigationBarTitleText": "采集上报",
  321. "enablePullDownRefresh": false
  322. }
  323. },
  324. {
  325. "path": "xunJian/collect/components/collectRecord",
  326. "style": {
  327. "navigationBarTitleText": "采集记录",
  328. "enablePullDownRefresh": false,
  329. "app-plus": {
  330. "titleNView": {
  331. "buttons": [
  332. {
  333. "text": "\ue7c7",
  334. "fontSize": "18px",
  335. // "redDot": true,
  336. "float": "right",
  337. "fontSrc": "/static/iconfont/iconfont.ttf",
  338. "width": "auto"
  339. }
  340. ]
  341. }
  342. }
  343. }
  344. },
  345. //巡检模块 结束
  346. //信息查询 开始
  347. {
  348. "path": "informationSelect/index",
  349. "style": {
  350. "navigationBarTitleText": "信息查询",
  351. "enablePullDownRefresh": false
  352. }
  353. },
  354. {
  355. "path": "informationSelect-test/index",
  356. "style": {
  357. "navigationBarTitleText": "信息查询",
  358. "enablePullDownRefresh": false
  359. }
  360. },
  361. //信息查询 结束
  362. //设备管理 开始
  363. {
  364. "path": "deviceManage/index",
  365. "style": {
  366. "navigationBarTitleText": "设备管理",
  367. "enablePullDownRefresh": false
  368. }
  369. },
  370. //设备管理 结束
  371. //协同作战地图 开始
  372. {
  373. "path": "coordination/index",
  374. "style": {
  375. "navigationBarTitleText": "协同作战地图",
  376. "enablePullDownRefresh": false
  377. }
  378. },
  379. //协同作战地图 结束
  380. //单位信息采集 开始
  381. {
  382. "path": "unitInfoCollection/index",
  383. "style": {
  384. "navigationBarTitleText": "单位信息采集",
  385. "enablePullDownRefresh": false
  386. }
  387. },
  388. //单位信息采集 结束
  389. //消防报告 开始
  390. {
  391. "path": "fireReport/index",
  392. "style": {
  393. "navigationBarTitleText": "消防报告",
  394. "enablePullDownRefresh": false
  395. }
  396. },
  397. {
  398. "path": "fireReport/components/detailed",
  399. "style": {
  400. "navigationBarTitleText": "消防报告",
  401. "enablePullDownRefresh": false
  402. }
  403. },
  404. {
  405. "path": "fireReport/components/detailedPath",
  406. "style": {
  407. "navigationBarTitleText": "消防报告",
  408. "enablePullDownRefresh": false
  409. }
  410. },
  411. //消防报告 结束
  412. //待办事项 开始
  413. {
  414. "path": "needMatter/index",
  415. "style": {
  416. "navigationBarTitleText": "待办事项",
  417. "enablePullDownRefresh": false
  418. }
  419. }
  420. //待办事项 结束
  421. ]
  422. },
  423. // 智慧消防
  424. {
  425. "root": "pages/business/zhxf",
  426. "pages": [
  427. {
  428. "path": "messagePush/index",
  429. "style": {
  430. "navigationBarTitleText": "消息推送设置",
  431. "enablePullDownRefresh": false
  432. }
  433. },
  434. {
  435. "path": "building/index",
  436. "style": {
  437. "navigationBarTitleText": "建筑管理",
  438. "enablePullDownRefresh": false
  439. }
  440. },
  441. {
  442. "path": "funReport/index",
  443. "style": {
  444. "navigationBarTitleText": "功能报备",
  445. "enablePullDownRefresh": false,
  446. "onReachBottomDistance": 100 //距离底部多远时触发 单位px
  447. }
  448. },
  449. {
  450. "path": "funReport/funcAdd/index",
  451. "style": {
  452. "navigationBarTitleText": "功能报备新增",
  453. "enablePullDownRefresh": false
  454. }
  455. }
  456. ]
  457. },
  458. // 消防物联网
  459. {
  460. "root": "pages/business/fireIot",
  461. "pages": [
  462. {
  463. "path": "deviceSelect/index",
  464. "style": {
  465. "navigationBarTitleText": "设备查询",
  466. "enablePullDownRefresh": false
  467. }
  468. },
  469. {
  470. "path": "deviceSelect/components/deviceDetailsList",
  471. "style": {
  472. "navigationBarTitleText": "",
  473. "enablePullDownRefresh": false
  474. }
  475. },
  476. {
  477. "path": "deviceSelect/components/deviceDetails",
  478. "style": {
  479. "navigationBarTitleText": "设备详情",
  480. "enablePullDownRefresh": false
  481. }
  482. },
  483. {
  484. "path": "facilitiesManage/index",
  485. "style": {
  486. "navigationBarTitleText": "设施管理",
  487. "enablePullDownRefresh": false
  488. }
  489. },
  490. {
  491. "path": "facilitiesGather/index",
  492. "style": {
  493. "navigationBarTitleText": "设施采集",
  494. "enablePullDownRefresh": false
  495. }
  496. },
  497. {
  498. "path": "facilitiesGather/mapGather",
  499. "style": {
  500. "navigationBarTitleText": "地图采集",
  501. "enablePullDownRefresh": false
  502. }
  503. },
  504. {
  505. "path": "facilitiesView/index",
  506. "style": {
  507. "navigationBarTitleText": "设施查看",
  508. "enablePullDownRefresh": false
  509. }
  510. },
  511. {
  512. "path": "facilitiesView/mapGatherView",
  513. "style": {
  514. "navigationBarTitleText": "设施查看",
  515. "enablePullDownRefresh": false
  516. }
  517. },
  518. {
  519. "path": "facilitiesView/facilitiesDetailsList",
  520. "style": {
  521. "navigationBarTitleText": "",
  522. "enablePullDownRefresh": false
  523. }
  524. },
  525. {
  526. "path": "facilitiesView/facilitiesDetails",
  527. "style": {
  528. "navigationBarTitleText": "设施详情",
  529. "enablePullDownRefresh": false
  530. }
  531. }
  532. ]
  533. }
  534. ],
  535. "globalStyle": {
  536. "navigationBarTextStyle": "white",
  537. "navigationBarTitleText": "uni-app",
  538. // "navigationBarBackgroundColor": "#000000",
  539. "backgroundColor": "#F8F8F8"
  540. },
  541. "tabBar": {
  542. "color": "#a9a9a9",
  543. "selectedColor": "#000000",
  544. "borderStyle": "white",
  545. "backgroundColor": "#ffffff",
  546. "list": [
  547. {
  548. "pagePath": "pages/index",
  549. "iconPath": "/static/images/tabBar/tab-home.png",
  550. "selectedIconPath": "/static/images/tabBar/tab-home-blue.png",
  551. "text": "工作台"
  552. },
  553. // {
  554. // "pagePath": "pages/analyse/analyse",
  555. // "iconPath": "/static/images/tabBar/analyse.png",
  556. // "selectedIconPath": "/static/images/tabBar/analyse-selected.png",
  557. // "text": "分析"
  558. // },
  559. {
  560. "pagePath": "pages/info",
  561. "iconPath": "/static/images/tabBar/tab-info.png",
  562. "selectedIconPath": "/static/images/tabBar/tab-info-blue.png",
  563. "text": "消息"
  564. },
  565. {
  566. "pagePath": "pages/mine",
  567. "iconPath": "/static/images/tabBar/tab-my.png",
  568. "selectedIconPath": "/static/images/tabBar/tab-my-blue.png",
  569. "text": "我的"
  570. }
  571. ]
  572. },
  573. "condition": {
  574. //模式配置,仅开发期间生效
  575. "current": 0, //当前激活的模式(list 的索引项)
  576. "list": [
  577. {
  578. "name": "", //模式名称
  579. "path": "pages/login", //启动页面,必选
  580. "query": "" //启动参数,在页面的onLoad函数里面得到
  581. }
  582. ]
  583. }
  584. }