pages.json 2.4 KB

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