pages.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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. "path" : "pages/tdRecord/tdRecord",
  85. "style" :
  86. {
  87. "navigationBarTitleText": "投递记录",
  88. "enablePullDownRefresh": false
  89. }
  90. }
  91. ,{
  92. "path" : "pages/help/help",
  93. "style" :
  94. {
  95. "navigationBarTitleText": "蓝牙使用帮助",
  96. "enablePullDownRefresh": false
  97. }
  98. }
  99. ],
  100. "globalStyle": {
  101. "navigationBarTextStyle": "black",
  102. "navigationBarTitleText": "uni-app",
  103. "navigationBarBackgroundColor": "#FFFFFF",
  104. "backgroundColor": "#f2f2f2",
  105. "app-plus": {
  106. // 将回弹属性关掉
  107. "bounce": "none",
  108. "scrollIndicator": "none"
  109. }
  110. },
  111. "tabBar": {
  112. "color": "#7A7E83",
  113. "selectedColor": "#2ab4e5",
  114. "backgroundColor": "#ffffff",
  115. "fontSize": "14px",
  116. "list": [
  117. {
  118. "pagePath": "pages/index/index",
  119. "iconPath": "static/tabbar/dzicheng.png",
  120. "selectedIconPath": "static/tabbar/dzicheng-active.png",
  121. "text": "垃圾投放"
  122. },
  123. {
  124. "pagePath": "pages/hexiao/index",
  125. "iconPath": "static/tabbar/record.png",
  126. "selectedIconPath": "static/tabbar/record-active.png",
  127. "text": "交易记录"
  128. },
  129. {
  130. "pagePath": "pages/userCenter/index",
  131. "iconPath": "static/tabbar/user.png",
  132. "selectedIconPath": "static/tabbar/user-active.png",
  133. "text": "我的"
  134. }]
  135. }
  136. }