pages.json 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "lazyCodeLoading": "requiredComponents",
  5. "path": "pages/index/index",
  6. "style": {
  7. "navigationBarTitleText": "智小狸",
  8. "enablePullDownRefresh":false
  9. }
  10. },
  11. {
  12. "path" : "pages/public/404",
  13. "style" :
  14. {
  15. "navigationBarTitleText": "",
  16. "enablePullDownRefresh": false
  17. }
  18. },
  19. {
  20. "path" : "pages/ucenter/about",
  21. "style" :
  22. {
  23. "navigationBarTitleText": "关于我们",
  24. "enablePullDownRefresh": false
  25. }
  26. },
  27. {
  28. "path" : "pages/ucenter/record",
  29. "style" :
  30. {
  31. "navigationBarTitleText": "我的换电记录",
  32. "enablePullDownRefresh": false
  33. }
  34. },
  35. {
  36. "path" : "pages/ucenter/record_show",
  37. "style" :
  38. {
  39. "navigationBarTitleText": "换电记录详情",
  40. "enablePullDownRefresh": false
  41. }
  42. },
  43. {
  44. "path" : "pages/ucenter/car_show",
  45. "style" :
  46. {
  47. "navigationBarTitleText": "车辆详情",
  48. "enablePullDownRefresh": false
  49. }
  50. },
  51. {
  52. "path" : "pages/ucenter/index",
  53. "style" :
  54. {
  55. "navigationBarTitleText": "我的",
  56. "enablePullDownRefresh": false
  57. }
  58. },
  59. {
  60. "path" : "pages/powerExchange/index",
  61. "style" :
  62. {
  63. "navigationBarTitleText": "换电流程",
  64. "enablePullDownRefresh": false
  65. }
  66. },
  67. {
  68. "path" : "pages/ucenter/car",
  69. "style" :
  70. {
  71. "navigationBarTitleText": "换电历史车辆",
  72. "enablePullDownRefresh": false
  73. }
  74. },
  75. {
  76. "path" : "pages/ucenter/set_avatar",
  77. "style" :
  78. {
  79. "navigationBarTitleText": "更新头像昵称",
  80. "enablePullDownRefresh": false
  81. }
  82. },
  83. {
  84. "path" : "pages/userAgreement/index",
  85. "style" :
  86. {
  87. "navigationBarTitleText": "用户协议",
  88. "enablePullDownRefresh": false
  89. }
  90. }
  91. ,{
  92. "path" : "pages/public/login",
  93. "style" :
  94. {
  95. "navigationBarTitleText": "用户登录",
  96. "enablePullDownRefresh": false
  97. }
  98. }
  99. ,{
  100. "path" : "pages/powerchange/index",
  101. "style" :
  102. {
  103. "navigationBarTitleText": "",
  104. "enablePullDownRefresh": false
  105. }
  106. }
  107. ],
  108. "globalStyle": {
  109. "navigationBarTextStyle": "black",
  110. "navigationBarTitleText": "uni-app",
  111. "navigationBarBackgroundColor": "#FFFFFF",
  112. "backgroundColor": "#F8F8F8"
  113. },
  114. "uniIdRouter": {},
  115. "tabBar": {
  116. "custom": true,
  117. "color": "#333",
  118. "selectedColor": "#6dc67d",
  119. "backgroundColor": "#FFF",
  120. "list": [{
  121. "pagePath": "pages/index/index",
  122. "iconPath": "static/tabbar/menu-1.png",
  123. "selectedIconPath": "static/tabbar/menu-1.png",
  124. "text": "首页"
  125. },
  126. {
  127. "pagePath": "pages/ucenter/index",
  128. "iconPath": "static/tabbar/menu-3.png",
  129. "selectedIconPath": "static/tabbar/menu-3.png",
  130. "text": "我的"
  131. }
  132. ]
  133. }
  134. }