pages.json 4.1 KB

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