pages.json 1.9 KB

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