pages.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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/login/login",
  15. "style": {
  16. "navigationBarTitleText": "授权登录"
  17. }
  18. },
  19. {
  20. "path": "pages/userCenter/index",
  21. "style": {
  22. "navigationBarTitleText": "个人中心",
  23. "navigationBarBackgroundColor": "#01c9b2",
  24. "navigationBarTextStyle": "white"
  25. }
  26. },
  27. {
  28. "path": "pages/userCenter/aboutUs",
  29. "style": {
  30. "navigationBarTitleText": "关于我们"
  31. }
  32. },
  33. {
  34. "path": "pages/order/order",
  35. "style": {
  36. "navigationBarTitleText": "我的订单"
  37. }
  38. }, {
  39. "path": "pages/order/orderDetail",
  40. "style": {
  41. "navigationBarTitleText": "订单详情"
  42. }
  43. },
  44. {
  45. "path": "pages/order/LogList",
  46. "style": {
  47. "navigationBarTitleText": "物流信息"
  48. }
  49. },
  50. {
  51. "path": "pages/agreement/agreement",
  52. "style": {
  53. "navigationBarTitleText": "注意事项及服务协议"
  54. }
  55. }
  56. ,{
  57. "path" : "pages/cart/cart",
  58. "style" :
  59. {
  60. "navigationBarTitleText": "购物车",
  61. "enablePullDownRefresh": false
  62. }
  63. }
  64. ,{
  65. "path" : "pages/toOrder/index",
  66. "style" :
  67. {
  68. "navigationBarTitleText": "提交订单",
  69. "enablePullDownRefresh": false
  70. }
  71. }
  72. ,{
  73. "path" : "pages/goods/goods",
  74. "style" :
  75. {
  76. "navigationBarTitleText": "商品",
  77. "enablePullDownRefresh": false
  78. }
  79. },
  80. {
  81. "path" : "pages/goods/goodsDetail",
  82. "style" :
  83. {
  84. "navigationBarTitleText": "商品详情",
  85. "enablePullDownRefresh": false
  86. }
  87. }
  88. ],
  89. "globalStyle": {
  90. "navigationBarTextStyle": "black",
  91. "navigationBarTitleText": "uni-app",
  92. "navigationBarBackgroundColor": "#FFFFFF",
  93. "backgroundColor": "#f2f2f2",
  94. "app-plus": {
  95. // 将回弹属性关掉
  96. "bounce": "none",
  97. "scrollIndicator": "none"
  98. }
  99. },
  100. "tabBar": {
  101. "color": "#7A7E83",
  102. "selectedColor": "#01c9b2",
  103. "borderStyle": "#eee",
  104. "backgroundColor": "#ffffff",
  105. "fontSize": "14px",
  106. "list": [{
  107. "pagePath": "pages/index/index",
  108. "iconPath": "static/tabbar/home.png",
  109. "selectedIconPath": "static/tabbar/home-active.png",
  110. "text": "首页"
  111. },
  112. {
  113. "pagePath": "pages/userCenter/index",
  114. "iconPath": "static/tabbar/user.png",
  115. "selectedIconPath": "static/tabbar/user-active.png",
  116. "text": "我的"
  117. }]
  118. }
  119. }