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