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/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. "fontSize": "14px",
  60. "list": [
  61. {
  62. "pagePath": "pages/index/index",
  63. "text": "首页"
  64. },
  65. {
  66. "pagePath": "pages/userCenter/index",
  67. "text": "我的"
  68. }]
  69. }
  70. }