pages.json 2.3 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/index/yuyue",
  15. "style": {
  16. "navigationBarTitleText": "上门预约"
  17. }
  18. },
  19. {
  20. "path": "pages/index/userInfo",
  21. "style": {
  22. "navigationBarTitleText": "用户信息"
  23. }
  24. },
  25. {
  26. "path": "pages/index/yuyueResult",
  27. "style": {
  28. "navigationBarTitleText": "预约结果"
  29. }
  30. },
  31. {
  32. "path": "pages/index/zhiyin",
  33. "style": {
  34. "navigationBarTitleText": "回收指引"
  35. }
  36. },
  37. {
  38. "path": "pages/login/login",
  39. "style": {
  40. "navigationBarTitleText": "授权登录"
  41. }
  42. },
  43. {
  44. "path": "pages/userCenter/index",
  45. "style": {
  46. "navigationBarTitleText": "我的",
  47. "navigationBarBackgroundColor": "#fff",
  48. "navigationBarTextStyle": "black"
  49. }
  50. },
  51. {
  52. "path": "pages/order/index",
  53. "style": {
  54. "navigationBarTitleText": "待服务",
  55. "navigationBarBackgroundColor": "#fff",
  56. "navigationBarTextStyle": "black"
  57. }
  58. },
  59. {
  60. "path": "pages/userCenter/aboutUs",
  61. "style": {
  62. "navigationBarTitleText": "关于我们"
  63. }
  64. },
  65. {
  66. "path": "pages/agreement/agreement",
  67. "style": {
  68. "navigationBarTitleText": "用户协议及隐私政策"
  69. }
  70. }
  71. ],
  72. "globalStyle": {
  73. "navigationBarTextStyle": "black",
  74. "navigationBarTitleText": "uni-app",
  75. "navigationBarBackgroundColor": "#FFFFFF",
  76. "backgroundColor": "#f2f2f2",
  77. "app-plus": {
  78. // 将回弹属性关掉
  79. "bounce": "none",
  80. "scrollIndicator": "none"
  81. }
  82. },
  83. "tabBar": {
  84. "color": "#999999.",
  85. "selectedColor": "#4F88F7",
  86. "backgroundColor": "#ffffff",
  87. "fontSize": "14px",
  88. "list": [
  89. {
  90. "pagePath": "pages/index/index",
  91. "iconPath": "static/home.png",
  92. "selectedIconPath": "static/home_current.png",
  93. "text": "首页"
  94. },
  95. {
  96. "pagePath": "pages/order/index",
  97. "iconPath": "static/order.png",
  98. "selectedIconPath": "static/order_current.png",
  99. "text": "订单"
  100. },
  101. {
  102. "pagePath": "pages/userCenter/index",
  103. "iconPath": "static/person.png",
  104. "selectedIconPath": "static/person_current.png",
  105. "text": "我的"
  106. }]
  107. }
  108. }