pages.json 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. //登录
  8. "path": "pages/login/login",
  9. "style": {
  10. "navigationStyle": "custom"
  11. }
  12. }, {
  13. "path": "pages/noLogin/PressureRegulatingBox/PressureRegulatingBox",
  14. "style": {
  15. "navigationBarTitleText": "",
  16. "enablePullDownRefresh": false
  17. }
  18. },
  19. {
  20. "path": "pages/noLogin/regulatorBoxList",
  21. "style": {
  22. "navigationBarTitleText": "",
  23. "enablePullDownRefresh": true ,//开启下拉刷新
  24. "onReachBottomDistance":126 //距离底部多远时触发 单位px
  25. }
  26. },
  27. // {
  28. // "path" : "pages/noLogin/PressureRegulatingBox/PressureRegulatingBox",
  29. // "style" :
  30. // {
  31. // "navigationStyle": "custom"
  32. // }
  33. // },
  34. // {
  35. // //登录
  36. // "path": "pages/login/login",
  37. // "style": {
  38. // "navigationStyle": "custom"
  39. // }
  40. // },
  41. {
  42. "path": "pages/index/index",
  43. "style": {
  44. "navigationStyle": "custom"
  45. }
  46. },
  47. // {
  48. // //登录
  49. // "path": "pages/login/login",
  50. // "style": {
  51. // "navigationStyle": "custom"
  52. // }
  53. // },
  54. {
  55. //项目类型
  56. "path": "pages/noLogin/typeList",
  57. "style": {
  58. "navigationStyle": "custom"
  59. }
  60. }, {
  61. //小区
  62. "path": "pages/noLogin/communitylist",
  63. "style": {
  64. "navigationBarTitleText": "",
  65. "enablePullDownRefresh": false
  66. }
  67. }, {
  68. //楼栋
  69. "path": "pages/noLogin/buildinglist",
  70. "style": {
  71. "navigationStyle": "custom"
  72. }
  73. }, {
  74. //单元
  75. "path": "pages/noLogin/unitlist",
  76. "style": {
  77. "navigationStyle": "custom"
  78. }
  79. }, {
  80. //历史施工(详情页)
  81. "path": "pages/noLogin/listProject",
  82. "style": {
  83. "navigationBarTitleText": "历史记录",
  84. "enablePullDownRefresh": true ,//开启下拉刷新
  85. "onReachBottomDistance":126 //距离底部多远时触发 单位px
  86. }
  87. },
  88. //{
  89. // //安检
  90. // "path": "pages/noLogin/data",
  91. // "style": {
  92. // "navigationStyle": "custom"
  93. // }
  94. // },
  95. {
  96. //公告详情
  97. "path": "pages/notice/noticeDetail",
  98. "style": {
  99. "navigationStyle": "custom"
  100. }
  101. }, {
  102. //公告列表
  103. "path": "pages/notice/noticeList",
  104. "style": {
  105. "navigationBarTitleText": "公告列表",
  106. "enablePullDownRefresh": true //开启下拉刷新
  107. }
  108. }, {
  109. //服务说明
  110. "path": "pages/service/service",
  111. "style": {
  112. "navigationStyle": "custom"
  113. }
  114. }, {
  115. //关于我们
  116. "path": "pages/aboutme/aboutme",
  117. "style": {
  118. "navigationStyle": "custom"
  119. }
  120. },
  121. // {
  122. // //首页
  123. // "path": "pages/index/index",
  124. // "style": {
  125. // "navigationStyle": "custom"
  126. // }
  127. // },
  128. {
  129. "path": "pages/noLogin/home/home",
  130. "style": {
  131. "navigationBarTitleText": "",
  132. "enablePullDownRefresh": false
  133. }
  134. }, {
  135. "path": "pages/noLogin/emergencyRepairOrder/emergencyRepairOrder",
  136. "style": {
  137. "navigationBarTitleText": "",
  138. "enablePullDownRefresh": false
  139. }
  140. }, {
  141. "path": "pages/noLogin/WarningPileForm/WarningPileForm",
  142. "style": {
  143. "navigationBarTitleText": "",
  144. "enablePullDownRefresh": false
  145. }
  146. }, {
  147. "path": "pages/noLogin/WarningPileList",
  148. "style": {
  149. "navigationBarTitleText": "",
  150. "enablePullDownRefresh": false
  151. }
  152. }, {
  153. "path": "pages/noLogin/CourtyardNetworkManagement/CourtyardNetworkManagement",
  154. "style": {
  155. "navigationBarTitleText": "",
  156. "enablePullDownRefresh": false
  157. }
  158. }
  159. // ,{
  160. // "path" : "pages/noLogin/PressureRegulatingBox/PressureRegulatingBox",
  161. // "style" :
  162. // {
  163. // "navigationBarTitleText": "",
  164. // "enablePullDownRefresh": false
  165. // }
  166. // }
  167. ,{
  168. "path" : "pages/noLogin/roadSection/roadSection"
  169. // "style" :
  170. // {
  171. // "navigationBarTitleText": "",
  172. // "enablePullDownRefresh": false
  173. // }
  174. },{
  175. "path" : "pages/noLogin/valveWellInspection/valveWellInspection"
  176. // "style" :
  177. // {
  178. // "navigationBarTitleText": "",
  179. // "enablePullDownRefresh": false
  180. // }
  181. },
  182. {
  183. "path" : "pages/mapindex/mapindex",
  184. "style" :
  185. {
  186. "navigationBarTitleText" : "地图展示",
  187. "enablePullDownRefresh" : false
  188. }
  189. },
  190. {
  191. "path" : "pages/noLogin/LNGStation/LNGStation",
  192. "style" :
  193. {
  194. "navigationBarTitleText": "",
  195. "enablePullDownRefresh": false
  196. }
  197. },
  198. {
  199. "path" : "pages/noLogin/fileList/fileList",
  200. "style" :
  201. {
  202. "navigationBarTitleText": "",
  203. "enablePullDownRefresh": false //开启下拉刷新
  204. }
  205. }
  206. ,{
  207. "path" : "pages/noLogin/patrolFleet/patrolFleet",
  208. "style" :
  209. {
  210. "navigationBarTitleText": "",
  211. "enablePullDownRefresh": false
  212. }
  213. }
  214. ,{
  215. "path" : "pages/noLogin/GRegulatingBoxMaintenance/GRegulatingBoxMaintenance",
  216. "style" :
  217. {
  218. "navigationBarTitleText": "",
  219. "enablePullDownRefresh": false
  220. }
  221. }
  222. ,{
  223. "path" : "pages/noLogin/PipelineGasUser/PipelineGasUser",
  224. "style" :
  225. {
  226. "navigationBarTitleText": "",
  227. "enablePullDownRefresh": false
  228. }
  229. }
  230. ],
  231. "globalStyle": {
  232. "navigationBarTextStyle": "black",
  233. "navigationBarTitleText": "长春贞达市政施工管理平台",
  234. "navigationBarBackgroundColor": "#F8F8F8",
  235. "backgroundColor": "#F8F8F8"
  236. },
  237. "tabBar": {
  238. "list": [{
  239. "pagePath": "pages/index/index",
  240. "text": "首页",
  241. "iconPath": "static/icon/home.png",
  242. "selectedIconPath": "static/icon/home-on.png"
  243. }, {
  244. "pagePath": "pages/noLogin/typeList",
  245. "text": "工作",
  246. "iconPath": "static/icon/work.png",
  247. "selectedIconPath": "static/icon/work-on.png"
  248. },
  249. {
  250. "pagePath": "pages/noLogin/listProject",
  251. "text": "历史",
  252. "iconPath": "static/icon/lishijilu.png",
  253. "selectedIconPath": "static/icon/lishijilu-on.png"
  254. }
  255. // {
  256. // "pagePath": "pages/chart/chartAll",
  257. // "text": "统计",
  258. // "iconPath": "static/icon/chart.png",
  259. // "selectedIconPath": "static/icon/chart.png"
  260. // }
  261. ]
  262. },
  263. "condition": { //模式配置,仅开发期间生效
  264. "current": 0, //当前激活的模式(list 的索引项)
  265. "list": [{
  266. "name": "", //模式名称
  267. "path": "", //启动页面,必选
  268. "query": "" //启动参数,在页面的onLoad函数里面得到
  269. }]
  270. }
  271. }