pages.json 2.9 KB

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