pages.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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. {
  14. //上传市政项目
  15. "path": "pages/noLogin/uploadProject",
  16. "style": {
  17. "navigationStyle": "custom"
  18. }
  19. },
  20. {
  21. //项目类型
  22. "path": "pages/noLogin/typeList",
  23. "style": {
  24. "navigationStyle": "custom"
  25. }
  26. },
  27. {
  28. //历史施工(详情页)
  29. "path": "pages/historyConstruction/historyDetail",
  30. "style": {
  31. "navigationStyle": "custom"
  32. }
  33. },
  34. {
  35. //修改
  36. "path": "pages/historyConstruction/updateInfo",
  37. "style": {
  38. "navigationBarTitleText":"修改"
  39. }
  40. },
  41. {
  42. //市政项目
  43. "path": "pages/noLogin/cityProject",
  44. "style": {
  45. "navigationStyle": "custom"
  46. }
  47. },
  48. {
  49. //安检
  50. "path": "pages/noLogin/data",
  51. "style": {
  52. "navigationStyle": "custom"
  53. }
  54. },
  55. {
  56. //安检
  57. "path": "pages/noLogin/list",
  58. "style": {
  59. "navigationBarTitleText":"列表",
  60. "enablePullDownRefresh":true//开启下拉刷新
  61. }
  62. },
  63. {
  64. //公告详情
  65. "path": "pages/notice/noticeDetail",
  66. "style": {
  67. "navigationStyle": "custom"
  68. }
  69. },
  70. {
  71. //公告列表
  72. "path": "pages/notice/noticeList",
  73. "style": {
  74. "navigationStyle": "custom"
  75. }
  76. },
  77. {
  78. //阀管施工
  79. "path": "pages/cityConstrution/cityConstrution",
  80. "style": {
  81. "navigationStyle": "custom"
  82. }
  83. },
  84. {
  85. //历史施工
  86. "path": "pages/historyConstruction/historyConstruction",
  87. "style": {
  88. "navigationStyle": "custom"
  89. }
  90. },
  91. {
  92. //服务说明
  93. "path": "pages/service/service",
  94. "style": {
  95. "navigationStyle": "custom"
  96. }
  97. },
  98. {
  99. //关于我们
  100. "path": "pages/aboutme/aboutme",
  101. "style": {
  102. "navigationStyle": "custom"
  103. }
  104. },
  105. {
  106. //首页
  107. "path": "pages/index/index",
  108. "style": {
  109. "navigationStyle": "custom"
  110. }
  111. },
  112. {
  113. //统计图页面
  114. "path":"pages/chart/chart",
  115. "style": {
  116. "navigationStyle": "custom"
  117. }
  118. },
  119. {
  120. //汇总统计图
  121. "path":"pages/chart/chartAll",
  122. "style": {
  123. "navigationStyle": "custom"
  124. }
  125. },
  126. {
  127. //统计图
  128. "path":"pages/chart/chartDetail",
  129. "style": {
  130. "navigationStyle": "custom"
  131. }
  132. },
  133. {
  134. //统计图
  135. "path":"pages/chart/newchartDetail",
  136. "style": {
  137. "navigationStyle": "custom"
  138. }
  139. },
  140. {
  141. //工程管理
  142. "path":"pages/chart/chartList",
  143. "style": {
  144. "navigationBarTitleText":"工程管理"
  145. }
  146. },
  147. {
  148. //工程管理
  149. "path":"pages/chart/details",
  150. "style": {
  151. "navigationBarTitleText":"详情"
  152. }
  153. },
  154. { //安检
  155. "path":"pages/noLogin/repair",
  156. "style": {
  157. "navigationStyle": "custom"
  158. }
  159. },
  160. { //安检
  161. "path":"pages/noLogin/My",
  162. "style": {
  163. "navigationStyle": "custom"
  164. }
  165. },
  166. { //安检(查看照片)
  167. "path":"pages/noLogin/Myphoto",
  168. "style": {
  169. "navigationStyle": "custom"
  170. }
  171. }
  172. ],
  173. "globalStyle": {
  174. "navigationBarTextStyle": "black",
  175. "navigationBarTitleText": "uni-app",
  176. "navigationBarBackgroundColor": "#F8F8F8",
  177. "backgroundColor": "#F8F8F8"
  178. },
  179. "tabBar": {
  180. "list": [{
  181. "pagePath": "pages/index/index",
  182. "text": "首页",
  183. "iconPath": "static/icon/logo.png",
  184. "selectedIconPath": "static/icon/logo.png"
  185. },
  186. {
  187. "pagePath": "pages/historyConstruction/historyConstruction",
  188. "text": "施工",
  189. "iconPath": "static/icon/constructions.png",
  190. "selectedIconPath": "static/icon/constructions.png"
  191. },
  192. // {
  193. // "pagePath": "pages/chart/chart",
  194. // "text": "统计图",
  195. // "iconPath": "static/icon/chart.png",
  196. // "selectedIconPath": "static/icon/chart.png"
  197. // },
  198. {
  199. "pagePath": "pages/chart/chartAll",
  200. "text": "统计",
  201. "iconPath": "static/icon/chart.png",
  202. "selectedIconPath": "static/icon/chart.png"
  203. }
  204. ]
  205. },
  206. "condition" : { //模式配置,仅开发期间生效
  207. "current": 0, //当前激活的模式(list 的索引项)
  208. "list": [
  209. {
  210. "name": "", //模式名称
  211. "path": "", //启动页面,必选
  212. "query": "" //启动参数,在页面的onLoad函数里面得到
  213. }
  214. ]
  215. }
  216. }