pages.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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/login/userAuthYs",
  14. "style": {
  15. "navigationBarTitleText": "注意事项及服务协议"
  16. }
  17. },
  18. {
  19. "path": "pages/cleared/index", // 扫码记录
  20. "style": {
  21. "navigationBarTitleText": "扫码记录",
  22. "enablePullDownRefresh": false
  23. }
  24. },
  25. {
  26. "path": "pages/index/index", // 首页
  27. "style": {
  28. "navigationBarTitleText": "首页",
  29. "enablePullDownRefresh": false
  30. }
  31. },
  32. {
  33. "path": "pages/userCenter/index",
  34. "style": {
  35. "navigationBarTitleText": "个人中心",
  36. "navigationBarBackgroundColor": "#ed1c24",
  37. "navigationBarTextStyle": "white"
  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. "fontSize": "14px",
  60. "list": [
  61. {
  62. "pagePath": "pages/index/index",
  63. "text": "首页"
  64. },
  65. {
  66. "pagePath": "pages/userCenter/index",
  67. "text": "我的"
  68. }]
  69. }
  70. }