pages.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [
  6. {
  7. "path": "pages/index",
  8. "style": {
  9. "navigationStyle": "custom",
  10. "enablePullDownRefresh": true
  11. }
  12. },
  13. {
  14. "path": "pages/classification",
  15. "style": {
  16. "navigationBarTitleText": "分类",
  17. "enablePullDownRefresh": true
  18. }
  19. },
  20. {
  21. "path": "pages/order",
  22. "style": {
  23. "navigationBarTitleText": "订单",
  24. "enablePullDownRefresh": true
  25. }
  26. },
  27. {
  28. "path": "pages/my",
  29. "style": {
  30. "navigationBarTitleText": "个人中心"
  31. }
  32. }
  33. ],
  34. "subPackages": [{
  35. "root": "pagesSub/activity",
  36. "pages": [{
  37. "path": "activityDetail",
  38. "style": {
  39. "navigationBarTitleText": "免费吃活动详情",
  40. "enablePullDownRefresh": true
  41. }
  42. }, {
  43. "path": "signUpOutcome",
  44. "style": {
  45. "navigationBarTitleText": "报名结果"
  46. }
  47. }]
  48. }, {
  49. "root": "pagesSub/my",
  50. "pages": [{
  51. "path": "about",
  52. "style": {
  53. "navigationBarTitleText": "关于我们"
  54. }
  55. }, {
  56. "path": "commonProblem",
  57. "style": {
  58. "navigationBarTitleText": "常见问题"
  59. }
  60. }, {
  61. "path": "userDetail",
  62. "style": {
  63. "navigationBarTitleText": "个人信息"
  64. }
  65. }]
  66. }, {
  67. "root": "pagesSub/order",
  68. "pages": [{
  69. "path": "submitOrder",
  70. "style": {
  71. "navigationBarTitleText": "提交订单"
  72. }
  73. }, {
  74. "path": "submitOutcome",
  75. "style": {
  76. "navigationBarTitleText": "提交结果"
  77. }
  78. }, {
  79. "path": "rule",
  80. "style": {
  81. "navigationBarTitleText": "评价规则"
  82. }
  83. }]
  84. }, {
  85. "root": "pagesSub/other",
  86. "pages": [{
  87. "path": "login",
  88. "style": {
  89. "navigationBarTitleText": ""
  90. }
  91. }, {
  92. "path": "webView"
  93. }, {
  94. "path": "noviceStrategy",
  95. "style": {
  96. "navigationBarTitleText": "新手攻略"
  97. }
  98. }]
  99. }],
  100. "preloadRule": {
  101. "pages/index": {
  102. "network": "all",
  103. "packages": ["pagesSub/activity"]
  104. },
  105. "pages/classification": {
  106. "network": "all",
  107. "packages": ["pagesSub/activity"]
  108. },
  109. "pages/order": {
  110. "network": "all",
  111. "packages": ["pagesSub/order"]
  112. },
  113. "pages/my": {
  114. "network": "wifi",
  115. "packages": ["pagesSub/my"]
  116. }
  117. },
  118. "globalStyle": {
  119. "navigationBarTextStyle": "black",
  120. "navigationBarTitleText": "趣吃",
  121. "navigationBarBackgroundColor": "#FFFFFF",
  122. "backgroundColor": "#F4F5F9"
  123. },
  124. "tabBar": {
  125. "color": "#999999",
  126. "selectedColor": "#FF6632",
  127. "borderStyle": "black",
  128. "backgroundColor": "#ffffff",
  129. "list": [{
  130. "pagePath": "pages/index",
  131. "iconPath": "static/tabber/icon_db_home.png",
  132. "selectedIconPath": "static/tabber/icon_db_home2.png",
  133. "text": "首页"
  134. }, {
  135. "pagePath": "pages/classification",
  136. "iconPath": "static/tabber/icon_db_fenl.png",
  137. "selectedIconPath": "static/tabber/icon_db_fenl2.png",
  138. "text": "分类"
  139. }, {
  140. "pagePath": "pages/order",
  141. "iconPath": "static/tabber/icon_db_dingdan.png",
  142. "selectedIconPath": "static/tabber/icon_db_dingdan2.png",
  143. "text": "订单"
  144. }, {
  145. "pagePath": "pages/my",
  146. "iconPath": "static/tabber/icon_db_my.png",
  147. "selectedIconPath": "static/tabber/icon_db_my2.png",
  148. "text": "我的"
  149. }]
  150. }
  151. }