pages.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "path": "pages/index/index", // 首页
  8. "style": {
  9. "navigationBarTitleText": "乐色商城",
  10. "enablePullDownRefresh": false
  11. }
  12. },
  13. {
  14. "path": "pages/goods/index", // 商城
  15. "style": {
  16. "navigationBarTitleText": "乐色商城",
  17. "enablePullDownRefresh": false
  18. }
  19. },
  20. {
  21. "path": "pages/login/login",
  22. "style": {
  23. "navigationBarTitleText": "授权登录"
  24. }
  25. },
  26. {
  27. "path": "pages/login/phoneLogin",
  28. "style": {
  29. "navigationBarTitleText": "手机号登录"
  30. }
  31. },
  32. {
  33. "path": "pages/userCenter/index",
  34. "style": {
  35. "navigationBarTitleText": "个人中心",
  36. "navigationBarBackgroundColor": "#01c9b2",
  37. "navigationBarTextStyle": "white"
  38. }
  39. },
  40. {
  41. "path": "pages/userCenter/aboutUs",
  42. "style": {
  43. "navigationBarTitleText": "关于我们"
  44. }
  45. },
  46. {
  47. "path": "pages/userCenter/liucheng",
  48. "style": {
  49. "navigationBarTitleText": "投递流程"
  50. }
  51. },
  52. {
  53. "path": "pages/userCenter/zhinan",
  54. "style": {
  55. "navigationBarTitleText": "分类指南"
  56. }
  57. },
  58. {
  59. "path": "pages/order/order",
  60. "style": {
  61. "navigationBarTitleText": "我的订单"
  62. }
  63. }, {
  64. "path": "pages/order/orderDetail",
  65. "style": {
  66. "navigationBarTitleText": "订单详情"
  67. }
  68. },
  69. {
  70. "path": "pages/order/LogList",
  71. "style": {
  72. "navigationBarTitleText": "物流信息"
  73. }
  74. },
  75. {
  76. "path": "pages/agreement/agreement",
  77. "style": {
  78. "navigationBarTitleText": "注意事项及服务协议"
  79. }
  80. }
  81. ,{
  82. "path" : "pages/cart/cart",
  83. "style" :
  84. {
  85. "navigationBarTitleText": "购物车",
  86. "enablePullDownRefresh": false
  87. }
  88. }
  89. ,{
  90. "path" : "pages/toOrder/index",
  91. "style" :
  92. {
  93. "navigationBarTitleText": "提交订单",
  94. "enablePullDownRefresh": false
  95. }
  96. }
  97. ,{
  98. "path" : "pages/toOrder/editAddress",
  99. "style" :
  100. {
  101. "navigationBarTitleText": "修改地址",
  102. "enablePullDownRefresh": false
  103. }
  104. }
  105. ,{
  106. "path" : "pages/goods/goods",
  107. "style" :
  108. {
  109. "navigationBarTitleText": "商品",
  110. "enablePullDownRefresh": false
  111. }
  112. },
  113. {
  114. "path" : "pages/goods/goodsDetail",
  115. "style" :
  116. {
  117. "navigationBarTitleText": "商品详情",
  118. "enablePullDownRefresh": false
  119. }
  120. }
  121. ,{
  122. "path" : "pages/store/store",
  123. "style" :
  124. {
  125. "navigationBarTitleText": "网点详情",
  126. "enablePullDownRefresh": false
  127. }
  128. }
  129. ],
  130. "globalStyle": {
  131. "navigationBarTextStyle": "black",
  132. "navigationBarTitleText": "uni-app",
  133. "navigationBarBackgroundColor": "#FFFFFF",
  134. "backgroundColor": "#f2f2f2",
  135. "app-plus": {
  136. // 将回弹属性关掉
  137. "bounce": "none",
  138. "scrollIndicator": "none"
  139. }
  140. },
  141. "tabBar": {
  142. "color": "#7A7E83",
  143. "selectedColor": "#01c9b2",
  144. "backgroundColor": "#ffffff",
  145. "fontSize": "14px",
  146. "list": [
  147. {
  148. "pagePath": "pages/index/index",
  149. "iconPath": "static/tabbar/home.png",
  150. "selectedIconPath": "static/tabbar/home-active.png",
  151. "text": "首页"
  152. },
  153. {
  154. "pagePath": "pages/goods/index",
  155. "iconPath": "static/tabbar/shop.png",
  156. "selectedIconPath": "static/tabbar/shop-active.png",
  157. "text": "商城"
  158. },
  159. {
  160. "pagePath": "pages/userCenter/index",
  161. "iconPath": "static/tabbar/user.png",
  162. "selectedIconPath": "static/tabbar/user-active.png",
  163. "text": "我的"
  164. }]
  165. }
  166. }