pages.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. {
  2. "tabBar": {
  3. "backgroundColor": "#fff",
  4. "selectedColor": "#41ABF5",
  5. "color": "#666",
  6. "borderStyle": "white",
  7. "fontSize": "20rpx",
  8. "iconWidth": "48rpx",
  9. "height": "48rpx",
  10. "list": [{
  11. "pagePath": "pages/index/index",
  12. "iconPath": "static/img/tabBar/business.png",
  13. "selectedIconPath": "static/img/tabBar/business-highlight.png",
  14. "text": "首页"
  15. },
  16. {
  17. "pagePath": "pages/order/index",
  18. "iconPath": "static/img/tabBar/home.png",
  19. "selectedIconPath": "static/img/tabBar/home-highlight.png",
  20. "text": "订单"
  21. },
  22. {
  23. "pagePath": "pages/me/index",
  24. "iconPath": "static/img/tabBar/my.png",
  25. "selectedIconPath": "static/img/tabBar/my-highlight.png",
  26. "text": "我"
  27. }
  28. ]
  29. },
  30. "pages": [
  31. {
  32. "path": "pages/index/index",
  33. "style": {
  34. "navigationBarTitleText": "首页",
  35. "enablePullDownRefresh": true
  36. }
  37. },
  38. {
  39. "path": "pages/login/index",
  40. "style": {
  41. "navigationBarTitleText": "登陆"
  42. }
  43. },
  44. {
  45. "path": "pages/me/index",
  46. "style": {
  47. "navigationBarTitleText": "我的"
  48. }
  49. },
  50. {
  51. "path": "pages/order/index",
  52. "style": {
  53. "navigationBarTitleText": "订单"
  54. }
  55. }
  56. ],
  57. "subPackages": [
  58. {
  59. "root": "pages-address",
  60. "pages": [
  61. {
  62. "path": "select-school",
  63. "style": {
  64. "navigationBarTitleText": "地址选择"
  65. }
  66. }
  67. ]
  68. },
  69. {
  70. "root": "pages-my",
  71. "pages": [
  72. {
  73. "path": "user-info",
  74. "style": {
  75. "navigationBarTitleText": "个人资料"
  76. }
  77. },
  78. {
  79. "path": "set-user-name",
  80. "style": {
  81. "navigationBarTitleText": "昵称设置"
  82. }
  83. },
  84. {
  85. "path": "set-user-sex",
  86. "style": {
  87. "navigationBarTitleText": "性别设置"
  88. }
  89. },
  90. {
  91. "path": "set-user-phone",
  92. "style": {
  93. "navigationBarTitleText": "更换手机号"
  94. }
  95. },
  96. {
  97. "path": "my-ticket",
  98. "style": {
  99. "navigationBarTitleText": "我的卡券"
  100. }
  101. },
  102. {
  103. "path": "rule-info",
  104. "style": {
  105. "navigationBarTitleText": "规则详情"
  106. }
  107. },
  108. {
  109. "path": "ticket-centre",
  110. "style": {
  111. "navigationBarTitleText": "领券中心"
  112. }
  113. },
  114. {
  115. "path": "my-appraise",
  116. "style": {
  117. "navigationBarTitleText": "我的评价"
  118. }
  119. },
  120. {
  121. "path": "appraise",
  122. "style": {
  123. "navigationBarTitleText": "评价"
  124. }
  125. }
  126. ]
  127. }
  128. ],
  129. "preloadRule":{
  130. "pages/index/index":{
  131. "network": "wifi",
  132. "packages": ["pages-address"]
  133. }
  134. },
  135. "globalStyle": {
  136. "navigationBarTextStyle": "black",
  137. "navigationBarTitleText": "uni-app",
  138. "navigationBarBackgroundColor": "#F8F8F8",
  139. "backgroundColor": "#F8F8F8",
  140. "navigationStyle": "custom"
  141. },
  142. "condition": {
  143. "current": 0,
  144. "list": [{
  145. "name": "列表调试",
  146. "path": "pages-my/set-user-phone",
  147. "query": ""
  148. }]
  149. }
  150. }