pages.json 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. "custom": {
  5. "^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
  6. "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
  7. "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue",
  8. "^ut-(.*)": "@/src/components/ut-$1/ut-$1.vue",
  9. "^(?!z-paging-refresh|z-paging-load-more)z-paging(.*)": "z-paging/components/z-paging$1/z-paging$1.vue"
  10. }
  11. },
  12. "pages": [
  13. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  14. {
  15. "path": "pages/index/index",
  16. "style": {
  17. "navigationBarTitleText": "首页"
  18. }
  19. },
  20. {
  21. "path": "pages/login/login",
  22. "style": {
  23. "navigationBarTitleText": "用户登录"
  24. }
  25. },
  26. //开发完成后需要删除的页面
  27. {
  28. "path": "pages/plant/base/index",
  29. "style": {
  30. "navigationBarTitleText": "种植端基地"
  31. }
  32. },
  33. {
  34. "path": "pages/plant/port/index",
  35. "style": {
  36. "navigationBarTitleText": "种植端种养殖"
  37. }
  38. },
  39. //>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
  40. {
  41. "path": "pages/production/index",
  42. "style": {
  43. "navigationBarTitleText": "生产端"
  44. }
  45. }
  46. ],
  47. "subPackages": [
  48. {
  49. // 基地分包
  50. "root": "plant/base",
  51. "pages": [
  52. {
  53. "path": "base-list/index",
  54. "style": {
  55. "navigationBarTitleText": "基地列表"
  56. }
  57. },
  58. {
  59. "path": "base-detail/index",
  60. "style": {
  61. "navigationBarTitleText": "基地详情"
  62. }
  63. },
  64. {
  65. "path": "base-edit/index",
  66. "style": {
  67. "navigationBarTitleText": "编辑基地"
  68. }
  69. },
  70. {
  71. "path": "base-map/index",
  72. "style": {
  73. "navigationBarTitleText": "基地地图"
  74. }
  75. },
  76. // GAP基地信息
  77. {
  78. "path": "gap-base-info/index",
  79. "style": {
  80. "navigationBarTitleText": "GAP基地信息"
  81. }
  82. },
  83. // 添加Gap基地信息添加
  84. {
  85. "path": "gap-base-info-edit/index",
  86. "style": {
  87. "navigationBarTitleText": "添加GAP基地信息"
  88. }
  89. },
  90. // GAP基地详情
  91. {
  92. "path": "gap-base-info-detail/index",
  93. "style": {
  94. "navigationBarTitleText": "GAP基地详情"
  95. }
  96. },
  97. // 标记三无一全基地
  98. {
  99. "path": "mark-swyq-base/index",
  100. "style": {
  101. "navigationBarTitleText": "标记三无一全基地"
  102. }
  103. },
  104. // 标记三无一全基地详情
  105. {
  106. "path": "mark-swyq-base-detail/index",
  107. "style": {
  108. "navigationBarTitleText": "三无一全基地详情"
  109. }
  110. }
  111. ]
  112. },
  113. // 主营物种
  114. {
  115. "root": "plant/species",
  116. "pages": [
  117. {
  118. "path": "config/index",
  119. "style": {
  120. "navigationBarTitleText": "配置主营物种"
  121. }
  122. }
  123. ]
  124. },
  125. // 种养殖
  126. {
  127. "root": "plant/port",
  128. "pages": [
  129. {
  130. "path": "port-create/index",
  131. "style": {
  132. "navigationBarTitleText": "创建种养殖任务"
  133. }
  134. }
  135. ]
  136. },
  137. // 库存
  138. {
  139. "root": "plant/storage",
  140. "pages": [
  141. // 库房管理
  142. {
  143. "path": "storage-room/list/index",
  144. "style": {
  145. "navigationBarTitleText": "库房管理"
  146. }
  147. },
  148. // 新增库房
  149. {
  150. "path": "storage-room/edit/index",
  151. "style": {
  152. "navigationBarTitleText": "新增库房"
  153. }
  154. },
  155. // 库房详情
  156. {
  157. "path": "storage-room/detail/index",
  158. "style": {
  159. "navigationBarTitleText": "库房详情"
  160. }
  161. }
  162. ]
  163. },
  164. {
  165. "root": "tools",
  166. "pages": [
  167. {
  168. "path": "map-draw-area/index",
  169. "style": {
  170. "navigationBarTitleText": "地图绘制面积图",
  171. "disableScroll": true,
  172. "enablePullDownRefresh": false,
  173. "navigationStyle": "default"
  174. }
  175. },
  176. {
  177. "path": "map-gd/index",
  178. "style": {
  179. "navigationBarTitleText": "地图绘制面积图",
  180. "disableScroll": true,
  181. "enablePullDownRefresh": false,
  182. "navigationStyle": "default"
  183. }
  184. },
  185. // 选择企业人员
  186. {
  187. "path": "select-cpy-member/index",
  188. "style": {
  189. "navigationBarTitleText": "选择企业成员"
  190. }
  191. },
  192. // 选择获评品种
  193. {
  194. "path": "select-medicine/index",
  195. "style": {
  196. "navigationBarTitleText": "选择获评品种"
  197. }
  198. },
  199. // 选择GAP获评信息
  200. {
  201. "path": "select-gap-info/index",
  202. "style": {
  203. "navigationBarTitleText": "选择GAP获评信息"
  204. }
  205. },
  206. {
  207. "path": "por-torganism/index",
  208. "style": {
  209. "navigationBarTitleText": "选择动植物类型"
  210. }
  211. }
  212. ]
  213. },
  214. // 审核端分包
  215. {
  216. "root": "audit/plant",
  217. "pages": [
  218. {
  219. "path": "base/audit-list/index",
  220. "style": {
  221. "navigationBarTitleText": "基地审核列表"
  222. }
  223. },
  224. {
  225. "path": "base/audit-detail/index",
  226. "style": {
  227. "navigationBarTitleText": "基地审核详情"
  228. }
  229. }
  230. ]
  231. }
  232. ],
  233. "tabBar": {
  234. "custom": true,
  235. "list": [
  236. {
  237. "pagePath": "pages/plant/base/index"
  238. },
  239. {
  240. "pagePath": "pages/plant/port/index"
  241. }
  242. ]
  243. },
  244. "globalStyle": {
  245. "navigationStyle": "custom",
  246. "navigationBarTextStyle": "black",
  247. "navigationBarTitleText": "中药材种植全链条追溯系统",
  248. "navigationBarBackgroundColor": "#F8F8F8",
  249. "backgroundColor": "#F8F8F8",
  250. "rpxCalcMaxDeviceWidth": 1920,
  251. "rpxCalcBaseDeviceWidth": 375,
  252. "rpxCalcIncludeWidth": 750
  253. }
  254. }