charging.wxss 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. .data-v-79ba75a6 ax-custom-title {
  2. z-index: 9999 !important;
  3. }
  4. .page-background.data-v-79ba75a6{
  5. display: block;
  6. position: fixed;
  7. top: 0;
  8. left: 0;
  9. width: 100%;
  10. height: 100%;
  11. }
  12. .body.data-v-79ba75a6{
  13. display: flex;
  14. flex-direction: column;
  15. width: 100%;
  16. height: 100%;
  17. position: relative;
  18. z-index: 1;
  19. }
  20. /* 退出中 */
  21. .exiting.data-v-79ba75a6{
  22. content: '正在结束';
  23. display: flex;
  24. align-items: center;
  25. justify-content: center;
  26. color: #fff;
  27. position: fixed;
  28. top: 0;
  29. left: 0;
  30. width: 100%;
  31. height: 100%;
  32. font-size: 14px;
  33. overflow: hidden;
  34. z-index: 999999;
  35. }
  36. .exiting.lock.data-v-79ba75a6{
  37. color: #3EB6F8;
  38. }
  39. .exiting .icon.data-v-79ba75a6{
  40. display: flex;
  41. align-items: center;
  42. justify-content: center;
  43. font-size: 14vw;
  44. margin-bottom: 10px;
  45. color: inherit;
  46. }
  47. @-webkit-keyframes show-long-press-data-v-79ba75a6{
  48. 0%{opacity: 0;}
  49. 100%{opacity: 1;}
  50. }
  51. @keyframes show-long-press-data-v-79ba75a6{
  52. 0%{opacity: 0;}
  53. 100%{opacity: 1;}
  54. }
  55. .exiting > .mask.data-v-79ba75a6{
  56. position: fixed;
  57. top: 0;
  58. left: 0;
  59. width: 100%;
  60. height: 100%;
  61. background-color: rgba(0, 0, 0, 0.45);
  62. -webkit-backdrop-filter: blur(10px);
  63. backdrop-filter: blur(10px);
  64. -webkit-transform-origin: top;
  65. transform-origin: top;
  66. -webkit-animation: show-long-press-data-v-79ba75a6 300ms ease;
  67. animation: show-long-press-data-v-79ba75a6 300ms ease;
  68. }
  69. .exiting > .contet.data-v-79ba75a6{
  70. position: relative;
  71. z-index: 1;
  72. }
  73. .exiting .exiting-title.data-v-79ba75a6{
  74. font-weight: bold;
  75. font-size: 18px;
  76. -webkit-transform: translateY(-100%);
  77. transform: translateY(-100%);
  78. }
  79. .exiting .close.data-v-79ba75a6{
  80. -webkit-transform: translateY(150%);
  81. transform: translateY(150%);
  82. border: 1px solid #fff;
  83. border-radius: 100px;
  84. padding: 5px 15px;
  85. }
  86. /* 计时器 */
  87. .timer.data-v-79ba75a6{
  88. text-align: center;
  89. }
  90. .timer .value.data-v-79ba75a6{
  91. color: #3EB6F8;
  92. font-size: 30px;
  93. font-weight: bold;
  94. }
  95. .timer .name.data-v-79ba75a6{
  96. font-weight: bold;
  97. margin-top: 5px;
  98. }
  99. /* 主图 */
  100. .host-graph.data-v-79ba75a6{
  101. margin-top: 20px;
  102. }
  103. .host-graph .image.data-v-79ba75a6{
  104. width: 60vw;
  105. }
  106. /* 主参数 */
  107. .parameter.data-v-79ba75a6{
  108. display: flex;
  109. align-items: center;
  110. justify-content: space-between;
  111. padding: 0 10px;
  112. margin: 0 20px;
  113. margin-top: 10px;
  114. }
  115. .parameter .param.data-v-79ba75a6{
  116. display: flex;
  117. align-items: center;
  118. justify-content: center;
  119. flex-direction: column;
  120. }
  121. .parameter .param .value.data-v-79ba75a6{
  122. font-size: 20px;
  123. font-weight: bold;
  124. }
  125. .parameter .param .name.data-v-79ba75a6{
  126. font-size: 14px;
  127. color: #aaa;
  128. margin-top: 7px;
  129. }
  130. /* 统计栏 */
  131. .statbar.data-v-79ba75a6{
  132. display: flex;
  133. align-items: center;
  134. justify-content: space-around;
  135. height: 80px;
  136. padding: 0 10px;
  137. border-radius: 8px;
  138. margin: 15px 20px;
  139. background-color: #F2F8FF;
  140. box-shadow: 0 3px 6px rgba(122, 168, 222, 0.3);
  141. /* overflow: hidden; */
  142. position: relative;
  143. }
  144. .statbar.data-v-79ba75a6::before{
  145. content: '';
  146. position: absolute;
  147. top: 0;
  148. left: 0;
  149. right: 0;
  150. bottom: 0;
  151. box-shadow: 0 8px 8px #fff inset;
  152. }
  153. .statbar .sta.data-v-79ba75a6{
  154. display: flex;
  155. align-items: center;
  156. justify-content: center;
  157. flex-direction: column;
  158. }
  159. .statbar .sta .value.data-v-79ba75a6{
  160. color: #3EB6F8;
  161. font-size: 24px;
  162. font-weight: bold;
  163. }
  164. .statbar .sta .name.data-v-79ba75a6{
  165. font-size: 14px;
  166. font-weight: bold;
  167. }
  168. .statbar .split.data-v-79ba75a6{
  169. display: block;
  170. height: 58px;
  171. border-left: 1px solid #E5F1FF;
  172. }
  173. /* 主信息 */
  174. .info.data-v-79ba75a6{
  175. flex: 1;
  176. display: flex;
  177. flex-direction: column;
  178. background-color: #fff;
  179. border-radius: 16px 16px 0 0;
  180. padding: 10px;
  181. box-sizing: border-box;
  182. }
  183. .info .cell.data-v-79ba75a6{
  184. display: flex;
  185. align-items: center;
  186. justify-content: space-between;
  187. font-size: 14px;
  188. height: 32px;
  189. padding: 0 10px;
  190. }
  191. .info .cell .contet.data-v-79ba75a6{
  192. color: #aaa;
  193. }
  194. .info .tips.data-v-79ba75a6{
  195. flex: 1;
  196. display: flex;
  197. align-items: center;
  198. justify-content: center;
  199. font-size: 12px;
  200. color: #aaa;
  201. }
  202. .info .end.data-v-79ba75a6{
  203. display: flex;
  204. align-items: center;
  205. justify-content: center;
  206. font-size: 14px;
  207. border-radius: 8px;
  208. height: 50px;
  209. background: linear-gradient(to right,#8FF8FB,#47AEFF);
  210. }
  211. .info .end.data-v-79ba75a6::after{
  212. display: none;
  213. }
  214. .info .end[disabled].data-v-79ba75a6{
  215. background: #ddd;
  216. color: #aaa;
  217. }
  218. .countdown-ring.data-v-79ba75a6{
  219. --countdown-ring-size: 150px;
  220. --countdown-ring-color: var(--color-red);
  221. --countdown-ring-duration: 2s;
  222. display: flex;
  223. width: var(--countdown-ring-size);
  224. height: var(--countdown-ring-size);
  225. border-radius: 100%;
  226. position: relative;
  227. }
  228. .countdown-ring > ._button.data-v-79ba75a6{
  229. display: flex;
  230. align-items: center;
  231. justify-content: center;
  232. flex-direction: column;
  233. flex-wrap: wrap;
  234. width: calc(var(--countdown-ring-size) - 35px);
  235. height: calc(var(--countdown-ring-size) - 35px);
  236. color: #fff;
  237. font-size: 18px;
  238. font-weight: bold;
  239. background-color: var(--countdown-ring-color);
  240. border-radius: 100%;
  241. position: absolute;
  242. top: 50%;
  243. left: 50%;
  244. -webkit-transform: translate(-50%,-50%);
  245. transform: translate(-50%,-50%);
  246. }
  247. .countdown-ring > ._half.data-v-79ba75a6{
  248. flex: 1;
  249. height: var(--countdown-ring-size);
  250. overflow: hidden;
  251. position: relative;
  252. z-index: 1;
  253. }
  254. .countdown-ring > ._half.data-v-79ba75a6::after{
  255. content: '';
  256. display: block;
  257. width: var(--countdown-ring-size);
  258. height: var(--countdown-ring-size);
  259. border: 8px solid transparent;
  260. border-radius: 100%;
  261. box-sizing: border-box;
  262. position: absolute;
  263. top: 0;
  264. -webkit-transform: rotate(-135deg);
  265. transform: rotate(-135deg);
  266. }
  267. .countdown-ring > ._half.left.data-v-79ba75a6::after{
  268. left: 0;
  269. border-bottom-color: var(--countdown-ring-color);
  270. border-left-color: var(--countdown-ring-color);
  271. }
  272. .countdown-ring > ._half.right.data-v-79ba75a6::after{
  273. right: 0;
  274. border-top-color: var(--countdown-ring-color);
  275. border-right-color: var(--countdown-ring-color);
  276. }
  277. .countdown-ring.active > ._half.left.data-v-79ba75a6::after{
  278. -webkit-animation: show-data-v-79ba75a6 calc(var(--countdown-ring-duration) / 2) linear 1;
  279. animation: show-data-v-79ba75a6 calc(var(--countdown-ring-duration) / 2) linear 1;
  280. -webkit-animation-delay: calc(var(--countdown-ring-duration) / 2);
  281. animation-delay: calc(var(--countdown-ring-duration) / 2);
  282. -webkit-animation-fill-mode: forwards;
  283. animation-fill-mode: forwards;
  284. }
  285. .countdown-ring.active > ._half.right.data-v-79ba75a6::after{
  286. -webkit-transform: rotate(45deg);
  287. transform: rotate(45deg);
  288. -webkit-animation: show-data-v-79ba75a6 calc(var(--countdown-ring-duration) / 2) linear 1;
  289. animation: show-data-v-79ba75a6 calc(var(--countdown-ring-duration) / 2) linear 1;
  290. }
  291. @-webkit-keyframes show-data-v-79ba75a6{
  292. 0%{
  293. -webkit-transform: rotate(-135deg);
  294. transform: rotate(-135deg);
  295. }
  296. 100%{
  297. -webkit-transform: rotate(45deg);
  298. transform: rotate(45deg);
  299. }
  300. }
  301. @keyframes show-data-v-79ba75a6{
  302. 0%{
  303. -webkit-transform: rotate(-135deg);
  304. transform: rotate(-135deg);
  305. }
  306. 100%{
  307. -webkit-transform: rotate(45deg);
  308. transform: rotate(45deg);
  309. }
  310. }