pages.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "navigationBarTitleText": "智小狸",
  7. "enablePullDownRefresh": false,
  8. "onReachBottomDistance": 10
  9. }
  10. },
  11. {
  12. "path" : "pages/ucenter/record",
  13. "style" :
  14. {
  15. "navigationBarTitleText": "我的换电记录",
  16. "enablePullDownRefresh": false
  17. }
  18. },
  19. {
  20. "path" : "pages/ucenter/record_show",
  21. "style" :
  22. {
  23. "navigationBarTitleText": "换电记录详情",
  24. "enablePullDownRefresh": false
  25. }
  26. },
  27. {
  28. "path" : "pages/ucenter/car_show",
  29. "style" :
  30. {
  31. "navigationBarTitleText": "车辆详情",
  32. "enablePullDownRefresh": false
  33. }
  34. },
  35. {
  36. "path" : "pages/ucenter/index",
  37. "style" :
  38. {
  39. "navigationBarTitleText": "个人中心",
  40. "enablePullDownRefresh": false
  41. }
  42. },
  43. {
  44. "path" : "pages/ucenter/car",
  45. "style" :
  46. {
  47. "navigationBarTitleText": "我的车辆",
  48. "enablePullDownRefresh": false
  49. }
  50. },
  51. {
  52. "path" : "pages/scan/index",
  53. "style" :
  54. {
  55. "navigationBarTitleText": "确认换电信息",
  56. "enablePullDownRefresh": false
  57. }
  58. },
  59. {
  60. "path" : "pages/carinfo/index",
  61. "style" :
  62. {
  63. "navigationBarTitleText": "车辆信息",
  64. "enablePullDownRefresh": false
  65. }
  66. },
  67. {
  68. "path" : "pages/monitoring/index",
  69. "style" :
  70. {
  71. "navigationBarTitleText": "换电监控",
  72. "enablePullDownRefresh": false
  73. }
  74. },
  75. {
  76. "path" : "pages/batteryinfo/index",
  77. "style" :
  78. {
  79. "navigationBarTitleText": "电池信息",
  80. "enablePullDownRefresh": false
  81. }
  82. }
  83. ,{
  84. "path" : "pages/public/login",
  85. "style" :
  86. {
  87. "navigationBarTitleText": "",
  88. "enablePullDownRefresh": false
  89. }
  90. }
  91. ],
  92. "globalStyle": {
  93. "navigationBarTextStyle": "black",
  94. "navigationBarTitleText": "uni-app",
  95. "navigationBarBackgroundColor": "#F8F8F8",
  96. "backgroundColor": "#F8F8F8"
  97. },
  98. "uniIdRouter": {},
  99. "tabBar": {
  100. "custom": true,
  101. "color": "#333",
  102. "selectedColor": "#6dc67d",
  103. "list": [{
  104. "pagePath": "pages/index/index",
  105. "iconPath": "static/tabbar/menu-1.png",
  106. "selectedIconPath": "static/tabbar/menu-1.png",
  107. "text": "首页"
  108. },
  109. {
  110. "pagePath": "pages/ucenter/index",
  111. "iconPath": "static/tabbar/menu-3.png",
  112. "selectedIconPath": "static/tabbar/menu-3.png",
  113. "text": "我的"
  114. }
  115. ]
  116. }
  117. }