index.wxss 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  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. .authorization.data-v-57280228 {
  28. width: 640rpx;
  29. height: 840rpx;
  30. background-color: #fff;
  31. border-radius: 20rpx;
  32. }
  33. .main-box.data-v-57280228 {
  34. padding: 0 30rpx;
  35. }
  36. .main-box .carinfo.data-v-57280228 {
  37. width: 100%;
  38. height: 350rpx;
  39. }
  40. .main-box .norecord.data-v-57280228 {
  41. text-align: center;
  42. color: #86909c;
  43. position: relative;
  44. top: 40%;
  45. }
  46. .main-box .swiper-box.data-v-57280228 {
  47. height: 380rpx;
  48. }
  49. .main-box .swiper-box .swiper-item.data-v-57280228 {
  50. width: 690rpx;
  51. height: 350rpx;
  52. padding: 32rpx;
  53. box-sizing: border-box;
  54. background-image: url("https://xcx.xnymzx.com/zkstation/car-bg.png");
  55. background-size: 100% 100%;
  56. display: flex;
  57. flex-direction: column;
  58. justify-content: space-between;
  59. }
  60. .main-box .swiper-box .swiper-item .plate.data-v-57280228 {
  61. display: flex;
  62. justify-content: space-between;
  63. }
  64. .main-box .swiper-box .swiper-item .plate view.data-v-57280228:first-child {
  65. flex: 1;
  66. }
  67. .main-box .swiper-box .swiper-item .plate image.data-v-57280228 {
  68. width: 24rpx;
  69. height: 24rpx;
  70. vertical-align: middle;
  71. }
  72. .main-box .swiper-box .swiper-item .plate view.data-v-57280228:last-child {
  73. width: 280rpx;
  74. text-align: right;
  75. color: #6cc57d;
  76. font-size: 30rpx;
  77. }
  78. .main-box .swiper-box .swiper-item .plate-number.data-v-57280228 {
  79. display: flex;
  80. }
  81. .main-box .swiper-box .swiper-item .plate-number image.data-v-57280228 {
  82. width: 26rpx;
  83. height: 26rpx;
  84. vertical-align: middle;
  85. }
  86. .main-box .swiper-box .swiper-item .plate-number view.data-v-57280228:first-child {
  87. font-weight: 600;
  88. font-size: 32rpx;
  89. padding-right: 15rpx;
  90. }
  91. .main-box .swiper-box .swiper-item .battery-soc.data-v-57280228 {
  92. display: flex;
  93. }
  94. .main-box .swiper-box .swiper-item .battery-soc view.data-v-57280228:first-child {
  95. width: 138rpx;
  96. }
  97. .main-box .swiper-box .swiper-item .battery-soc view.data-v-57280228:last-child {
  98. flex: 1;
  99. }
  100. .main-box .swiper-box .swiper-item .battery-soc view:last-child .strip.data-v-57280228 {
  101. /* 父元素相对定位 */
  102. position: relative;
  103. width: 480rpx;
  104. height: 18rpx;
  105. background-color: #fff;
  106. top: 10rpx;
  107. }
  108. .main-box .swiper-box .swiper-item .battery-soc view:last-child .blue.data-v-57280228 {
  109. height: 18rpx;
  110. background-color: #ff7d00;
  111. font-size: 28rpx;
  112. }
  113. .main-box .swiper-box .swiper-item .battery-soc view:last-child .protext.data-v-57280228 {
  114. width: 2rpx;
  115. height: 32rpx;
  116. background: #86909c;
  117. /* 子元素绝对定位 */
  118. position: absolute;
  119. /* 定位方向:属性值 */
  120. top: -9rpx;
  121. }
  122. .main-box .swiper-box .swiper-item .battery-soc view:last-child .pronumber.data-v-57280228 {
  123. font-size: 26rpx;
  124. font-weight: bold;
  125. position: absolute;
  126. /* 定位方向:属性值 */
  127. top: 30rpx;
  128. }
  129. .main-box .swiper-box .swiper-item .battery-info.data-v-57280228 {
  130. display: flex;
  131. justify-content: space-between;
  132. text-align: center;
  133. line-height: 36rpx;
  134. }
  135. .main-box .swiper-box .swiper-item .battery-info view > view.data-v-57280228:first-child {
  136. font-weight: bold;
  137. }
  138. .main-box .swiper-box .swiper-item .battery-info view > view.data-v-57280228:last-child {
  139. color: #939da7;
  140. font-size: 26rpx;
  141. margin-top: 8rpx;
  142. }
  143. .main-box .change-title.data-v-57280228 {
  144. width: 100%;
  145. padding: 0 20rpx;
  146. box-sizing: border-box;
  147. display: flex;
  148. margin: 30rpx 0;
  149. }
  150. .main-box .change-title image.data-v-57280228 {
  151. width: 9rpx;
  152. height: 39rpx;
  153. }
  154. .main-box .change-title view.data-v-57280228:first-child {
  155. padding-right: 12rpx;
  156. }
  157. .main-box .change-title view.data-v-57280228:last-child {
  158. font-weight: bold;
  159. font-size: 32rpx;
  160. line-height: 32rpx;
  161. }
  162. .main-box .change-box.data-v-57280228 {
  163. width: 690rpx;
  164. box-sizing: border-box;
  165. border-radius: 25rpx;
  166. background-color: #fff;
  167. padding: 20rpx 30rpx;
  168. display: flex;
  169. flex-direction: column;
  170. overflow: hidden;
  171. }
  172. .main-box .change-box .title.data-v-57280228 {
  173. font-weight: bold;
  174. color: #110d2e;
  175. font-size: 34rpx;
  176. }
  177. .main-box .change-box .tags.data-v-57280228 {
  178. display: flex;
  179. }
  180. .main-box .change-box .tags view.data-v-57280228 {
  181. background: #f5f5f5;
  182. color: #979797;
  183. font-size: 24rpx;
  184. padding: 8rpx 15rpx;
  185. margin: 15rpx 12rpx 15rpx 0rpx;
  186. border-radius: 5rpx;
  187. }
  188. .main-box .change-box .piclist.data-v-57280228 {
  189. display: flex;
  190. justify-content: space-between;
  191. margin: 18rpx 0rpx;
  192. width: 630rpx;
  193. overflow: hidden;
  194. }
  195. .main-box .change-box .piclist image.data-v-57280228 {
  196. width: 298rpx;
  197. height: 189rpx;
  198. box-sizing: border-box;
  199. border-radius: 15rpx;
  200. }
  201. .main-box .change-box .address.data-v-57280228 {
  202. display: flex;
  203. justify-content: space-between;
  204. text-align: center;
  205. color: #86909c;
  206. font-size: 24rpx;
  207. }
  208. .main-box .change-box .address view.data-v-57280228:first-child {
  209. width: 445rpx;
  210. text-align: left;
  211. font-size: 28rpx;
  212. color: #333333;
  213. line-height: 40rpx;
  214. }
  215. .main-box .change-box .address image.data-v-57280228 {
  216. width: 44rpx;
  217. height: 44rpx;
  218. }
  219. .main-box .change-box .battery-num.data-v-57280228 {
  220. color: #86909c;
  221. font-size: 30rpx;
  222. margin-top: 12rpx;
  223. display: flex;
  224. line-height: 36rpx;
  225. }
  226. .main-box .change-box .battery-num view.data-v-57280228:last-child {
  227. color: #000000;
  228. font-weight: 600;
  229. margin-left: 15rpx;
  230. font-size: 36rpx;
  231. }