pages.json 5.7 KB

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