pages.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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/cleared/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/login/pwLogin",
  21. "style": {
  22. "navigationBarTitleText": "密码登录"
  23. }
  24. },
  25. {
  26. "path": "pages/index/index", // 未清运
  27. "style": {
  28. "navigationBarTitleText": "未清运",
  29. "enablePullDownRefresh": false
  30. }
  31. },
  32. {
  33. "path": "pages/userCenter/index",
  34. "style": {
  35. "navigationBarTitleText": "个人中心",
  36. "navigationBarBackgroundColor": "#2ab4e5",
  37. "navigationBarTextStyle": "white"
  38. }
  39. },
  40. {
  41. "path": "pages/agreement/agreement",
  42. "style": {
  43. "navigationBarTitleText": "注意事项及服务协议"
  44. }
  45. },
  46. {
  47. "path": "pages/userCenter/changePwd", // 我的>修改密码
  48. "style": {
  49. "navigationBarTitleText": "修改密码"
  50. }
  51. }
  52. ],
  53. "globalStyle": {
  54. "navigationBarTextStyle": "black",
  55. "navigationBarTitleText": "uni-app",
  56. "navigationBarBackgroundColor": "#FFFFFF",
  57. "backgroundColor": "#f2f2f2",
  58. "app-plus": {
  59. // 将回弹属性关掉
  60. "bounce": "none",
  61. "scrollIndicator": "none"
  62. }
  63. },
  64. "tabBar": {
  65. "color": "#7A7E83",
  66. "selectedColor": "#2ab4e5",
  67. "backgroundColor": "#ffffff",
  68. "fontSize": "14px",
  69. "list": [
  70. {
  71. "pagePath": "pages/index/index",
  72. "iconPath": "static/tabbar/record.png",
  73. "selectedIconPath": "static/tabbar/record-active.png",
  74. "text": "待清运"
  75. },
  76. {
  77. "pagePath": "pages/cleared/index",
  78. "iconPath": "static/tabbar/record.png",
  79. "selectedIconPath": "static/tabbar/record-active.png",
  80. "text": "已清运"
  81. },
  82. {
  83. "pagePath": "pages/userCenter/index",
  84. "iconPath": "static/tabbar/user.png",
  85. "selectedIconPath": "static/tabbar/user-active.png",
  86. "text": "我的"
  87. }]
  88. }
  89. }