pages.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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/index/wxofficial"
  13. },
  14. {
  15. "path": "pages/index/payExternal"
  16. },
  17. {
  18. "path": "pages/core/index",
  19. "style": {
  20. "titlePenetrate": "YES"
  21. }
  22. },
  23. {
  24. "path": "pages/user/index",
  25. "style": {
  26. "navigationBarTextStyle": "white"
  27. }
  28. },
  29. {
  30. "path": "pages/login/index"
  31. },
  32. {
  33. "path": "pages/login/code"
  34. },
  35. {
  36. "path": "pages/lucky/index",
  37. "style": {
  38. "navigationBarTextStyle": "white"
  39. }
  40. },
  41. {
  42. "path": "pages/ticketBox/detail"
  43. },
  44. {
  45. "path": "pages/activity/index"
  46. }
  47. ],
  48. "subPackages": [{
  49. "root": "packageGoods",
  50. "pages": [{
  51. "path": "coupon/index"
  52. },
  53. {
  54. "path": "goods/company"
  55. },
  56. {
  57. "path": "goods/detail"
  58. },
  59. {
  60. "path": "goods/list"
  61. },
  62. {
  63. "path": "goods/category"
  64. },
  65. {
  66. "path": "order/index"
  67. },
  68. {
  69. "path": "order/detail"
  70. },
  71. {
  72. "path": "order/logistics"
  73. },
  74. {
  75. "path": "order/settlement"
  76. },
  77. {
  78. "path": "order/payOrder"
  79. },
  80. {
  81. "path": "ticket/index"
  82. },
  83. {
  84. "path": "recovery/index"
  85. },
  86. {
  87. "path": "recovery/detail"
  88. },
  89. {
  90. "path": "promoters/index"
  91. }
  92. ]
  93. },
  94. {
  95. "root": "packagePrize",
  96. "pages": [{
  97. "path": "bean/index"
  98. },
  99. {
  100. "path": "choice/index"
  101. },
  102. {
  103. "path": "coupon/use"
  104. },
  105. {
  106. "path": "coupon/detail"
  107. },
  108. {
  109. "path": "goods/detail"
  110. }, {
  111. "path": "goods/index"
  112. },
  113. {
  114. "path": "prize/index"
  115. },
  116. {
  117. "path": "ticket/index"
  118. },
  119. {
  120. "path": "rolling/index",
  121. "style": {
  122. "navigationBarTextStyle": "white"
  123. }
  124. },
  125. {
  126. "path": "rolling/animation",
  127. "style": {
  128. "navigationBarTextStyle": "white"
  129. }
  130. },
  131. {
  132. "path": "purchase/index"
  133. },
  134. {
  135. "path": "address/index"
  136. }
  137. ]
  138. },
  139. {
  140. "root": "packageOperate",
  141. "pages": [{
  142. "path": "address/index"
  143. },
  144. {
  145. "path": "address/create"
  146. },
  147. {
  148. "path": "process/index"
  149. },
  150. {
  151. "path": "share/index"
  152. },
  153. {
  154. "path": "webview/index"
  155. },
  156. {
  157. "path": "activity/index"
  158. },
  159. {
  160. "path": "activity/record"
  161. },
  162. {
  163. "path": "activity/wxofficial"
  164. },
  165. {
  166. "path": "creator/index"
  167. },
  168. {
  169. "path": "store/index"
  170. },
  171. {
  172. "path": "exchange/index"
  173. }
  174. ]
  175. },
  176. {
  177. "root": "packageOther",
  178. "pages": [{
  179. "path": "about/index"
  180. },
  181. {
  182. "path": "about/conceal"
  183. },
  184. {
  185. "path": "about/protect"
  186. },
  187. {
  188. "path": "rule/index"
  189. },
  190. {
  191. "path": "rule/purchase"
  192. },
  193. {
  194. "path": "avatar/index"
  195. }
  196. ]
  197. }
  198. ],
  199. "preloadRule": {
  200. "pages/index/index": {
  201. "network": "all",
  202. "packages": ["packageGoods", "packagePrize", "packageOperate", "packageOther"]
  203. },
  204. "pages/lucky/index": {
  205. "network": "all",
  206. "packages": ["packageOperate", "packageGoods", "packagePrize", "packageOther"]
  207. },
  208. "pages/ticketBox/detail": {
  209. "network": "all",
  210. "packages": ["packageGoods", "packagePrize", "packageOperate", "packageOther"]
  211. }
  212. },
  213. "tabBar": {
  214. // "custom": true,
  215. "color": "black",
  216. "backgroundColor": "#FFFFFF",
  217. "selectedColor": "red",
  218. "list": [{
  219. "pagePath": "pages/index/index",
  220. "text": "首页"
  221. }, {
  222. "pagePath": "pages/core/index",
  223. "text": "商城"
  224. }, {
  225. "pagePath": "pages/activity/index",
  226. "text": "免费抽奖"
  227. }, {
  228. "pagePath": "pages/user/index",
  229. "text": "我的"
  230. }]
  231. },
  232. "globalStyle": {
  233. "navigationBarTextStyle": "black",
  234. "navigationBarTitleText": "",
  235. "navigationBarBackgroundColor": "#ffffff",
  236. "backgroundColor": "#F8F8F8",
  237. "navigationStyle": "custom",
  238. "allowsBounceVertical": "NO",
  239. "transparentTitle": "always"
  240. }
  241. }