pages.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. {
  2. "easycom": {
  3. "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue",
  4. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  5. },
  6. "pages": [
  7. {
  8. "path": "pages/index",
  9. "style": {
  10. "navigationStyle": "custom",
  11. "enablePullDownRefresh": true
  12. }
  13. },
  14. {
  15. "path": "pages/classification",
  16. "style": {
  17. "navigationBarTitleText": "分类",
  18. "enablePullDownRefresh": true
  19. }
  20. },
  21. {
  22. "path": "pages/order",
  23. "style": {
  24. "navigationBarTitleText": "订单",
  25. "enablePullDownRefresh": true
  26. }
  27. },
  28. {
  29. "path": "pages/my",
  30. "style": {
  31. "navigationBarTitleText": "个人中心"
  32. }
  33. }
  34. ],
  35. "subPackages": [
  36. {
  37. "root": "pagesSub/activity",
  38. "pages": [
  39. {
  40. "path": "activityDetail",
  41. "style": {
  42. "navigationBarTitleText": "免费吃活动详情",
  43. "enablePullDownRefresh": true
  44. }
  45. },
  46. {
  47. "path": "signUpOutcome",
  48. "style": {
  49. "navigationBarTitleText": "报名结果"
  50. }
  51. }
  52. ]
  53. },
  54. {
  55. "root": "pagesSub/commission",
  56. "pages": [
  57. {
  58. "path": "invite",
  59. "style": {
  60. "navigationBarTitleText": "邀请好友,赚现金"
  61. }
  62. },
  63. {
  64. "path": "commission",
  65. "style": {
  66. "navigationBarTitleText": "我的返利金",
  67. "enablePullDownRefresh": true
  68. }
  69. },
  70. {
  71. "path": "commissionRecord",
  72. "style": {
  73. "navigationBarTitleText": "分佣查看",
  74. "enablePullDownRefresh": true
  75. }
  76. },
  77. {
  78. "path": "commissionApply",
  79. "style": {
  80. "navigationBarTitleText": "提现"
  81. }
  82. },
  83. {
  84. "path": "commissionConfirm",
  85. "style": { "navigationBarTitleText": "提现" }
  86. }
  87. ]
  88. },
  89. {
  90. "root": "pagesSub/my",
  91. "pages": [
  92. {
  93. "path": "kefu",
  94. "style": {
  95. "navigationBarTitleText": "联系客服"
  96. }
  97. },
  98. {
  99. "path": "about",
  100. "style": {
  101. "navigationBarTitleText": "关于我们"
  102. }
  103. },
  104. {
  105. "path": "commonProblem",
  106. "style": {
  107. "navigationBarTitleText": "常见问题"
  108. }
  109. },
  110. {
  111. "path": "userDetail",
  112. "style": {
  113. "navigationBarTitleText": "个人信息"
  114. }
  115. }
  116. ]
  117. },
  118. {
  119. "root": "pagesSub/order",
  120. "pages": [
  121. {
  122. "path": "submitOrder",
  123. "style": {
  124. "navigationBarTitleText": "提交订单"
  125. }
  126. },
  127. {
  128. "path": "submitOutcome",
  129. "style": {
  130. "navigationBarTitleText": "提交订单"
  131. }
  132. },
  133. {
  134. "path": "rule",
  135. "style": {
  136. "navigationBarTitleText": "评价规则"
  137. }
  138. }
  139. ]
  140. },
  141. {
  142. "root": "pagesSub/other",
  143. "pages": [
  144. {
  145. "path": "login",
  146. "style": {
  147. "navigationBarTitleText": ""
  148. }
  149. },
  150. {
  151. "path": "webView"
  152. },
  153. {
  154. "path": "noviceStrategy",
  155. "style": {
  156. "navigationBarTitleText": "新手攻略"
  157. }
  158. }
  159. ]
  160. }
  161. ],
  162. "preloadRule": {
  163. "pages/index": {
  164. "network": "all",
  165. "packages": ["pagesSub/activity"]
  166. },
  167. "pages/classification": {
  168. "network": "all",
  169. "packages": ["pagesSub/activity"]
  170. },
  171. "pages/order": {
  172. "network": "all",
  173. "packages": ["pagesSub/order"]
  174. },
  175. "pages/my": {
  176. "network": "wifi",
  177. "packages": ["pagesSub/my"]
  178. }
  179. },
  180. "globalStyle": {
  181. "navigationBarTextStyle": "black",
  182. "navigationBarTitleText": "趣吃",
  183. "navigationBarBackgroundColor": "#FFFFFF",
  184. "backgroundColor": "#F4F5F9"
  185. },
  186. "tabBar": {
  187. "color": "#999999",
  188. "selectedColor": "#FF6632",
  189. "borderStyle": "black",
  190. "backgroundColor": "#ffffff",
  191. "list": [
  192. {
  193. "pagePath": "pages/index",
  194. "iconPath": "static/tabber/icon_db_home.png",
  195. "selectedIconPath": "static/tabber/icon_db_home2.png",
  196. "text": "首页"
  197. },
  198. {
  199. "pagePath": "pages/classification",
  200. "iconPath": "static/tabber/icon_db_fenl.png",
  201. "selectedIconPath": "static/tabber/icon_db_fenl2.png",
  202. "text": "分类"
  203. },
  204. {
  205. "pagePath": "pages/order",
  206. "iconPath": "static/tabber/icon_db_dingdan.png",
  207. "selectedIconPath": "static/tabber/icon_db_dingdan2.png",
  208. "text": "订单"
  209. },
  210. {
  211. "pagePath": "pages/my",
  212. "iconPath": "static/tabber/icon_db_my.png",
  213. "selectedIconPath": "static/tabber/icon_db_my2.png",
  214. "text": "我的"
  215. }
  216. ]
  217. }
  218. }