pages.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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/leDouQuery",
  41. "style": {
  42. "navigationBarTitleText": "乐豆查询"
  43. }
  44. },
  45. {
  46. "path": "pages/userCenter/changePwd", // 我的>修改密码
  47. "style": {
  48. "navigationBarTitleText": "修改密码"
  49. }
  50. }
  51. ,{
  52. "path" : "pages/ledouHexiao/ledouHexiao",
  53. "style" :
  54. {
  55. "navigationBarTitleText": "乐豆核销",
  56. "enablePullDownRefresh": false
  57. }
  58. }
  59. ,{
  60. "path" : "pages/ledouHexiao/hexiaoSuccess",
  61. "style" :
  62. {
  63. "navigationBarTitleText": "核销成功",
  64. "enablePullDownRefresh": false
  65. }
  66. }
  67. ],
  68. "globalStyle": {
  69. "navigationBarTextStyle": "black",
  70. "navigationBarTitleText": "uni-app",
  71. "navigationBarBackgroundColor": "#FFFFFF",
  72. "backgroundColor": "#f2f2f2",
  73. "app-plus": {
  74. // 将回弹属性关掉
  75. "bounce": "none",
  76. "scrollIndicator": "none"
  77. }
  78. },
  79. "tabBar": {
  80. "color": "#7A7E83",
  81. "selectedColor": "#2ab4e5",
  82. "backgroundColor": "#ffffff",
  83. "fontSize": "14px",
  84. "list": [
  85. {
  86. "pagePath": "pages/index/index",
  87. "iconPath": "static/tabbar/record.png",
  88. "selectedIconPath": "static/tabbar/record-active.png",
  89. "text": "交易记录"
  90. },
  91. {
  92. "pagePath": "pages/userCenter/index",
  93. "iconPath": "static/tabbar/user.png",
  94. "selectedIconPath": "static/tabbar/user-active.png",
  95. "text": "我的"
  96. }]
  97. }
  98. }