index.wxss 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  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. height: 100vh;
  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. background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FB 100%);
  46. }
  47. .main-box .carinfo.data-v-57280228 {
  48. width: 100%;
  49. height: 350rpx;
  50. }
  51. .main-box .norecord.data-v-57280228 {
  52. text-align: center;
  53. color: #86909c;
  54. position: relative;
  55. top: 40%;
  56. }
  57. .main-box .swiper-box.data-v-57280228 {
  58. height: 380rpx;
  59. }
  60. .main-box .swiper-box .swiper-item.data-v-57280228 {
  61. width: 690rpx;
  62. height: 350rpx;
  63. padding: 32rpx;
  64. box-sizing: border-box;
  65. background-image: url("https://xcx.xnymzx.com/zkstation/car-bg.png");
  66. background-size: 100% 100%;
  67. display: flex;
  68. flex-direction: column;
  69. justify-content: space-between;
  70. }
  71. .main-box .swiper-box .swiper-item .plate.data-v-57280228 {
  72. display: flex;
  73. justify-content: space-between;
  74. }
  75. .main-box .swiper-box .swiper-item .plate view.data-v-57280228:first-child {
  76. flex: 1;
  77. }
  78. .main-box .swiper-box .swiper-item .plate image.data-v-57280228 {
  79. width: 24rpx;
  80. height: 24rpx;
  81. vertical-align: middle;
  82. }
  83. .main-box .swiper-box .swiper-item .plate view.data-v-57280228:last-child {
  84. width: 280rpx;
  85. text-align: left;
  86. padding-left: 10rpx;
  87. color: #6cc57d;
  88. font-size: 30rpx;
  89. padding-top: 2rpx;
  90. }
  91. .main-box .swiper-box .swiper-item .plate-number.data-v-57280228 {
  92. display: flex;
  93. }
  94. .main-box .swiper-box .swiper-item .plate-number image.data-v-57280228 {
  95. width: 26rpx;
  96. height: 26rpx;
  97. vertical-align: middle;
  98. }
  99. .main-box .swiper-box .swiper-item .plate-number view.data-v-57280228:first-child {
  100. font-weight: 600;
  101. font-size: 36rpx;
  102. padding-right: 15rpx;
  103. }
  104. .main-box .swiper-box .swiper-item .battery-soc.data-v-57280228 {
  105. display: flex;
  106. margin-bottom: 22rpx;
  107. }
  108. .main-box .swiper-box .swiper-item .battery-soc view.data-v-57280228:first-child {
  109. width: 105rpx;
  110. font-size: 22rpx;
  111. }
  112. .main-box .swiper-box .swiper-item .battery-soc view.data-v-57280228:last-child {
  113. flex: 1;
  114. }
  115. .main-box .swiper-box .swiper-item .battery-soc view:last-child .strip.data-v-57280228 {
  116. /* 父元素相对定位 */
  117. position: relative;
  118. width: 525rpx;
  119. height: 18rpx;
  120. background-color: #fff;
  121. top: 10rpx;
  122. }
  123. .main-box .swiper-box .swiper-item .battery-soc view:last-child .blue.data-v-57280228 {
  124. height: 18rpx;
  125. background-color: #ff7d00;
  126. font-size: 28rpx;
  127. }
  128. .main-box .swiper-box .swiper-item .battery-soc view:last-child .protext.data-v-57280228 {
  129. width: 2rpx;
  130. height: 32rpx;
  131. background: #86909c;
  132. /* 子元素绝对定位 */
  133. position: absolute;
  134. /* 定位方向:属性值 */
  135. top: -9rpx;
  136. }
  137. .main-box .swiper-box .swiper-item .battery-soc view:last-child .pronumber.data-v-57280228 {
  138. font-size: 26rpx;
  139. font-weight: bold;
  140. position: absolute;
  141. /* 定位方向:属性值 */
  142. top: 30rpx;
  143. }
  144. .main-box .swiper-box .swiper-item .battery-info.data-v-57280228 {
  145. display: flex;
  146. justify-content: space-between;
  147. text-align: center;
  148. line-height: 36rpx;
  149. }
  150. .main-box .swiper-box .swiper-item .battery-info view > view.data-v-57280228:first-child {
  151. font-weight: bold;
  152. }
  153. .main-box .swiper-box .swiper-item .battery-info view > view.data-v-57280228:last-child {
  154. color: #939da7;
  155. font-size: 26rpx;
  156. }
  157. .main-box .change-title.data-v-57280228 {
  158. width: 100%;
  159. padding: 0 20rpx;
  160. box-sizing: border-box;
  161. display: flex;
  162. margin: 24rpx 0;
  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 view.data-v-57280228 {
  200. background: #f5f5f5;
  201. color: #979797;
  202. font-size: 24rpx;
  203. padding: 8rpx 15rpx;
  204. margin: 15rpx 12rpx 15rpx 0rpx;
  205. border-radius: 5rpx;
  206. }
  207. .main-box .change-box .piclist.data-v-57280228 {
  208. display: flex;
  209. justify-content: space-between;
  210. margin: 18rpx 0rpx;
  211. width: 630rpx;
  212. overflow: hidden;
  213. }
  214. .main-box .change-box .piclist image.data-v-57280228 {
  215. width: 298rpx;
  216. height: 189rpx;
  217. box-sizing: border-box;
  218. border-radius: 15rpx;
  219. }
  220. .main-box .change-box .address.data-v-57280228 {
  221. display: flex;
  222. justify-content: space-between;
  223. text-align: center;
  224. color: #86909c;
  225. font-size: 24rpx;
  226. }
  227. .main-box .change-box .address view.data-v-57280228:first-child {
  228. width: 445rpx;
  229. text-align: left;
  230. font-size: 28rpx;
  231. color: #333333;
  232. line-height: 40rpx;
  233. }
  234. .main-box .change-box .address image.data-v-57280228 {
  235. width: 44rpx;
  236. height: 44rpx;
  237. }
  238. .main-box .change-box .battery-num.data-v-57280228 {
  239. color: #86909c;
  240. font-size: 30rpx;
  241. margin-top: 12rpx;
  242. display: flex;
  243. line-height: 36rpx;
  244. }
  245. .main-box .change-box .battery-num view.data-v-57280228:last-child {
  246. color: #000000;
  247. font-weight: 600;
  248. margin-left: 15rpx;
  249. font-size: 36rpx;
  250. }