pages.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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/userCenter/index",
  28. "style": {
  29. "navigationBarTitleText": "个人中心",
  30. "navigationBarBackgroundColor": "#01c9b2",
  31. "navigationBarTextStyle": "white"
  32. }
  33. },
  34. {
  35. "path": "pages/userCenter/aboutUs",
  36. "style": {
  37. "navigationBarTitleText": "关于我们"
  38. }
  39. },
  40. {
  41. "path": "pages/userCenter/liucheng",
  42. "style": {
  43. "navigationBarTitleText": "投递流程"
  44. }
  45. },
  46. {
  47. "path": "pages/userCenter/zhinan",
  48. "style": {
  49. "navigationBarTitleText": "分类指南"
  50. }
  51. },
  52. {
  53. "path": "pages/order/order",
  54. "style": {
  55. "navigationBarTitleText": "我的订单"
  56. }
  57. }, {
  58. "path": "pages/order/orderDetail",
  59. "style": {
  60. "navigationBarTitleText": "订单详情"
  61. }
  62. },
  63. {
  64. "path": "pages/order/LogList",
  65. "style": {
  66. "navigationBarTitleText": "物流信息"
  67. }
  68. },
  69. {
  70. "path": "pages/agreement/agreement",
  71. "style": {
  72. "navigationBarTitleText": "注意事项及服务协议"
  73. }
  74. }
  75. ,{
  76. "path" : "pages/cart/cart",
  77. "style" :
  78. {
  79. "navigationBarTitleText": "购物车",
  80. "enablePullDownRefresh": false
  81. }
  82. }
  83. ,{
  84. "path" : "pages/toOrder/index",
  85. "style" :
  86. {
  87. "navigationBarTitleText": "提交订单",
  88. "enablePullDownRefresh": false
  89. }
  90. }
  91. ,{
  92. "path" : "pages/toOrder/editAddress",
  93. "style" :
  94. {
  95. "navigationBarTitleText": "修改地址",
  96. "enablePullDownRefresh": false
  97. }
  98. }
  99. ,{
  100. "path" : "pages/goods/goods",
  101. "style" :
  102. {
  103. "navigationBarTitleText": "商品",
  104. "enablePullDownRefresh": false
  105. }
  106. },
  107. {
  108. "path" : "pages/goods/goodsDetail",
  109. "style" :
  110. {
  111. "navigationBarTitleText": "商品详情",
  112. "enablePullDownRefresh": false
  113. }
  114. }
  115. ,{
  116. "path" : "pages/store/store",
  117. "style" :
  118. {
  119. "navigationBarTitleText": "网点详情",
  120. "enablePullDownRefresh": false
  121. }
  122. }
  123. ],
  124. "globalStyle": {
  125. "navigationBarTextStyle": "black",
  126. "navigationBarTitleText": "uni-app",
  127. "navigationBarBackgroundColor": "#FFFFFF",
  128. "backgroundColor": "#f2f2f2",
  129. "app-plus": {
  130. // 将回弹属性关掉
  131. "bounce": "none",
  132. "scrollIndicator": "none"
  133. }
  134. },
  135. "tabBar": {
  136. "color": "#7A7E83",
  137. "selectedColor": "#01c9b2",
  138. "backgroundColor": "#ffffff",
  139. "fontSize": "14px",
  140. "list": [
  141. {
  142. "pagePath": "pages/index/index",
  143. "iconPath": "static/tabbar/home.png",
  144. "selectedIconPath": "static/tabbar/home-active.png",
  145. "text": "首页"
  146. },
  147. {
  148. "pagePath": "pages/goods/index",
  149. "iconPath": "static/tabbar/shop.png",
  150. "selectedIconPath": "static/tabbar/shop-active.png",
  151. "text": "商城"
  152. },
  153. {
  154. "pagePath": "pages/userCenter/index",
  155. "iconPath": "static/tabbar/user.png",
  156. "selectedIconPath": "static/tabbar/user-active.png",
  157. "text": "我的"
  158. }]
  159. }
  160. }