pages.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  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. "subPackages": [{
  63. "root": "pages/login",
  64. "pages": [{
  65. "path": "register",
  66. "style": {
  67. "navigationBarTitleText": "零售店注销"
  68. }
  69. }, {
  70. "path": "register_2",
  71. "style": {
  72. "navigationBarTitleText": "零售店注销"
  73. }
  74. }, {
  75. "path": "register_3",
  76. "style": {
  77. "navigationBarTitleText": "零售店注销"
  78. }
  79. }]
  80. },{
  81. "root": "pages/shopping",
  82. "pages": [{
  83. "path" : "shopping_car/shopping_car",
  84. "style" : {
  85. "navigationStyle": "custom" ,// 隐藏系统导航栏
  86. "navigationBarTextStyle": "white"
  87. }
  88. }
  89. ,{
  90. "path" : "integral_mall/integral_mall",
  91. "style" : {
  92. "navigationBarTitleText": "积分商城"
  93. }
  94. }
  95. ,{
  96. "path" : "inline_shop/inline_shop",
  97. "style" : {
  98. "navigationStyle": "custom" ,// 隐藏系统导航栏
  99. "navigationBarTextStyle": "white"
  100. }
  101. }
  102. ,{
  103. "path" : "inline_shop_details/inline_shop_details",
  104. "style" : {
  105. "navigationBarTitleText": "商品详情"
  106. }
  107. }]
  108. },{
  109. "root": "pages/me",
  110. "pages": [
  111. //我的供应商
  112. {
  113. "path": "suppliers",
  114. "style": {
  115. "navigationBarTitleText": "我的供应商",
  116. "navigationBarBackgroundColor": "#1692F7"
  117. }
  118. },
  119. //优惠卷
  120. {
  121. "path": "coupon",
  122. "style": {
  123. "navigationBarTitleText": "我的优惠卷"
  124. }
  125. },
  126. //新建收货地址
  127. {
  128. "path": "modify",
  129. "style": {
  130. "navigationBarTitleText": "新建收货地址"
  131. }
  132. },
  133. //收货地址
  134. {
  135. "path": "address",
  136. "style": {
  137. "navigationBarTitleText": "收货地址",
  138. "app-plus": {
  139. "titleNView": {
  140. "buttons": [{
  141. "text": "编辑",
  142. "fontSize": "18px",
  143. "float": "right"
  144. }]
  145. }
  146. }
  147. }
  148. },
  149. //查询结果
  150. {
  151. "path": "scancodequery/result",
  152. "style": {
  153. "navigationBarTitleText": "查询结果",
  154. "app-plus": {
  155. "bounce": "none" //取消页面上的回弹效果
  156. }
  157. }
  158. }
  159. ]
  160. }],
  161. "preloadRule": {},
  162. "globalStyle": {
  163. "navigationBarBackgroundColor": "#0095FF",
  164. "navigationBarTextStyle": "white",
  165. "app-plus": {
  166. "bounce": "none" //关闭窗口回弹效果
  167. }
  168. },
  169. "tabBar": {
  170. "list": [{
  171. "pagePath": "pages/home/index"
  172. },
  173. {
  174. "pagePath": "pages/msg/index"
  175. },
  176. {
  177. "pagePath": "pages/me/index"
  178. }
  179. ]
  180. }
  181. }