pages.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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/addData",
  15. "style": {
  16. "navigationBarTitleText": "垃圾数据录入"
  17. }
  18. },
  19. {
  20. "path": "pages/login/login",
  21. "style": {
  22. "navigationBarTitleText": "授权登录"
  23. }
  24. },
  25. {
  26. "path": "pages/login/phoneLogin",
  27. "style": {
  28. "navigationBarTitleText": "手机号登录"
  29. }
  30. },
  31. {
  32. "path": "pages/userCenter/index",
  33. "style": {
  34. "navigationBarTitleText": "个人中心",
  35. "navigationBarBackgroundColor": "#0DC55F",
  36. "navigationBarTextStyle": "white"
  37. }
  38. },
  39. {
  40. "path": "pages/userCenter/aboutUs",
  41. "style": {
  42. "navigationBarTitleText": "关于我们"
  43. }
  44. },
  45. {
  46. "path": "pages/agreement/agreement",
  47. "style": {
  48. "navigationBarTitleText": "用户协议及隐私政策"
  49. }
  50. },
  51. {
  52. "path": "pages/userCenter/changePwd", // 我的>修改密码
  53. "style": {
  54. "navigationBarTitleText": "修改密码"
  55. }
  56. }
  57. ],
  58. "globalStyle": {
  59. "navigationBarTextStyle": "black",
  60. "navigationBarTitleText": "uni-app",
  61. "navigationBarBackgroundColor": "#FFFFFF",
  62. "backgroundColor": "#f2f2f2",
  63. "app-plus": {
  64. // 将回弹属性关掉
  65. "bounce": "none",
  66. "scrollIndicator": "none"
  67. }
  68. },
  69. "tabBar": {
  70. "color": "#7A7E83",
  71. "selectedColor": "##0DC55F",
  72. "backgroundColor": "#ffffff",
  73. "fontSize": "14px",
  74. "list": [
  75. {
  76. "pagePath": "pages/index/index",
  77. "iconPath": "static/index/logo.png",
  78. "selectedIconPath": "static/index/logo-active.png",
  79. "text": "采集"
  80. },
  81. {
  82. "pagePath": "pages/userCenter/index",
  83. "iconPath": "static/tabbar/user.png",
  84. "selectedIconPath": "static/tabbar/user-active.png",
  85. "text": "我的"
  86. }]
  87. }
  88. }