pages.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. {
  16. "navigationBarTitleText": "垃圾投放",
  17. "enablePullDownRefresh": false
  18. }
  19. },
  20. {
  21. "path": "pages/hexiao/index",
  22. "style": {
  23. "navigationBarTitleText": "交易记录",
  24. "enablePullDownRefresh": false
  25. }
  26. },
  27. {
  28. "path": "pages/userCenter/index",
  29. "style": {
  30. "navigationBarTitleText": "个人中心",
  31. "navigationBarBackgroundColor": "#2ab4e5",
  32. "navigationBarTextStyle": "white"
  33. }
  34. },
  35. {
  36. "path": "pages/userCenter/aboutUs",
  37. "style": {
  38. "navigationBarTitleText": "关于我们"
  39. }
  40. },
  41. {
  42. "path": "pages/agreement/agreement",
  43. "style": {
  44. "navigationBarTitleText": "注意事项及服务协议"
  45. }
  46. },
  47. {
  48. "path": "pages/userCenter/leDouQuery",
  49. "style": {
  50. "navigationBarTitleText": "乐豆查询"
  51. }
  52. },
  53. {
  54. "path": "pages/userCenter/changePwd", // 我的>修改密码
  55. "style": {
  56. "navigationBarTitleText": "修改密码"
  57. }
  58. }
  59. ,{
  60. "path" : "pages/ledouHexiao/ledouHexiao",
  61. "style" :
  62. {
  63. "navigationBarTitleText": "乐豆核销",
  64. "enablePullDownRefresh": false
  65. }
  66. }
  67. ,{
  68. "path" : "pages/ledouHexiao/hexiaoSuccess",
  69. "style" :
  70. {
  71. "navigationBarTitleText": "核销成功",
  72. "enablePullDownRefresh": false
  73. }
  74. }
  75. ,{
  76. "path" : "pages/userAuth/userAuth",
  77. "style" :
  78. {
  79. "navigationBarTitleText": "投放称重",
  80. "enablePullDownRefresh": false
  81. }
  82. }
  83. ],
  84. "globalStyle": {
  85. "navigationBarTextStyle": "black",
  86. "navigationBarTitleText": "uni-app",
  87. "navigationBarBackgroundColor": "#FFFFFF",
  88. "backgroundColor": "#f2f2f2",
  89. "app-plus": {
  90. // 将回弹属性关掉
  91. "bounce": "none",
  92. "scrollIndicator": "none"
  93. }
  94. },
  95. "tabBar": {
  96. "color": "#7A7E83",
  97. "selectedColor": "#2ab4e5",
  98. "backgroundColor": "#ffffff",
  99. "fontSize": "14px",
  100. "list": [
  101. {
  102. "pagePath": "pages/index/index",
  103. "iconPath": "static/tabbar/dzicheng.png",
  104. "selectedIconPath": "static/tabbar/dzicheng-active.png",
  105. "text": "垃圾投放"
  106. },
  107. {
  108. "pagePath": "pages/hexiao/index",
  109. "iconPath": "static/tabbar/record.png",
  110. "selectedIconPath": "static/tabbar/record-active.png",
  111. "text": "交易记录"
  112. },
  113. {
  114. "pagePath": "pages/userCenter/index",
  115. "iconPath": "static/tabbar/user.png",
  116. "selectedIconPath": "static/tabbar/user-active.png",
  117. "text": "我的"
  118. }]
  119. }
  120. }