charging.wxss 8.5 KB

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