pages.json 1.8 KB

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