pages.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. // "condition": { //模式配置,仅开发期间生效
  6. // "current": 0, //当前激活的模式(list 的索引项)
  7. // "list": [{
  8. // "name": "test", //模式名称
  9. // "path": "pages/componentsC/test/index", //启动页面,必选
  10. // "query": "uuid=c4bba940-f69e-11ea-a419-6bafda9d095e&__id__=1" //启动参数,在页面的onLoad函数里面得到
  11. // }]
  12. // },
  13. "pages": [
  14. // 首页
  15. {
  16. "path": "pages/home/index",
  17. "style": {
  18. "navigationBarTitleText": "首页"
  19. }
  20. },
  21. // 系统消息
  22. {
  23. "path": "pages/home/scancode/index",
  24. "style": {
  25. "navigationBarTitleText": "扫码入库",
  26. "navigationBarBackgroundColor": "#0095FF",
  27. "navigationBarTextStyle": "white",
  28. "app-plus": {
  29. "bounce": "none" ,//关闭窗口回弹效果
  30. "scrollIndicator": "none"
  31. }
  32. // "app-plus": {"titleNView": false} //取消去掉导航栏顶部标题
  33. }
  34. },
  35. // 消息
  36. {
  37. "path": "pages/msg/index",
  38. "style": {
  39. "navigationBarTitleText": "消息"
  40. }
  41. },
  42. // 我的
  43. {
  44. "path": "pages/me/index",
  45. "style": {
  46. // "navigationBarTitleText": "我的",
  47. "app-plus": {
  48. "titleNView":false
  49. }
  50. }
  51. },
  52. //登录
  53. {
  54. "path": "pages/login/index",
  55. "style": {
  56. "app-plus": {
  57. "titleNView":false
  58. }
  59. }
  60. },
  61. // 奖励明细
  62. {
  63. "path": "pages/Reward-details/index",
  64. "style": {
  65. "navigationBarTitleText": "奖励明细"
  66. }
  67. },
  68. // 出库明细
  69. {
  70. "path": "pages/Delivery-details/index",
  71. "style": {
  72. "navigationBarTitleText": "出库明细"
  73. }
  74. },
  75. // 入库明细
  76. {
  77. "path": "pages/Warehousing-details/index",
  78. "style": {
  79. "navigationBarTitleText": "入库明细"
  80. }
  81. },
  82. // 结算中心页面
  83. {
  84. "path": "pages/Settlement-center/index",
  85. "style": {
  86. "navigationBarTitleText": "结算中心"
  87. }
  88. },
  89. // 统计任务页面
  90. {
  91. "path": "pages/Statistical-task/index",
  92. "style": {
  93. "navigationBarTitleText": "任务统计"
  94. }
  95. },
  96. // 订单详情页面
  97. {
  98. "path": "pages/Order-details/index",
  99. "style": {
  100. "navigationBarTitleText": "订单详情"
  101. }
  102. },
  103. // 核销管理页面
  104. {
  105. "path": "pages/Write-off-management/index",
  106. "style": {
  107. "navigationBarTitleText": "核销管理"
  108. }
  109. }
  110. ],
  111. "subPackages": [{
  112. "root": "pages/home",
  113. "pages": [
  114. // 扫码入库确认
  115. {
  116. "path": "Scan-code-in/index",
  117. "style": {
  118. "navigationBarTitleText": "扫码入库确认"
  119. }
  120. },
  121. // 扫码出库确认
  122. {
  123. "path": "Scan-code-out/index",
  124. "style": {
  125. "navigationBarTitleText": "扫码出库确认"
  126. }
  127. },
  128. {
  129. "path": "shopping/shopping_car",
  130. "style": {
  131. "navigationStyle": "custom", // 隐藏系统导航栏
  132. "navigationBarTextStyle": "white"
  133. }
  134. }, {
  135. "path": "shopping/integral_mall",
  136. "style": {
  137. "navigationBarTitleText": "积分商城"
  138. }
  139. }, {
  140. "path": "shopping/inline_shop",
  141. "style": {
  142. "navigationStyle": "custom", // 隐藏系统导航栏
  143. "navigationBarTextStyle": "white"
  144. }
  145. }, {
  146. "path": "shopping/inline_shop_details",
  147. "style": {
  148. "navigationBarTitleText": "商品详情"
  149. }
  150. }
  151. ]
  152. },
  153. {
  154. "root": "pages/login",
  155. "pages": [{
  156. "path": "register",
  157. "style": {
  158. "navigationBarTitleText": "零售店注销"
  159. }
  160. }, {
  161. "path": "register_2",
  162. "style": {
  163. "navigationBarTitleText": "零售店注销"
  164. }
  165. }, {
  166. "path": "register_3",
  167. "style": {
  168. "navigationBarTitleText": "零售店注销"
  169. }
  170. }]
  171. },
  172. {
  173. "root": "pages/me",
  174. "pages": [
  175. //我的供应商
  176. {
  177. "path": "suppliers",
  178. "style": {
  179. "navigationBarTitleText": "我的供应商",
  180. "navigationBarBackgroundColor": "#1692F7"
  181. }
  182. },
  183. //优惠卷
  184. {
  185. "path": "coupon",
  186. "style": {
  187. "navigationBarTitleText": "我的优惠卷"
  188. }
  189. },
  190. //新建收货地址
  191. {
  192. "path": "modify",
  193. "style": {
  194. "navigationBarTitleText": "新建收货地址"
  195. }
  196. },
  197. //收货地址
  198. {
  199. "path": "address",
  200. "style": {
  201. "navigationBarTitleText": "收货地址",
  202. "app-plus": {
  203. "titleNView": {
  204. "buttons": [{
  205. "text": "编辑",
  206. "fontSize": "18px",
  207. "float": "right"
  208. }]
  209. }
  210. }
  211. }
  212. }
  213. },
  214. //查询结果
  215. {
  216. "path": "scancodequery/result",
  217. "style": {
  218. "navigationBarTitleText": "查询结果",
  219. "app-plus": {
  220. "bounce": "none" //取消页面上的回弹效果
  221. }
  222. }
  223. ]
  224. }
  225. ],
  226. "preloadRule": {},
  227. "globalStyle": {
  228. "navigationBarBackgroundColor": "#0095FF",
  229. "navigationBarTextStyle": "white",
  230. "app-plus": {
  231. "bounce": "none" //关闭窗口回弹效果
  232. }
  233. },
  234. "tabBar": {
  235. "list": [{
  236. "pagePath": "pages/home/index"
  237. },
  238. {
  239. "pagePath": "pages/msg/index"
  240. },
  241. {
  242. "pagePath": "pages/me/index"
  243. }
  244. ]
  245. }
  246. }