pages.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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/index/index", // 首页
  26. "style": {
  27. "navigationBarTitleText": "首页",
  28. "enablePullDownRefresh": false
  29. }
  30. },
  31. {
  32. "path": "pages/userCenter/index",
  33. "style": {
  34. "navigationBarTitleText": "个人中心",
  35. "navigationBarTextStyle": "white"
  36. }
  37. },
  38. {
  39. "path": "pages/userCenter/changePwd", // 我的>修改密码
  40. "style": {
  41. "navigationBarTitleText": "修改密码"
  42. }
  43. }
  44. ],
  45. "globalStyle": {
  46. "navigationBarTextStyle": "black",
  47. "navigationBarTitleText": "uni-app",
  48. "navigationBarBackgroundColor": "#FFFFFF",
  49. "backgroundColor": "#f2f2f2",
  50. "app-plus": {
  51. // 将回弹属性关掉
  52. "bounce": "none",
  53. "scrollIndicator": "none"
  54. }
  55. },
  56. "tabBar": {
  57. "fontSize": "14px",
  58. "list": [
  59. {
  60. "pagePath": "pages/index/index",
  61. "text": "首页"
  62. },
  63. {
  64. "pagePath": "pages/userCenter/index",
  65. "text": "我的"
  66. }]
  67. }
  68. }