pages.json 1.6 KB

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