pages.json 2.2 KB

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