pages.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  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. "app-plus": {
  19. "titleNView": false
  20. }
  21. }
  22. },
  23. // 消息
  24. {
  25. "path": "pages/msg/index",
  26. "style": {
  27. "navigationBarTitleText": "消息"
  28. }
  29. },
  30. // 我的
  31. {
  32. "path": "pages/me/index",
  33. "style": {
  34. // "navigationBarTitleText": "我的",
  35. "app-plus": {
  36. "titleNView": false
  37. }
  38. }
  39. },
  40. //登录
  41. {
  42. "path": "pages/login/index",
  43. "style": {
  44. "app-plus": {
  45. "titleNView": false
  46. }
  47. }
  48. }
  49. ],
  50. "subPackages": [{
  51. "root": "pages/home",
  52. "pages": [{
  53. "path": "scancode/index",
  54. "style": {
  55. "navigationBarTitleText": "扫码入库",
  56. "navigationBarBackgroundColor": "#0095FF",
  57. "navigationBarTextStyle": "white"
  58. }
  59. },
  60. // 扫码入库确认
  61. {
  62. "path": "Scan-code-in/index",
  63. "style": {
  64. "navigationBarTitleText": "扫码入库确认"
  65. }
  66. },
  67. // 扫码出库确认
  68. {
  69. "path": "Scan-code-out/index",
  70. "style": {
  71. "navigationBarTitleText": "扫码出库确认"
  72. }
  73. },
  74. {
  75. "path": "shopping/shopping_car",
  76. "style": {
  77. "navigationStyle": "custom", // 隐藏系统导航栏
  78. "navigationBarTextStyle": "white"
  79. }
  80. }, {
  81. "path": "shopping/integral_mall",
  82. "style": {
  83. "navigationBarTitleText": "积分商城"
  84. }
  85. }, {
  86. "path": "shopping/inline_shop",
  87. "style": {
  88. "navigationStyle": "custom", // 隐藏系统导航栏
  89. "navigationBarTextStyle": "white"
  90. }
  91. }, {
  92. "path": "shopping/inline_shop_details",
  93. "style": {
  94. "navigationBarTitleText": "商品详情"
  95. }
  96. }
  97. ,{
  98. "path" : "my-stock/my-stock",
  99. "style" : {
  100. "navigationBarTitleText": "我的库存"
  101. }
  102. }
  103. ]
  104. }, {
  105. "root": "pages/msg",
  106. "pages": [{
  107. "path": "System-message/index",
  108. "style": {
  109. "navigationBarTitleText": "系统消息"
  110. }
  111. },
  112. // 订单详情页面
  113. {
  114. "path": "Order-details/index",
  115. "style": {
  116. "navigationBarTitleText": "订单详情"
  117. }
  118. }
  119. ]
  120. }, {
  121. "root": "pages/me",
  122. "pages": [
  123. //我的供应商
  124. {
  125. "path": "suppliers",
  126. "style": {
  127. "navigationBarTitleText": "我的供应商",
  128. "navigationBarBackgroundColor": "#1692F7"
  129. }
  130. },
  131. //优惠卷
  132. {
  133. "path": "coupon",
  134. "style": {
  135. "navigationBarTitleText": "我的优惠卷"
  136. }
  137. },
  138. //新建收货地址
  139. {
  140. "path": "modify",
  141. "style": {
  142. "navigationBarTitleText": "新建收货地址"
  143. }
  144. },
  145. //收货地址
  146. {
  147. "path": "address",
  148. "style": {
  149. "navigationBarTitleText": "收货地址",
  150. "app-plus": {
  151. "titleNView": {
  152. "buttons": [{
  153. "text": "编辑",
  154. "fontSize": "18px",
  155. "float": "right"
  156. }]
  157. }
  158. }
  159. }
  160. },
  161. //查询结果
  162. {
  163. "path": "scancodequery/scan",
  164. "style": {
  165. "navigationBarTitleText": "胎号查询"
  166. }
  167. },
  168. //查询结果
  169. {
  170. "path": "scancodequery/result",
  171. "style": {
  172. "navigationBarTitleText": "查询结果"
  173. }
  174. },
  175. //入库明细
  176. {
  177. "path": "Warehousing-details/index",
  178. "style": {
  179. "navigationBarTitleText": "入库明细"
  180. }
  181. },
  182. // 出库明细
  183. {
  184. "path": "Delivery-details/index",
  185. "style": {
  186. "navigationBarTitleText": "出库明细"
  187. }
  188. },
  189. // 奖励明细
  190. {
  191. "path": "Reward-details/index",
  192. "style": {
  193. "navigationBarTitleText": "奖励明细"
  194. }
  195. },
  196. // 结算中心页面
  197. {
  198. "path": "Settlement-center/index",
  199. "style": {
  200. "navigationBarTitleText": "结算中心"
  201. }
  202. },
  203. // 统计任务页面
  204. {
  205. "path": "Statistical-task/index",
  206. "style": {
  207. "navigationBarTitleText": "任务统计"
  208. }
  209. },
  210. // 核销管理页面
  211. {
  212. "path": "Write-off-management/index",
  213. "style": {
  214. "navigationBarTitleText": "核销管理"
  215. }
  216. }
  217. ,{
  218. "path" : "my-order/my-order",
  219. "style" : {
  220. "navigationBarTitleText": "我的订单"
  221. }
  222. }
  223. ,{
  224. "path" : "agent-stock/agent-stock",
  225. "style" : {
  226. "navigationBarTitleText": "经销商库存"
  227. }
  228. }
  229. ,{
  230. "path" : "setting/setting",
  231. "style" : {
  232. "navigationBarTitleText": "设置"
  233. }
  234. }
  235. ]
  236. }, {
  237. "root": "pages/login",
  238. "pages": [{
  239. "path": "register",
  240. "style": {
  241. "navigationBarTitleText": "零售店注销"
  242. }
  243. }, {
  244. "path": "register_2",
  245. "style": {
  246. "navigationBarTitleText": "零售店注销"
  247. }
  248. }, {
  249. "path": "register_3",
  250. "style": {
  251. "navigationBarTitleText": "零售店注销"
  252. }
  253. }]
  254. }],
  255. "preloadRule": {},
  256. "globalStyle": {
  257. "navigationBarBackgroundColor": "#0095FF",
  258. "navigationBarTextStyle": "white",
  259. "app-plus": {
  260. "bounce": "none" ,//关闭窗口回弹效果
  261. "scrollIndicator": "none"//app页面不显示滚动条
  262. }
  263. },
  264. "tabBar": {
  265. "list": [{
  266. "pagePath": "pages/home/index"
  267. },
  268. {
  269. "pagePath": "pages/msg/index"
  270. },
  271. {
  272. "pagePath": "pages/me/index"
  273. }
  274. ]
  275. }
  276. }