pages.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [{
  6. "path": "pages/index/index",
  7. "style": {
  8. "navigationBarTextStyle": "white"
  9. }
  10. },
  11. {
  12. "path": "pages/core/index"
  13. },
  14. {
  15. "path": "pages/user/index",
  16. "style": {
  17. "navigationBarTextStyle": "white"
  18. }
  19. },
  20. {
  21. "path": "pages/login/index"
  22. },
  23. {
  24. "path": "pages/login/code"
  25. },
  26. {
  27. "path": "pages/lucky/index",
  28. "style": {
  29. "navigationBarTextStyle": "white"
  30. }
  31. },
  32. {
  33. "path": "pages/ticketBox/detail"
  34. },
  35. {
  36. "path": "pages/activity/index"
  37. }
  38. ],
  39. "subPackages": [{
  40. "root": "packageGoods",
  41. "pages": [
  42. {
  43. "path": "coupon/index"
  44. },
  45. {
  46. "path": "goods/company"
  47. },
  48. {
  49. "path": "goods/detail"
  50. },
  51. {
  52. "path": "goods/list"
  53. },
  54. {
  55. "path": "goods/category"
  56. },
  57. {
  58. "path": "order/index"
  59. },
  60. {
  61. "path": "order/detail"
  62. },
  63. {
  64. "path": "order/logistics"
  65. },
  66. {
  67. "path": "order/settlement"
  68. },
  69. {
  70. "path": "ticket/index"
  71. },
  72. {
  73. "path": "recovery/index"
  74. },
  75. {
  76. "path": "recovery/detail"
  77. }
  78. ]
  79. },
  80. {
  81. "root": "packagePrize",
  82. "pages": [{
  83. "path": "bean/index"
  84. },
  85. {
  86. "path": "choice/index"
  87. },
  88. {
  89. "path": "coupon/use"
  90. },
  91. {
  92. "path": "coupon/detail"
  93. },
  94. {
  95. "path": "goods/detail"
  96. },
  97. {
  98. "path": "prize/index"
  99. },
  100. {
  101. "path": "ticket/index"
  102. },
  103. {
  104. "path": "rolling/index",
  105. "style": {
  106. "navigationBarTextStyle": "white"
  107. }
  108. }
  109. ]
  110. },
  111. {
  112. "root": "packageOperate",
  113. "pages": [{
  114. "path": "address/index"
  115. },
  116. {
  117. "path": "address/create"
  118. },
  119. {
  120. "path": "process/index"
  121. },
  122. {
  123. "path": "share/index"
  124. },
  125. {
  126. "path": "webview/index"
  127. },
  128. {
  129. "path": "activity/index"
  130. },
  131. {
  132. "path": "activity/record"
  133. },
  134. {
  135. "path": "activity/wxofficial"
  136. }
  137. ]
  138. },
  139. {
  140. "root": "packageOther",
  141. "pages": [{
  142. "path": "about/index"
  143. },
  144. {
  145. "path": "about/conceal"
  146. },
  147. {
  148. "path": "about/protect"
  149. },
  150. {
  151. "path": "rule/index"
  152. }
  153. ]
  154. }
  155. ],
  156. "preloadRule": {
  157. "pages/index/index": {
  158. "network": "all",
  159. "packages": ["packageGoods", "packagePrize", "packageOperate", "packageOther"]
  160. },
  161. "pages/lucky/index": {
  162. "network": "all",
  163. "packages": ["packageOperate", "packageGoods", "packagePrize", "packageOther"]
  164. },
  165. "pages/ticketBox/detail": {
  166. "network": "all",
  167. "packages": ["packageGoods", "packagePrize", "packageOperate", "packageOther"]
  168. }
  169. },
  170. "tabBar": {
  171. "custom": true,
  172. "color": "black",
  173. "backgroundColor": "#FFFFFF",
  174. "selectedColor": "red",
  175. "list": [{
  176. "pagePath": "pages/index/index",
  177. "text": "首页"
  178. }, {
  179. "pagePath": "pages/core/index",
  180. "text": "商城"
  181. }, {
  182. "pagePath": "pages/activity/index",
  183. "text": "免费抽奖"
  184. }, {
  185. "pagePath": "pages/user/index",
  186. "text": "我的"
  187. }]
  188. },
  189. "globalStyle": {
  190. "navigationBarTextStyle": "black",
  191. "navigationBarTitleText": "",
  192. "navigationBarBackgroundColor": "#ffffff",
  193. "backgroundColor": "#F8F8F8",
  194. "navigationStyle": "custom",
  195. "allowsBounceVertical": "NO",
  196. "transparentTitle": "always"
  197. }
  198. }