pages.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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. "globalStyle": {
  52. "navigationBarTextStyle": "white",
  53. "navigationBarTitleText": "uni-app",
  54. "navigationBarBackgroundColor": "#22bf11",
  55. "backgroundColor": "#F8F8F8",
  56. "app-plus": {
  57. // 将回弹属性关掉
  58. "bounce": "none",
  59. "scrollIndicator": "none"
  60. }
  61. },
  62. "tabBar": {
  63. "color": "#7A7E83",
  64. "selectedColor": "#00aa00",
  65. "borderStyle": "#eee",
  66. "backgroundColor": "#ffffff",
  67. "fontSize": "14px",
  68. "list": [{
  69. "pagePath": "pages/index/index",
  70. "iconPath": "static/tabbar/home.png",
  71. "selectedIconPath": "static/tabbar/home-active.png",
  72. "text": "首页"
  73. },
  74. {
  75. "pagePath": "pages/userCenter/index",
  76. "iconPath": "static/tabbar/user.png",
  77. "selectedIconPath": "static/tabbar/user-active.png",
  78. "text": "我的"
  79. }]
  80. }
  81. }