pages.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  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/index/map",
  28. "style": {
  29. "navigationBarTitleText": "清运地图"
  30. }
  31. },
  32. {
  33. "path": "pages/cleared/chooseNetwork",
  34. "style": {
  35. "navigationBarTitleText": "待清运网点"
  36. }
  37. },
  38. {
  39. "path": "pages/cleared/network",
  40. "style": {
  41. "navigationBarTitleText": "网点详情"
  42. }
  43. },
  44. {
  45. "path": "pages/cleared/index", // 已清运
  46. "style": {
  47. "navigationBarTitleText": "已清运",
  48. "enablePullDownRefresh": false
  49. }
  50. },
  51. {
  52. "path": "pages/cleared/details", // 已清运详情
  53. "style": {
  54. "navigationBarTitleText": "详情"
  55. }
  56. },
  57. {
  58. "path": "pages/userCenter/index",
  59. "style": {
  60. "navigationBarTitleText": "个人中心",
  61. "navigationBarBackgroundColor": "#01c9b2",
  62. "navigationBarTextStyle": "white"
  63. }
  64. },
  65. {
  66. "path": "pages/agreement/agreement",
  67. "style": {
  68. "navigationBarTitleText": "注意事项及服务协议"
  69. }
  70. },
  71. {
  72. "path": "pages/userCenter/changePwd", // 我的>修改密码
  73. "style": {
  74. "navigationBarTitleText": "修改密码"
  75. }
  76. }
  77. ],
  78. "globalStyle": {
  79. "navigationBarTextStyle": "black",
  80. "navigationBarTitleText": "uni-app",
  81. "navigationBarBackgroundColor": "#FFFFFF",
  82. "backgroundColor": "#f2f2f2",
  83. "app-plus": {
  84. // 将回弹属性关掉
  85. "bounce": "none",
  86. "scrollIndicator": "none"
  87. }
  88. },
  89. "tabBar": {
  90. "color": "#7A7E83",
  91. "selectedColor": "#01c9b2",
  92. "backgroundColor": "#ffffff",
  93. "fontSize": "14px",
  94. "list": [
  95. {
  96. "pagePath": "pages/index/index",
  97. "iconPath": "static/tabbar/unclean.png",
  98. "selectedIconPath": "static/tabbar/unclean-active.png",
  99. "text": "待清运"
  100. },
  101. {
  102. "pagePath": "pages/cleared/index",
  103. "iconPath": "static/tabbar/cleared.png",
  104. "selectedIconPath": "static/tabbar/cleared-active.png",
  105. "text": "已清运"
  106. },
  107. {
  108. "pagePath": "pages/userCenter/index",
  109. "iconPath": "static/tabbar/user.png",
  110. "selectedIconPath": "static/tabbar/user-active.png",
  111. "text": "我的"
  112. }]
  113. }
  114. }