pages.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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. "navigationStyle": "custom", // 隐藏系统导航栏
  19. "navigationBarTextStyle": "black"
  20. }
  21. },
  22. // 消息
  23. {
  24. "path": "pages/msg/index",
  25. "style": {
  26. "navigationBarTitleText": "消息"
  27. }
  28. },
  29. // 我的
  30. {
  31. "path": "pages/me/index",
  32. "style": {
  33. // "navigationBarTitleText": "我的",
  34. "app-plus": {
  35. "titleNView": false
  36. }
  37. }
  38. },
  39. //登录
  40. {
  41. "path": "pages/login/index",
  42. "style": {
  43. "app-plus": {
  44. "titleNView": false
  45. }
  46. }
  47. }
  48. ],
  49. "subPackages": [{
  50. "root": "pages/login",
  51. "pages": [{
  52. "path": "register",
  53. "style": {
  54. "navigationBarTitleText": "零售店注销"
  55. }
  56. }, {
  57. "path": "register_2",
  58. "style": {
  59. "navigationBarTitleText": "零售店注销"
  60. }
  61. }, {
  62. "path": "register_3",
  63. "style": {
  64. "navigationBarTitleText": "零售店注销"
  65. }
  66. }]
  67. }, {
  68. "root": "pages/shopping",
  69. "pages": [{
  70. "path": "shopping_car/shopping_car",
  71. "style": {
  72. "navigationStyle": "custom", // 隐藏系统导航栏
  73. "navigationBarTextStyle": "white"
  74. }
  75. }, {
  76. "path": "integral_mall/integral_mall",
  77. "style": {
  78. "navigationBarTitleText": "积分商城"
  79. }
  80. }, {
  81. "path": "inline_shop/inline_shop",
  82. "style": {
  83. "navigationStyle": "custom", // 隐藏系统导航栏
  84. "navigationBarTextStyle": "white"
  85. }
  86. }, {
  87. "path": "inline_shop_details/inline_shop_details",
  88. "style": {
  89. "navigationBarTitleText": "商品详情"
  90. }
  91. }]
  92. }, {
  93. "root": "pages/me",
  94. "pages": [
  95. //我的供应商
  96. {
  97. "path": "suppliers",
  98. "style": {
  99. "navigationBarTitleText": "我的供应商",
  100. "navigationBarBackgroundColor": "#1692F7"
  101. }
  102. },
  103. //优惠卷
  104. {
  105. "path": "coupon",
  106. "style": {
  107. "navigationBarTitleText": "我的优惠卷"
  108. }
  109. },
  110. //新建收货地址
  111. {
  112. "path": "modify",
  113. "style": {
  114. "navigationBarTitleText": "新建收货地址"
  115. }
  116. },
  117. //收货地址
  118. {
  119. "path": "address",
  120. "style": {
  121. "navigationBarTitleText": "收货地址",
  122. "app-plus": {
  123. "titleNView": {
  124. "buttons": [{
  125. "text": "编辑",
  126. "fontSize": "18px",
  127. "float": "right"
  128. }]
  129. }
  130. }
  131. }
  132. },
  133. //查询结果
  134. {
  135. "path": "scancodequery/result",
  136. "style": {
  137. "navigationBarTitleText": "查询结果",
  138. "app-plus": {
  139. "bounce": "none" //取消页面上的回弹效果
  140. }
  141. }
  142. }
  143. ]
  144. }],
  145. "preloadRule": {},
  146. "globalStyle": {
  147. "navigationBarBackgroundColor": "#0095FF",
  148. "navigationBarTextStyle": "white",
  149. "app-plus": {
  150. "bounce": "none" //关闭窗口回弹效果
  151. }
  152. },
  153. "tabBar": {
  154. "list": [{
  155. "pagePath": "pages/home/index"
  156. },
  157. {
  158. "pagePath": "pages/msg/index"
  159. },
  160. {
  161. "pagePath": "pages/me/index"
  162. }
  163. ]
  164. }
  165. }