pages.json 2.4 KB

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