index.wxss 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .main.data-v-57280228 {
  28. background: linear-gradient(180deg, #FFFFFF 0%, #F2F3F5 100%);
  29. }
  30. .authorization.data-v-57280228 {
  31. width: 640rpx;
  32. height: 840rpx;
  33. background-color: #fff;
  34. border-radius: 20rpx;
  35. }
  36. .grace-loading.data-v-57280228 {
  37. position: relative;
  38. text-align: center;
  39. padding-top: 100rpx;
  40. height: 300rpx;
  41. color: #979797;
  42. }
  43. .main-box.data-v-57280228 {
  44. padding: 0 30rpx;
  45. }
  46. .main-box .carinfo.data-v-57280228 {
  47. width: 100%;
  48. height: 350rpx;
  49. }
  50. .main-box .norecord.data-v-57280228 {
  51. text-align: center;
  52. color: #86909c;
  53. position: relative;
  54. top: 40%;
  55. }
  56. .main-box .swiper-box.data-v-57280228 {
  57. height: 380rpx;
  58. }
  59. .main-box .swiper-box .swiper-item.data-v-57280228 {
  60. width: 690rpx;
  61. height: 350rpx;
  62. padding: 32rpx;
  63. box-sizing: border-box;
  64. background-image: url("https://rl-zk-image.oss-cn-hangzhou.aliyuncs.com/image/car-bg.png");
  65. background-size: 100% 100%;
  66. display: flex;
  67. flex-direction: column;
  68. justify-content: space-between;
  69. }
  70. .main-box .swiper-box .swiper-item .plate.data-v-57280228 {
  71. display: flex;
  72. justify-content: space-between;
  73. }
  74. .main-box .swiper-box .swiper-item .plate view.data-v-57280228:first-child {
  75. flex: 1;
  76. }
  77. .main-box .swiper-box .swiper-item .plate image.data-v-57280228 {
  78. width: 24rpx;
  79. height: 24rpx;
  80. vertical-align: middle;
  81. }
  82. .main-box .swiper-box .swiper-item .plate view.data-v-57280228:last-child {
  83. width: 280rpx;
  84. text-align: left;
  85. padding-left: 10rpx;
  86. color: #6cc57d;
  87. font-size: 30rpx;
  88. padding-top: 2rpx;
  89. }
  90. .main-box .swiper-box .swiper-item .plate-number.data-v-57280228 {
  91. display: flex;
  92. }
  93. .main-box .swiper-box .swiper-item .plate-number image.data-v-57280228 {
  94. width: 26rpx;
  95. height: 26rpx;
  96. vertical-align: middle;
  97. }
  98. .main-box .swiper-box .swiper-item .plate-number view.data-v-57280228:first-child {
  99. font-weight: 600;
  100. font-size: 36rpx;
  101. padding-right: 15rpx;
  102. }
  103. .main-box .swiper-box .swiper-item .battery-soc.data-v-57280228 {
  104. display: flex;
  105. margin-bottom: 22rpx;
  106. }
  107. .main-box .swiper-box .swiper-item .battery-soc view.data-v-57280228:first-child {
  108. width: 105rpx;
  109. font-size: 22rpx;
  110. }
  111. .main-box .swiper-box .swiper-item .battery-soc view.data-v-57280228:last-child {
  112. flex: 1;
  113. }
  114. .main-box .swiper-box .swiper-item .battery-soc view:last-child .strip.data-v-57280228 {
  115. /* 父元素相对定位 */
  116. position: relative;
  117. width: 525rpx;
  118. height: 18rpx;
  119. background-color: #fff;
  120. top: 10rpx;
  121. }
  122. .main-box .swiper-box .swiper-item .battery-soc view:last-child .blue.data-v-57280228 {
  123. height: 18rpx;
  124. background-color: #ff7d00;
  125. font-size: 28rpx;
  126. }
  127. .main-box .swiper-box .swiper-item .battery-soc view:last-child .protext.data-v-57280228 {
  128. width: 2rpx;
  129. height: 32rpx;
  130. background: #86909c;
  131. /* 子元素绝对定位 */
  132. position: absolute;
  133. /* 定位方向:属性值 */
  134. top: -9rpx;
  135. }
  136. .main-box .swiper-box .swiper-item .battery-soc view:last-child .pronumber.data-v-57280228 {
  137. font-size: 26rpx;
  138. font-weight: bold;
  139. position: absolute;
  140. /* 定位方向:属性值 */
  141. top: 30rpx;
  142. }
  143. .main-box .swiper-box .swiper-item .battery-info.data-v-57280228 {
  144. display: flex;
  145. justify-content: space-between;
  146. text-align: center;
  147. line-height: 36rpx;
  148. }
  149. .main-box .swiper-box .swiper-item .battery-info view > view.data-v-57280228:first-child {
  150. font-weight: bold;
  151. }
  152. .main-box .swiper-box .swiper-item .battery-info view > view.data-v-57280228:last-child {
  153. color: #939da7;
  154. font-size: 26rpx;
  155. }
  156. .main-box .change-title.data-v-57280228 {
  157. width: 100%;
  158. padding: 0 20rpx;
  159. box-sizing: border-box;
  160. display: flex;
  161. margin-bottom: 24rpx;
  162. margin-top: 44rpx;
  163. }
  164. .main-box .change-title image.data-v-57280228 {
  165. width: 9rpx;
  166. height: 39rpx;
  167. }
  168. .main-box .change-title view.data-v-57280228:first-child {
  169. padding-right: 12rpx;
  170. }
  171. .main-box .change-title view.data-v-57280228:last-child {
  172. font-weight: bold;
  173. font-size: 32rpx;
  174. line-height: 32rpx;
  175. }
  176. .main-box .change-box.data-v-57280228:last-child {
  177. margin-bottom: 140rpx !important;
  178. }
  179. .main-box .change-box.data-v-57280228 {
  180. width: 690rpx;
  181. box-sizing: border-box;
  182. border-radius: 25rpx;
  183. box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(226, 226, 226, 0.25);
  184. background-color: #fff;
  185. padding: 20rpx 30rpx;
  186. display: flex;
  187. flex-direction: column;
  188. overflow: hidden;
  189. margin-bottom: 30rpx;
  190. }
  191. .main-box .change-box .title.data-v-57280228 {
  192. font-weight: bold;
  193. color: #110d2e;
  194. font-size: 34rpx;
  195. }
  196. .main-box .change-box .tags.data-v-57280228 {
  197. display: flex;
  198. }
  199. .main-box .change-box .tags.data-v-57280228 :first-child {
  200. background: rgba(88, 190, 107, 0.1);
  201. color: #58BE6B;
  202. }
  203. .main-box .change-box .tags view.data-v-57280228 {
  204. background: #f5f5f5;
  205. color: #979797;
  206. font-size: 24rpx;
  207. padding: 8rpx 15rpx;
  208. margin: 15rpx 12rpx 15rpx 0rpx;
  209. border-radius: 5rpx;
  210. }
  211. .main-box .change-box .piclist.data-v-57280228 {
  212. display: flex;
  213. justify-content: space-between;
  214. margin: 18rpx 0rpx;
  215. width: 630rpx;
  216. overflow: hidden;
  217. }
  218. .main-box .change-box .piclist image.data-v-57280228 {
  219. width: 298rpx;
  220. height: 189rpx;
  221. box-sizing: border-box;
  222. border-radius: 15rpx;
  223. }
  224. .main-box .change-box .address.data-v-57280228 {
  225. display: flex;
  226. justify-content: space-between;
  227. text-align: center;
  228. color: #86909c;
  229. font-size: 24rpx;
  230. }
  231. .main-box .change-box .address view.data-v-57280228:first-child {
  232. width: 445rpx;
  233. text-align: left;
  234. font-size: 28rpx;
  235. color: #333333;
  236. line-height: 40rpx;
  237. }
  238. .main-box .change-box .address image.data-v-57280228 {
  239. width: 44rpx;
  240. height: 44rpx;
  241. }
  242. .main-box .change-box .battery-num.data-v-57280228 {
  243. color: #86909c;
  244. font-size: 30rpx;
  245. margin-top: 12rpx;
  246. display: flex;
  247. line-height: 36rpx;
  248. }
  249. .main-box .change-box .battery-num view.data-v-57280228:last-child {
  250. color: #000000;
  251. font-weight: 600;
  252. margin-left: 15rpx;
  253. font-size: 36rpx;
  254. }