pages.json 2.8 KB

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