pages.json 5.6 KB

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