pages.json 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [
  6. {
  7. "path": "pages/tabbar/station/stationList",
  8. "style": {
  9. "navigationStyle": "custom",
  10. // #ifdef MP-ALIPAY
  11. "transparentTitle": "always",
  12. // #endif
  13. "enablePullDownRefresh": false
  14. }
  15. },
  16. {
  17. "path": "pages/tabbar/mine/my",
  18. "style": {
  19. "enablePullDownRefresh": true,
  20. // #ifdef MP-ALIPAY
  21. "transparentTitle": "always",
  22. // #endif
  23. "navigationStyle": "custom"
  24. }
  25. }
  26. ],
  27. "subPackages": [
  28. {
  29. "root": "pages/mine",
  30. "pages": [
  31. {
  32. "path": "order/myOrder",
  33. "style": {
  34. "navigationBarTitleText": "我的订单",
  35. "enablePullDownRefresh": true,
  36. "app-plus": {
  37. "bounce": "none"
  38. }
  39. }
  40. },
  41. {
  42. "path": "order/detail",
  43. "style": {
  44. "navigationStyle": "custom",
  45. // #ifdef MP-ALIPAY
  46. "transparentTitle": "always",
  47. // #endif
  48. "navigationBarTextStyle": "white",
  49. "navigationBarTitleText": "订单详情",
  50. "backgroundColor": "@tabBarBgColor"
  51. }
  52. },
  53. {
  54. "path": "car/index",
  55. "style": {
  56. "navigationBarTitleText": "我的车辆"
  57. }
  58. },
  59. {
  60. "path": "car/detail",
  61. "style": {
  62. "navigationBarTitleText": "添加车辆"
  63. }
  64. },
  65. {
  66. "path": "feedback/list",
  67. "style": {
  68. "navigationBarTitleText": "反馈列表",
  69. "enablePullDownRefresh": true
  70. }
  71. },
  72. {
  73. "path": "feedback/submit",
  74. "style": {
  75. "navigationBarTitleText": "意见反馈"
  76. }
  77. },
  78. {
  79. "path": "about/index",
  80. "style": {
  81. "navigationBarTitleText": "关于我们"
  82. }
  83. },
  84. {
  85. "path": "profile/index",
  86. "style": {
  87. "navigationBarTitleText": "个人信息",
  88. "app-plus": {
  89. "titleNView": {
  90. "padding-right": "12",
  91. "buttons": [
  92. {
  93. "text": "保存",
  94. "fontSize": "16",
  95. "width": "auto",
  96. "color": "#FFFFFF"
  97. }
  98. ]
  99. }
  100. }
  101. }
  102. }
  103. ]
  104. },
  105. {
  106. "root": "pages/passport",
  107. "pages": [
  108. {
  109. "path": "login",
  110. "style": {
  111. "navigationBarTitleText": "",
  112. "navigationStyle": "custom",
  113. // #ifdef MP-ALIPAY
  114. "transparentTitle": "always",
  115. // #endif
  116. "app-plus": {
  117. "titleNView": false,
  118. "animationType": "slide-in-bottom",
  119. "scrollIndicator": "none",
  120. "safearea": {
  121. "bottom": {
  122. "offset": "none"
  123. }
  124. }
  125. }
  126. }
  127. },
  128. {
  129. "path": "mpLogin",
  130. "style": {
  131. "navigationBarTitleText": "小程序登录",
  132. "navigationStyle": "custom",
  133. // #ifdef MP-ALIPAY
  134. "transparentTitle": "always",
  135. // #endif
  136. "navigationBarTextStyle": "black"
  137. }
  138. }
  139. ]
  140. },
  141. {
  142. "root": "pages/station",
  143. "pages": [
  144. {
  145. "path": "index"
  146. },
  147. {
  148. "path": "charge/charging",
  149. "style": {
  150. "navigationStyle": "custom",
  151. // #ifdef MP-ALIPAY
  152. "transparentTitle": "always",
  153. // #endif
  154. "navigationBarTextStyle": "white",
  155. "app-plus": {
  156. "titleNView": false,
  157. "animationType": "slide-in-bottom",
  158. "scrollIndicator": "none",
  159. "safearea": {
  160. "bottom": {
  161. "offset": "none"
  162. }
  163. }
  164. }
  165. }
  166. }
  167. ]
  168. }
  169. ],
  170. "globalStyle": {
  171. "navigationBarTextStyle": "@navTxtStyle",
  172. "navigationBarTitleText": "",
  173. "titleColor": "#303133",
  174. "navigationBarBackgroundColor": "@tabBarBgColor",
  175. "backgroundColor": "@tabBarBgColor",
  176. "app-plus": {
  177. // 全局关闭回弹功能
  178. "bounce": "none"
  179. }
  180. },
  181. "tabBar": {
  182. "color": "#C2C2C2",
  183. "selectedColor": "#0974C5",
  184. "borderStyle": "black",
  185. "backgroundColor": "@tabBarBgColor",
  186. "list": [
  187. {
  188. "pagePath": "pages/tabbar/station/stationList",
  189. "iconPath": "static/tabbar/charging.png",
  190. "selectedIconPath": "static/tabbar/charging-s.png",
  191. "text": "充电"
  192. },
  193. {
  194. "pagePath": "pages/tabbar/mine/my",
  195. "iconPath": "static/tabbar/my.png",
  196. "selectedIconPath": "static/tabbar/my-s.png",
  197. "text": "我的"
  198. }
  199. ]
  200. }
  201. }