pages.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. {
  2. "pages": [{
  3. "path": "pages/index/index",
  4. "style": {
  5. "navigationBarTextStyle": "white"
  6. }
  7. },
  8. {
  9. "path": "pages/core/index"
  10. },
  11. {
  12. "path": "pages/user/index"
  13. },
  14. {
  15. "path": "pages/login/index"
  16. },
  17. {
  18. "path": "pages/login/code"
  19. },
  20. {
  21. "path": "pages/lucky/index"
  22. },
  23. {
  24. "path": "pages/ticketBox/detail"
  25. },
  26. {
  27. "path": "pages/activity/index"
  28. }
  29. ],
  30. "subPackages": [{
  31. "root": "packageGoods",
  32. "pages": [{
  33. "path": "core/index"
  34. },
  35. {
  36. "path": "coupon/index"
  37. },
  38. {
  39. "path": "goods/company"
  40. },
  41. {
  42. "path": "goods/detail"
  43. },
  44. {
  45. "path": "order/index"
  46. },
  47. {
  48. "path": "order/detail"
  49. },
  50. {
  51. "path": "order/logistics"
  52. },
  53. {
  54. "path": "order/settlement"
  55. },
  56. {
  57. "path": "ticket/index"
  58. }
  59. ]
  60. },
  61. {
  62. "root": "packagePrize",
  63. "pages": [{
  64. "path": "bean/index"
  65. },
  66. {
  67. "path": "choice/index"
  68. },
  69. {
  70. "path": "coupon/use"
  71. },
  72. {
  73. "path": "coupon/detail"
  74. },
  75. {
  76. "path": "goods/detail"
  77. },
  78. {
  79. "path": "prize/index"
  80. },
  81. {
  82. "path": "ticket/index"
  83. }
  84. ]
  85. },
  86. {
  87. "root": "packageOperate",
  88. "pages": [{
  89. "path": "address/index"
  90. },
  91. {
  92. "path": "address/create"
  93. },
  94. {
  95. "path": "process/index"
  96. },
  97. {
  98. "path": "share/index"
  99. },
  100. {
  101. "path": "webview/index"
  102. }
  103. ]
  104. },
  105. {
  106. "root": "packageOther",
  107. "pages": [{
  108. "path": "about/index"
  109. },
  110. {
  111. "path": "about/conceal"
  112. },
  113. {
  114. "path": "about/protect"
  115. },
  116. {
  117. "path": "rule/index"
  118. }
  119. ]
  120. }
  121. ],
  122. "preloadRule": {
  123. "pages/index/index": {
  124. "network": "all",
  125. "packages": ["packageGoods", "packagePrize", "packageOperate", "packageOther"]
  126. },
  127. "pages/lucky/index": {
  128. "network": "all",
  129. "packages": ["packageOperate", "packageGoods", "packagePrize", "packageOther"]
  130. },
  131. "pages/ticketBox/detail": {
  132. "network": "all",
  133. "packages": ["packageGoods", "packagePrize", "packageOperate", "packageOther"]
  134. }
  135. },
  136. "tabBar": {
  137. "custom": true,
  138. "color": "black",
  139. "backgroundColor": "#FFFFFF",
  140. "selectedColor": "red",
  141. "list": [{
  142. "pagePath": "pages/index/index",
  143. "text": "刮奖"
  144. }, {
  145. "pagePath": "pages/core/index",
  146. "text": "兑奖大厅"
  147. }, {
  148. "pagePath": "pages/activity/index",
  149. "text": "免费抽奖"
  150. }, {
  151. "pagePath": "pages/user/index",
  152. "text": "我的"
  153. }]
  154. },
  155. "globalStyle": {
  156. "navigationBarTextStyle": "black",
  157. "navigationBarTitleText": "盲票",
  158. "navigationBarBackgroundColor": "#ffffff",
  159. "backgroundColor": "#F8F8F8",
  160. "navigationStyle": "custom"
  161. }
  162. }