pages.json 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "navigationBarTitleText": "超市",
  7. "app-plus": {
  8. "scrollIndicator": "none"
  9. //"enablePullDownRefresh": true
  10. }
  11. }
  12. }, {
  13. "path": "pages/store/index",
  14. "style": {
  15. "app-plus": {
  16. "scrollIndicator": "none"
  17. }
  18. }
  19. }
  20. , {
  21. "path": "pages/product/product",
  22. "style": {
  23. "app-plus": {
  24. "animationType": "zoom-out",
  25. "animationDuration": 300
  26. }
  27. }
  28. }
  29. , {
  30. "path": "pages/user/login/login",
  31. "style": {
  32. "app-plus": {
  33. "scrollIndicator": "none"
  34. }
  35. }
  36. }, {
  37. "path": "pages/user/register/register",
  38. "style": {
  39. "app-plus": {
  40. "scrollIndicator": "none"
  41. }
  42. }
  43. }, {
  44. "path": "pages/user/forget/forget",
  45. "style": {
  46. "app-plus": {
  47. "scrollIndicator": "none"
  48. }
  49. }
  50. }, {
  51. "path": "pages/user/center/center",
  52. "style": {
  53. "app-plus": {
  54. "scrollIndicator": "none"
  55. }
  56. }
  57. }, {
  58. "path": "pages/user/setting/setting",
  59. "style": {}
  60. }, {
  61. "path": "pages/user/bash/bash",
  62. "style": {
  63. "app-plus": {
  64. "scrollIndicator": "none"
  65. }
  66. }
  67. }
  68. , {
  69. "path": "pages/user/account_security/security",
  70. "style": {}
  71. }, {
  72. "path": "pages/user/account_security/phone",
  73. "style": {}
  74. }, {
  75. "path": "pages/user/account_security/update_password",
  76. "style": {}
  77. }, {
  78. "path": "pages/user/account_security/address_book",
  79. "style": {}
  80. }, {
  81. "path": "pages/user/account_security/update_phone",
  82. "style": {}
  83. }, {
  84. "path": "pages/user/account_security/bind_phone",
  85. "style": {}
  86. }, {
  87. "path": "pages/base/protocol/protocol",
  88. "style": {}
  89. }, {
  90. "path": "pages/base/about",
  91. "style": {}
  92. }, {
  93. "path": "pages/base/features",
  94. "style": {}
  95. }, {
  96. "path": "pages/base/release_notes",
  97. "style": {}
  98. }, {
  99. "path": "pages/base/help_feedback",
  100. "style": {}
  101. }, {
  102. "path": "pages/base/help_problem",
  103. "style": {}
  104. }, {
  105. "path": "pages/user/account_security/forget_password",
  106. "style": {}
  107. }, {
  108. "path": "pages/user/account_security/verification_phone",
  109. "style": {}
  110. }
  111. , {
  112. "path": "pages/user/address/address",
  113. "style": {}
  114. }, {
  115. "path": "pages/user/address/addressManage",
  116. "style": {}
  117. }
  118. , {
  119. "path": "pages/order/order",
  120. "style": {}
  121. }, {
  122. "path": "pages/order/preview",
  123. "style": {
  124. "app-plus": {
  125. "scrollIndicator": "none"
  126. }
  127. }
  128. }, {
  129. "path": "pages/order/pay",
  130. "style": {
  131. "app-plus": {
  132. "scrollIndicator": "none"
  133. }
  134. }
  135. }, {
  136. "path": "pages/search/search",
  137. "style": {}
  138. }, {
  139. "path": "pages/user/coupon/coupon",
  140. "style": {}
  141. }, {
  142. "path": "pages/map/location",
  143. "style": {
  144. }
  145. },
  146. {
  147. "path": "pages/index/detail",
  148. "style": {
  149. }
  150. }, {
  151. "path": "pages/market/market",
  152. "style": {
  153. "navigationBarTitleText": "",
  154. "enablePullDownRefresh": false
  155. }
  156. }
  157. ],
  158. "globalStyle": {
  159. "navigationBarTextStyle": "black",
  160. "navigationBarTitleText": "uni-app",
  161. "navigationBarBackgroundColor": "#F8F8F8",
  162. "navigationStyle": "custom",
  163. "backgroundColor": "#F8F8F8"
  164. },
  165. "tabBar": {
  166. "color": "#C0C4CC",
  167. "selectedColor": "#ffc107",
  168. "borderStyle": "black",
  169. "backgroundColor": "#ffffff",
  170. "fontSize": "11px",
  171. "spacing": "5px",
  172. "list": [{
  173. "pagePath": "pages/index/index",
  174. "iconPath": "static/tabbar/tab-home.png",
  175. "selectedIconPath": "static/tabbar/tab-home-current.png",
  176. "text": "首页"
  177. },
  178. {
  179. "pagePath": "pages/market/market",
  180. "iconPath": "static/tabbar/tab-cart.png",
  181. "selectedIconPath": "static/tabbar/tab-cart-current.png",
  182. "text": "超市"
  183. },
  184. // {
  185. // "pagePath": "pages/user/address/address",
  186. // "iconPath": "static/tabbar/tab-cart.png",
  187. // "selectedIconPath": "static/tabbar/tab-cart-current.png",
  188. // "text": "购物车"
  189. // },
  190. // {
  191. // "pagePath": "pages/order/order",
  192. // "iconPath": "static/tabbar/order.png",
  193. // "selectedIconPath": "static/tabbar/order-current.png",
  194. // "text": "订单"
  195. // },
  196. {
  197. "pagePath": "pages/user/center/center",
  198. "iconPath": "static/tabbar/tab-my.png",
  199. "selectedIconPath": "static/tabbar/tab-my-current.png",
  200. "text": "我的"
  201. }
  202. ]
  203. },
  204. "condition": { //模式配置,仅开发期间生效
  205. "current": 0, //当前激活的模式(list 的索引项)
  206. "list": [{
  207. "name": "test", //模式名称
  208. "path": "pages/store/index", //启动页面,必选
  209. "query": "" //启动参数,在页面的onLoad函数里面得到
  210. }]
  211. }
  212. }