pages.json 5.7 KB

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