pages.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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/index/index", // 首页
  8. "style": {
  9. "navigationBarTitleText": "乐色助手",
  10. "enablePullDownRefresh": false
  11. }
  12. },
  13. {
  14. "path": "pages/login/login",
  15. "style": {
  16. "navigationBarTitleText": "登录"
  17. }
  18. },
  19. {
  20. "path": "pages/userCenter/index",
  21. "style": {
  22. "navigationBarTitleText": "个人中心",
  23. "navigationBarBackgroundColor": "#01c9b2",
  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": "#01c9b2",
  60. "backgroundColor": "#ffffff",
  61. "fontSize": "14px",
  62. "list": [
  63. {
  64. "pagePath": "pages/index/index",
  65. "iconPath": "static/tabbar/home.png",
  66. "selectedIconPath": "static/tabbar/home-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. }