charging.wxss 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399
  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% {
  49. opacity: 0;
  50. }
  51. 100% {
  52. opacity: 1;
  53. }
  54. }
  55. @keyframes show-long-press-data-v-79ba75a6 {
  56. 0% {
  57. opacity: 0;
  58. }
  59. 100% {
  60. opacity: 1;
  61. }
  62. }
  63. .exiting > .mask.data-v-79ba75a6 {
  64. position: fixed;
  65. top: 0;
  66. left: 0;
  67. width: 100%;
  68. height: 100%;
  69. background-color: rgba(0, 0, 0, 0.45);
  70. -webkit-backdrop-filter: blur(10px);
  71. backdrop-filter: blur(10px);
  72. -webkit-transform-origin: top;
  73. transform-origin: top;
  74. -webkit-animation: show-long-press-data-v-79ba75a6 300ms ease;
  75. animation: show-long-press-data-v-79ba75a6 300ms ease;
  76. }
  77. .exiting > .contet.data-v-79ba75a6 {
  78. position: relative;
  79. z-index: 1;
  80. }
  81. .exiting .exiting-title.data-v-79ba75a6 {
  82. font-weight: bold;
  83. font-size: 18px;
  84. -webkit-transform: translateY(-100%);
  85. transform: translateY(-100%);
  86. }
  87. .exiting .close.data-v-79ba75a6 {
  88. -webkit-transform: translateY(150%);
  89. transform: translateY(150%);
  90. border: 1px solid #fff;
  91. border-radius: 100px;
  92. padding: 5px 15px;
  93. }
  94. /* 计时器 */
  95. .timer.data-v-79ba75a6 {
  96. text-align: center;
  97. }
  98. .timer .value.data-v-79ba75a6 {
  99. color: #3eb6f8;
  100. font-size: 30px;
  101. font-weight: bold;
  102. }
  103. .timer .name.data-v-79ba75a6 {
  104. font-weight: bold;
  105. margin-top: 5px;
  106. }
  107. /* 主图 */
  108. .host-graph.data-v-79ba75a6 {
  109. margin-top: 20px;
  110. height: 800rpx;
  111. }
  112. .host-graph .image.data-v-79ba75a6 {
  113. margin-left: -180rpx;
  114. width: 80vw;
  115. }
  116. /* 主参数 */
  117. .parameter-info-box.data-v-79ba75a6 {
  118. background: linear-gradient(
  119. 180deg,
  120. rgba(255, 255, 255, 0) 0%,
  121. rgba(255, 255, 255, 0.72) 43%,
  122. #ffffff 100%
  123. );
  124. border-radius: 32rpx;
  125. margin: 20rpx;
  126. }
  127. .parameter.data-v-79ba75a6 {
  128. display: flex;
  129. align-items: center;
  130. justify-content: space-between;
  131. padding: 0 10px;
  132. margin: 0 20px;
  133. margin-top: 10px;
  134. }
  135. .parameter .param.data-v-79ba75a6 {
  136. display: flex;
  137. align-items: center;
  138. justify-content: center;
  139. flex-direction: column;
  140. }
  141. .parameter .param .value.data-v-79ba75a6 {
  142. margin-top: 24rpx;
  143. font-size: 20px;
  144. /* font-weight: bold; */
  145. }
  146. .parameter .param .name.data-v-79ba75a6 {
  147. font-size: 14px;
  148. color: #aaa;
  149. margin-top: 7px;
  150. }
  151. .end-charge-box.data-v-79ba75a6 {
  152. }
  153. .end-charge.data-v-79ba75a6 {
  154. margin: auto;
  155. margin-top: 32rpx;
  156. margin-bottom: 36rpx;
  157. width: 192rpx;
  158. height: 76rpx;
  159. background: linear-gradient(99deg, #8ff8fb 0%, #47aeff 100%);
  160. border-radius: 16rpx;
  161. font-weight: 800;
  162. font-size: 28rpx;
  163. color: #2b303a;
  164. text-align: center;
  165. line-height: 76rpx;
  166. }
  167. .end-charge.data-v-79ba75a6::after {
  168. display: none;
  169. }
  170. /* 统计栏 */
  171. .statbar.data-v-79ba75a6 {
  172. display: flex;
  173. align-items: center;
  174. justify-content: space-around;
  175. height: 80px;
  176. padding: 0 10px;
  177. border-radius: 8px;
  178. margin: 15px 20px;
  179. background-color: #f2f8ff;
  180. box-shadow: 0 3px 6px rgba(122, 168, 222, 0.3);
  181. /* overflow: hidden; */
  182. position: relative;
  183. }
  184. .statbar.data-v-79ba75a6::before {
  185. content: "";
  186. position: absolute;
  187. top: 0;
  188. left: 0;
  189. right: 0;
  190. bottom: 0;
  191. box-shadow: 0 8px 8px #fff inset;
  192. }
  193. .statbar .sta.data-v-79ba75a6 {
  194. display: flex;
  195. align-items: center;
  196. justify-content: center;
  197. flex-direction: column;
  198. }
  199. .statbar .sta .value.data-v-79ba75a6 {
  200. color: #3eb6f8;
  201. font-size: 24px;
  202. font-weight: bold;
  203. }
  204. .statbar .sta .name.data-v-79ba75a6 {
  205. font-size: 14px;
  206. font-weight: bold;
  207. }
  208. .split.data-v-79ba75a6 {
  209. display: block;
  210. height: 60rpx;
  211. border-left: 1px solid #e5f1ff;
  212. }
  213. /* 主信息 */
  214. .info.data-v-79ba75a6 {
  215. flex: 1;
  216. display: flex;
  217. flex-direction: column;
  218. background-color: #fff;
  219. border-radius: 16px 16px 0 0;
  220. padding: 10px;
  221. box-sizing: border-box;
  222. }
  223. .info .cell.data-v-79ba75a6 {
  224. display: flex;
  225. align-items: center;
  226. justify-content: space-between;
  227. font-size: 14px;
  228. height: 32px;
  229. padding: 0 10px;
  230. }
  231. .info .cell .contet.data-v-79ba75a6 {
  232. color: #aaa;
  233. }
  234. .info .tips.data-v-79ba75a6 {
  235. flex: 1;
  236. display: flex;
  237. align-items: center;
  238. justify-content: center;
  239. font-size: 12px;
  240. color: #aaa;
  241. }
  242. .info .end.data-v-79ba75a6 {
  243. display: flex;
  244. align-items: center;
  245. justify-content: center;
  246. font-size: 14px;
  247. border-radius: 8px;
  248. height: 50px;
  249. background: linear-gradient(to right, #8ff8fb, #47aeff);
  250. }
  251. .info .end.data-v-79ba75a6::after {
  252. display: none;
  253. }
  254. .info .end[disabled].data-v-79ba75a6 {
  255. background: #ddd;
  256. color: #aaa;
  257. }
  258. .countdown-ring.data-v-79ba75a6 {
  259. --countdown-ring-size: 150px;
  260. --countdown-ring-color: var(--color-red);
  261. --countdown-ring-duration: 2s;
  262. display: flex;
  263. width: var(--countdown-ring-size);
  264. height: var(--countdown-ring-size);
  265. border-radius: 100%;
  266. position: relative;
  267. }
  268. .countdown-ring > ._button.data-v-79ba75a6 {
  269. display: flex;
  270. align-items: center;
  271. justify-content: center;
  272. flex-direction: column;
  273. flex-wrap: wrap;
  274. width: calc(var(--countdown-ring-size) - 35px);
  275. height: calc(var(--countdown-ring-size) - 35px);
  276. color: #fff;
  277. font-size: 18px;
  278. font-weight: bold;
  279. background-color: var(--countdown-ring-color);
  280. border-radius: 100%;
  281. position: absolute;
  282. top: 50%;
  283. left: 50%;
  284. -webkit-transform: translate(-50%, -50%);
  285. transform: translate(-50%, -50%);
  286. }
  287. .countdown-ring > ._half.data-v-79ba75a6 {
  288. flex: 1;
  289. height: var(--countdown-ring-size);
  290. overflow: hidden;
  291. position: relative;
  292. z-index: 1;
  293. }
  294. .countdown-ring > ._half.data-v-79ba75a6::after {
  295. content: "";
  296. display: block;
  297. width: var(--countdown-ring-size);
  298. height: var(--countdown-ring-size);
  299. border: 8px solid transparent;
  300. border-radius: 100%;
  301. box-sizing: border-box;
  302. position: absolute;
  303. top: 0;
  304. -webkit-transform: rotate(-135deg);
  305. transform: rotate(-135deg);
  306. }
  307. .countdown-ring > ._half.left.data-v-79ba75a6::after {
  308. left: 0;
  309. border-bottom-color: var(--countdown-ring-color);
  310. border-left-color: var(--countdown-ring-color);
  311. }
  312. .countdown-ring > ._half.right.data-v-79ba75a6::after {
  313. right: 0;
  314. border-top-color: var(--countdown-ring-color);
  315. border-right-color: var(--countdown-ring-color);
  316. }
  317. .countdown-ring.active > ._half.left.data-v-79ba75a6::after {
  318. -webkit-animation: show-data-v-79ba75a6 calc(var(--countdown-ring-duration) / 2) linear 1;
  319. animation: show-data-v-79ba75a6 calc(var(--countdown-ring-duration) / 2) linear 1;
  320. -webkit-animation-delay: calc(var(--countdown-ring-duration) / 2);
  321. animation-delay: calc(var(--countdown-ring-duration) / 2);
  322. -webkit-animation-fill-mode: forwards;
  323. animation-fill-mode: forwards;
  324. }
  325. .countdown-ring.active > ._half.right.data-v-79ba75a6::after {
  326. -webkit-transform: rotate(45deg);
  327. transform: rotate(45deg);
  328. -webkit-animation: show-data-v-79ba75a6 calc(var(--countdown-ring-duration) / 2) linear 1;
  329. animation: show-data-v-79ba75a6 calc(var(--countdown-ring-duration) / 2) linear 1;
  330. }
  331. @-webkit-keyframes show-data-v-79ba75a6 {
  332. 0% {
  333. -webkit-transform: rotate(-135deg);
  334. transform: rotate(-135deg);
  335. }
  336. 100% {
  337. -webkit-transform: rotate(45deg);
  338. transform: rotate(45deg);
  339. }
  340. }
  341. @keyframes show-data-v-79ba75a6 {
  342. 0% {
  343. -webkit-transform: rotate(-135deg);
  344. transform: rotate(-135deg);
  345. }
  346. 100% {
  347. -webkit-transform: rotate(45deg);
  348. transform: rotate(45deg);
  349. }
  350. }
  351. /* 充电loading动画 */
  352. .charge-loading-box.data-v-79ba75a6 {
  353. text-align: center;
  354. margin-top: 20rpx;
  355. }
  356. .charge-loading.data-v-79ba75a6 {
  357. width: 364rpx;
  358. height: 36rpx;
  359. background: #FFFFFF;
  360. border-radius: 18rpx;
  361. overflow: hidden;
  362. position: relative;
  363. margin: auto;
  364. }
  365. .charge-icon.data-v-79ba75a6 {
  366. width: 28rpx;
  367. height: 28rpx;
  368. z-index: 1000;
  369. position: absolute;
  370. left: 20rpx;
  371. top: 5rpx;
  372. }
  373. .c-loading.data-v-79ba75a6 {
  374. width: 100%;
  375. height: 100%;
  376. background: linear-gradient(66deg, rgba(139, 243, 251, 0), #60C8FE, #53D4FF, rgba(139, 243, 251, 0.7));
  377. border-radius: 18rpx;
  378. -webkit-animation: loading-data-v-79ba75a6 3s linear infinite;
  379. animation: loading-data-v-79ba75a6 3s linear infinite;
  380. background-size: 200% 100%;
  381. }
  382. @-webkit-keyframes loading-data-v-79ba75a6 {
  383. 0% {
  384. background-position: 100% 0;
  385. }
  386. 100% {
  387. background-position: -100% 0;
  388. }
  389. }
  390. @keyframes loading-data-v-79ba75a6 {
  391. 0% {
  392. background-position: 100% 0;
  393. }
  394. 100% {
  395. background-position: -100% 0;
  396. }
  397. }