main.wxss 19 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141
  1. /**index.wxss**/
  2. page {
  3. width: 100vw;
  4. padding-bottom: 130px;
  5. background: #F6F8F9;
  6. display: flex;
  7. overflow-x: hidden;
  8. flex-direction: column;
  9. }
  10. .container {
  11. display: flex;
  12. width: 100vw;
  13. flex-direction: column;
  14. align-items: center;
  15. justify-content: center;
  16. }
  17. .header-wrapper {
  18. width: calc(100% - 120rpx);
  19. margin: 0 auto 50rpx auto;
  20. display: flex;
  21. flex-direction: row;
  22. justify-content: space-between;
  23. }
  24. .weather-box {
  25. display: flex;
  26. flex-direction: column;
  27. }
  28. .weather-box .weather-title {
  29. font-size: 28rpx;
  30. color: #3E3D44;
  31. }
  32. .weather-box .weather-value {
  33. font-size: 72rpx;
  34. font-weight: bold;
  35. line-height: 80rpx;
  36. margin-top: 10rpx;
  37. color: #3E3D44;
  38. }
  39. .weather-box .weather-desc {
  40. font-size: 36rpx;
  41. color: #3E3D44;
  42. line-height: 80rpx;
  43. margin-top: 10rpx;
  44. }
  45. .contentArea {
  46. width: 100%;
  47. display: flex;
  48. flex-direction: column;
  49. background: #F6F8F9;
  50. border-radius: 28rpx 28rpx 0;
  51. }
  52. .theFirstRow {
  53. font-weight: 500;
  54. display: flex;
  55. justify-content: flex-end;
  56. margin-right: 30rpx;
  57. align-items: center;
  58. flex-direction: row;
  59. }
  60. .theFirstRow-title {
  61. font-size: 20rpx;
  62. margin: 0 20rpx;
  63. color: #6C6970;
  64. }
  65. .theFirstRow-value {
  66. color: #3E3D44;
  67. font-size: 16px;
  68. font-weight: 600;
  69. }
  70. .theFirstRow-unit {
  71. color: #3E3D44;
  72. font-size: 10px;
  73. }
  74. .theFirstRow image {
  75. width: 30rpx;
  76. height: 30rpx;
  77. margin-left: 30rpx;
  78. }
  79. .horizontal-swiper {
  80. width: 100%;
  81. height: 40rpx;
  82. }
  83. .swiper-item {
  84. width: 400rpx;
  85. /* 设置滑动块的宽度 */
  86. height: 100%;
  87. display: flex;
  88. justify-content: center;
  89. align-items: center;
  90. background-color: #3c4fff;
  91. margin-right: 20rpx;
  92. /* 根据需要设置间距 */
  93. }
  94. .item-content {
  95. /* 其他样式 */
  96. }
  97. .wrapper {
  98. padding: 20rpx 30rpx;
  99. background-color: #000000;
  100. }
  101. .wrapper-dark {
  102. padding: 30rpx;
  103. background-color: #27313b;
  104. }
  105. .header-title {
  106. display: flex;
  107. justify-content: space-between;
  108. }
  109. .header-title text {
  110. color: #000;
  111. }
  112. .header-title-fire {
  113. display: flex;
  114. justify-content: space-between;
  115. }
  116. .header-title-fire text {
  117. color: #fdfbfb;
  118. font-size: large;
  119. font-weight: 200;
  120. margin: 0 auto;
  121. }
  122. .header-text {
  123. font-size: 60rpx;
  124. font-weight: 400;
  125. display: flex;
  126. justify-content: space-between;
  127. }
  128. .header-text text {
  129. color: #000;
  130. }
  131. .weather-advice {
  132. margin-top: 40rpx;
  133. font-size: 24rpx;
  134. }
  135. .data-wrapper {
  136. margin-top: 20rpx;
  137. display: flex;
  138. justify-content: space-between;
  139. background-color: #000000;
  140. }
  141. .data {
  142. background-color: #fff;
  143. width: 300rpx;
  144. height: 200rpx;
  145. margin: 20rpx 0px;
  146. border-radius: 40rpx;
  147. display: flex;
  148. justify-content: space-around;
  149. padding: 0 16rpx;
  150. box-shadow: #d6d6d6 0px 0px 10rpx;
  151. }
  152. .data-humidifier {
  153. /* margin-top: 30rpx; */
  154. background-color: #fff;
  155. /* 设置边框样式 */
  156. border: 2rpx solid #e0e0e0;
  157. /* 边框宽度、样式和颜色 */
  158. /* 设置圆角弧度 */
  159. border-radius: 20rpx;
  160. /* 可以根据需要调整圆角的大小 */
  161. /* 设置阴影效果 */
  162. box-shadow: 0rpx 4rpx 8rpx rgba(0, 0, 0, 0.1);
  163. /* 阴影的偏移量、模糊半径和颜色 */
  164. padding-right: 5rpx;
  165. margin-top: 10rpx;
  166. height: 650rpx;
  167. }
  168. .body {
  169. width: 100%;
  170. display: flex;
  171. flex-direction: column;
  172. }
  173. .data-media-player {
  174. box-shadow: inset 10px 4px 10px 0px rgba(182, 194, 205, 0.2);
  175. border-radius: 20px;
  176. background: #FFFFFF;
  177. align-items: center;
  178. padding: 20rpx 0;
  179. margin: 0 40rpx;
  180. display: flex;
  181. flex-direction: column;
  182. margin-bottom: 48rpx;
  183. position: relative;
  184. }
  185. .data-media-1 {
  186. flex: 1;
  187. display: flex;
  188. flex-direction: column;
  189. }
  190. .data-media-1 .sub-title {
  191. color: #6C6970;
  192. font-size: 14px;
  193. margin-top: 40rpx;
  194. margin-left: 30rpx;
  195. }
  196. .card-data {
  197. display: flex;
  198. flex-direction: column;
  199. padding-right: 30rpx;
  200. align-items: flex-end;
  201. position: relative;
  202. height: 200rpx;
  203. }
  204. .card-data .data-card__icon {
  205. position: absolute;
  206. top: 40rpx;
  207. left: 40rpx;
  208. width: 88rpx;
  209. height: 88rpx;
  210. }
  211. .card-data .data-card__value {
  212. margin-top: 40rpx;
  213. }
  214. .card-data .data-card__title1 {
  215. margin-top: 40rpx;
  216. font-size: 14px;
  217. color: #6C6970;
  218. }
  219. .card-line {
  220. width: calc(100% - 68rpx);
  221. margin: 0 auto;
  222. background: #E8E8E8;
  223. height: 1rpx;
  224. }
  225. .card-line-v {
  226. height: 300rpx;
  227. margin: auto 0;
  228. background: #E8E8E8;
  229. width: 1rpx;
  230. }
  231. .btn-pos-view {
  232. width: 200rpx;
  233. height: 200rpx;
  234. position: relative;
  235. margin-top: 40rpx;
  236. margin-left: 40rpx;
  237. margin-bottom: 84rpx;
  238. display: flex;
  239. flex-direction: column;
  240. align-items: center;
  241. justify-content: center;
  242. }
  243. .btn-pos-view image {
  244. width: 200rpx;
  245. height: 200rpx;
  246. display: block;
  247. }
  248. .btn-pos-view:active {
  249. opacity: 0.7;
  250. }
  251. .btn-pos-view text {
  252. width: 200rpx;
  253. text-align: center;
  254. font-size: 24rpx;
  255. color: #6C6970;
  256. position: absolute;
  257. white-space: nowrap;
  258. }
  259. .echarts-container_humidityDial {
  260. width: 300rpx;
  261. display: block;
  262. height: 300rpx;
  263. }
  264. .power-btn {
  265. position: absolute;
  266. right: 30rpx;
  267. top: 40rpx;
  268. border-radius: 100%;
  269. box-sizing: border-box;
  270. box-shadow: 0px 6rpx 18rpx 0px #E3E4E5;
  271. width: 110rpx;
  272. height: 110rpx;
  273. }
  274. .power-btn-small {
  275. width: 110rpx;
  276. height: 110rpx;
  277. box-sizing: border-box;
  278. border-radius: 100%;
  279. box-shadow: 0px 6rpx 18rpx 0px #E3E4E5;
  280. margin-top: -10rpx;
  281. }
  282. .airConditioning-title {
  283. position: absolute;
  284. left: 40rpx;
  285. top: 40rpx;
  286. display: flex;
  287. flex-direction: row;
  288. align-items: center;
  289. }
  290. .airConditioning-title image {
  291. width: 48rpx;
  292. height: 48rpx;
  293. }
  294. .airConditioning-title text {
  295. font-size: 24rpx;
  296. color: #3E3D44;
  297. margin-left: 20rpx;
  298. }
  299. .data-logo {
  300. height: 72rpx;
  301. width: 72rpx;
  302. margin-top: 30rpx;
  303. }
  304. .data-text {
  305. margin-top: 30rpx;
  306. color: #7f7f7f;
  307. }
  308. .data-title {
  309. text-align: right;
  310. }
  311. .data-value {
  312. font-size: 52rpx;
  313. }
  314. .panel {
  315. display: flex;
  316. padding: 0 30rpx;
  317. }
  318. .cellgroup {
  319. margin-top: 12rpx;
  320. /* 设置边框样式 */
  321. border: 2rpx solid #ebebeb;
  322. /* 边框宽度、样式和颜色 */
  323. /* 设置圆角弧度 */
  324. border-radius: 20rpx;
  325. /* 可以根据需要调整圆角的大小 */
  326. /* 设置阴影效果 */
  327. box-shadow: 0rpx 8rpx 12rpx rgba(85, 255, 255, 0.1);
  328. /* 阴影的偏移量、模糊半径和颜色 */
  329. }
  330. .circle-humi {
  331. margin-left: 150rpx;
  332. }
  333. .switch {
  334. margin-top: 20rpx;
  335. display: flex;
  336. flex-direction: column;
  337. align-items: flex-end;
  338. }
  339. .silder {
  340. margin-top: 50rpx;
  341. }
  342. .s_view {
  343. width: 100%;
  344. display: flex;
  345. justify-content: center;
  346. margin-top: -50rpx;
  347. /* margin-bottom: 50rpx; */
  348. }
  349. .s_view_climate {
  350. width: 100%;
  351. display: flex;
  352. justify-content: center;
  353. margin-top: -50rpx;
  354. /* margin-bottom: 50rpx; */
  355. }
  356. .button {
  357. width: 90rpx;
  358. height: 90rpx;
  359. border-radius: 50%;
  360. margin: -100rpx 5rpx 5rpx 5rpx;
  361. background-color: #00aaff;
  362. display: flex;
  363. align-items: center;
  364. justify-content: center;
  365. cursor: pointer;
  366. transition: background-color 0.3s;
  367. border: none;
  368. outline: none;
  369. z-index: 9999;
  370. }
  371. .button:hover {
  372. background-color: #808080;
  373. }
  374. .buttonClimate {
  375. width: 90rpx;
  376. height: 90rpx;
  377. border-radius: 50%;
  378. margin: -100rpx 5rpx 5rpx 5rpx;
  379. background-color: #00aaff;
  380. display: flex;
  381. align-items: center;
  382. justify-content: center;
  383. cursor: pointer;
  384. transition: background-color 0.3s;
  385. border: none;
  386. outline: none;
  387. margin-left: 20rpx;
  388. z-index: 9999;
  389. }
  390. .buttonClimate:hover {
  391. background-color: #808080;
  392. }
  393. .plusHumidifier {
  394. font-size: 35rpx;
  395. color: white;
  396. }
  397. .plus {
  398. font-size: 60rpx;
  399. color: white;
  400. }
  401. .narrow-slider {
  402. width: 200rpx;
  403. }
  404. .slider-container {
  405. display: flex;
  406. align-items: center;
  407. justify-content: flex-start;
  408. }
  409. .custom-slider {
  410. width: 50%;
  411. /* 根据需要调整slider的宽度 */
  412. }
  413. .slider-value {
  414. margin-left: 10rpx;
  415. /* 根据需要调整value与slider之间的间距 */
  416. }
  417. .tui-slider-box {
  418. width: 440rpx;
  419. margin-top: 20rpx;
  420. }
  421. .gray-input {
  422. /* background-color: #ccc; */
  423. background-color: #f5f5f5;
  424. /* 其他样式,如字体大小、颜色、边框等 */
  425. padding: 10rpx 50rpx 10rpx 10rpx;
  426. /* 内边距,使文本不会紧贴着边框 */
  427. border: none;
  428. /* 移除默认边框 */
  429. }
  430. .arrow-up,
  431. .arrow-down {
  432. width: 5rpx;
  433. /* 箭头的宽度 */
  434. height: 5rpx;
  435. /* 箭头的高度 */
  436. border-width: 6rpx;
  437. /* 边框宽度,控制箭头的大小 */
  438. border-style: solid;
  439. /* 边框样式 */
  440. position: absolute;
  441. /* 绝对定位,方便后续调整位置 */
  442. background-color: #f5f5f5;
  443. /* 灰色背景 */
  444. }
  445. .arrow-up {
  446. border-color: transparent transparent white transparent;
  447. /* 设置上箭头的颜色 */
  448. transform: rotate(-45deg);
  449. /* 旋转箭头,使其朝上 */
  450. margin-top: 10rpx;
  451. /* 设置上箭头的位置 */
  452. background-color: #f5f5f5;
  453. /* 灰色背景 */
  454. }
  455. .arrow-down {
  456. border-color: white transparent transparent transparent;
  457. /* 设置下箭头的颜色 */
  458. transform: rotate(45deg);
  459. /* 旋转箭头,使其朝下 */
  460. margin-top: 20rpx;
  461. /* 设置下箭头的位置,确保它在上箭头的下方 */
  462. background-color: #f5f5f5;
  463. /* 灰色背景 */
  464. }
  465. .input-unit {
  466. margin-left: 10rpx;
  467. /* 与文本框之间留一些间距 */
  468. color: #666;
  469. /* 单位的颜色 */
  470. font-size: 24rpx;
  471. /* 单位的字体大小 */
  472. background-color: #f5f5f5;
  473. /* 灰色背景 */
  474. }
  475. .input-container {
  476. display: flex;
  477. align-items: center;
  478. justify-content: space-between;
  479. /* 使得文本框、箭头和单位之间有空隙 */
  480. padding: 10rpx;
  481. background-color: #f5f5f5;
  482. /* 灰色背景 */
  483. }
  484. .input-text {
  485. flex: 1;
  486. /* 占据大部分空间 */
  487. border: none;
  488. padding: 10rpx;
  489. background-color: #fff;
  490. /* 文本框背景色 */
  491. border-radius: 10rpx;
  492. /* 圆角 */
  493. }
  494. .arrow-container {
  495. display: flex;
  496. flex-direction: column;
  497. align-items: center;
  498. justify-content: center;
  499. }
  500. .arrow {
  501. width: 12rpx;
  502. height: 12rpx;
  503. border: 1rpx solid #666;
  504. border-width: 0 1rpx 1rpx 0;
  505. /* transform: rotate(-45deg); */
  506. margin-bottom: 0rpx;
  507. /* 上下箭头之间的间距 */
  508. background-color: #f5f5f5;
  509. /* 灰色背景 */
  510. }
  511. .up-arrow {
  512. transform: rotate(225deg);
  513. /* 下箭头需要反方向旋转 */
  514. margin-bottom: 0;
  515. /* 下箭头不需要额外的底部间距 */
  516. }
  517. .down-arrow {
  518. transform: rotate(45deg);
  519. /* 下箭头需要反方向旋转 */
  520. margin-bottom: 0;
  521. /* 下箭头不需要额外的底部间距 */
  522. }
  523. .input-unit {
  524. color: #666;
  525. font-size: 24rpx;
  526. }
  527. .audio-player {
  528. width: 100%;
  529. padding: 20rpx;
  530. box-sizing: border-box;
  531. /* margin-top: 20rpx; */
  532. }
  533. .controls {
  534. display: flex;
  535. justify-content: space-between;
  536. align-items: center;
  537. margin-bottom: 20rpx;
  538. }
  539. .controls_tv {
  540. display: flex;
  541. /* justify-content: space-between; */
  542. align-items: left;
  543. margin-bottom: 20rpx;
  544. }
  545. .control-button {
  546. width: 96rpx;
  547. height: 156rpx;
  548. border-radius: 24rpx;
  549. background: #F6F8F9;
  550. }
  551. .control-button_1 {
  552. width: 96rpx;
  553. height: 156rpx;
  554. border-radius: 24rpx;
  555. background: #0BC3AA;
  556. }
  557. .progress {
  558. display: flex;
  559. align-items: center;
  560. justify-content: center;
  561. margin-bottom: 20rpx;
  562. }
  563. .progress-bar {
  564. width: 80%;
  565. height: 40rpx;
  566. }
  567. .info {
  568. display: flex;
  569. flex-direction: column;
  570. align-items: center;
  571. text-align: center;
  572. }
  573. .song-title,
  574. .song-artist {
  575. color: #7eff98;
  576. /* font-weight: bold; */
  577. }
  578. .picker-view {
  579. background-color: #fff;
  580. border: 2rpx solid #ddd;
  581. padding: 10rpx;
  582. font-size: 28rpx;
  583. }
  584. .center-view {
  585. display: flex;
  586. margin-bottom: 30rpx;
  587. flex-direction: row;
  588. align-items: center;
  589. font-size: 32rpx;
  590. color: #3E3D44;
  591. }
  592. .title-line {
  593. margin-left: 40rpx;
  594. width: 12rpx;
  595. height: 32rpx;
  596. margin-right: 20rpx;
  597. border-radius: 8rpx;
  598. background: #0BC3AA;
  599. }
  600. .gray-text {
  601. font-size: 32rpx;
  602. color: #3E3D44;
  603. }
  604. .custom-cell {
  605. /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  606. background-color: #fff;
  607. border-radius: 4px; */
  608. }
  609. .air-conditioner-controls {
  610. display: flex;
  611. justify-content: space-between;
  612. align-items: center;
  613. flex-direction: row;
  614. width: calc(100% - 80rpx);
  615. padding: 20rpx 0;
  616. background: white;
  617. }
  618. .control-button {
  619. width: 96rpx;
  620. height: 156rpx;
  621. border-radius: 24rpx;
  622. background: #F6F8F9;
  623. display: flex;
  624. flex-direction: column;
  625. align-items: center;
  626. justify-content: center;
  627. }
  628. .control-button_1 {
  629. width: 96rpx;
  630. height: 156rpx;
  631. border-radius: 24rpx;
  632. background: #0BC3AA;
  633. display: flex;
  634. flex-direction: column;
  635. align-items: center;
  636. justify-content: center;
  637. }
  638. .control-button_media {
  639. width: 100rpx;
  640. height: 100rpx;
  641. border-radius: 50%;
  642. display: flex;
  643. flex-direction: column;
  644. align-items: center;
  645. justify-content: center;
  646. background-color: rgba(203, 203, 203, 0.5);
  647. box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.1);
  648. margin: 0 10rpx;
  649. }
  650. .control-button_media_1 {
  651. width: 100rpx;
  652. height: 100rpx;
  653. border-radius: 50%;
  654. display: flex;
  655. flex-direction: column;
  656. align-items: center;
  657. justify-content: center;
  658. background-color: rgba(0, 170, 255, 0.5);
  659. box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.1);
  660. margin: 0 10rpx;
  661. }
  662. .control-button_media_2 {
  663. width: 80rpx;
  664. height: 80rpx;
  665. border-radius: 50%;
  666. flex-direction: column;
  667. align-items: right;
  668. justify-content: right;
  669. background-color: rgba(203, 203, 203, 0.5);
  670. box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.1);
  671. margin: 0 10rpx;
  672. }
  673. .control-icon {
  674. width: 40rpx;
  675. height: 40rpx;
  676. }
  677. .control-text {
  678. font-size: 24rpx;
  679. color: #3E3D44;
  680. margin-top: 10rpx;
  681. }
  682. .control-text_select {
  683. font-size: 24rpx;
  684. color: #ffffff;
  685. margin-top: 10rpx;
  686. }
  687. .canvas4 {
  688. display: flex;
  689. flex-direction: column;
  690. width: 100%;
  691. height: 720rpx;
  692. background-color: #d2d9ff;
  693. /* 这里设置你想要的背景色 */
  694. }
  695. /* button {
  696. -webkit-tap-highlight-color: transparent;
  697. background: -webkit-linear-gradient(bottom,rgb(255, 255, 255),rgb(46, 207, 255),rgb(0, 170, 255));
  698. border-radius: 5px;
  699. box-sizing: border-box;
  700. color: #000;
  701. cursor: pointer;
  702. display: block;
  703. font-size: 18px;
  704. line-height: 2.55555556;
  705. margin-left: auto;
  706. margin-right: auto;
  707. overflow: hidden;
  708. padding-left: 14px;
  709. padding-right: 14px;
  710. position: relative;
  711. text-align: center;
  712. text-decoration: none;
  713. } */
  714. .value-display {
  715. font-size: 72rpx;
  716. display: block;
  717. line-height: 90rpx;
  718. font-weight: 700;
  719. margin-left: 40rpx;
  720. color: #3E3D44;
  721. }
  722. .value-display_unit {
  723. font-size: 28rpx;
  724. }
  725. .button-row {
  726. display: flex;
  727. flex-direction: row;
  728. margin-bottom: 20rpx;
  729. }
  730. .round-gradient-button {
  731. width: 160rpx;
  732. height: 60rpx;
  733. border: none;
  734. /* background: linear-gradient(to bottom, #ffba4a, #ffaa00); */
  735. /* background: -webkit-linear-gradient(bottom,rgb(255, 255, 255),rgb(46, 207, 255),rgb(0, 170, 255)); */
  736. background-color: rgb(0, 170, 255);
  737. /* color: white; */
  738. font-size: 26rpx;
  739. color: #000;
  740. /* border-radius: 20%; */
  741. line-height: 60rpx;
  742. text-align: center;
  743. /* box-shadow: 0px 4rpx 15rpx rgba(0, 0, 0, 0.2); */
  744. }
  745. .round-gradient-button-pressed {
  746. background: linear-gradient(to bottom, #87ceeb, #aaaaff);
  747. box-shadow: none;
  748. }
  749. .right-content-cover {
  750. display: flex;
  751. align-items: center;
  752. /* 垂直居中 */
  753. justify-content: flex-end;
  754. /* 水平靠右对齐 */
  755. }
  756. .control-button-cover {
  757. width: 60rpx;
  758. height: 60rpx;
  759. padding: 5rpx 25rpx 5rpx 5rpx;
  760. border-radius: 50%;
  761. background-color: rgba(255, 255, 255, 0.5);
  762. /* 白色半透明背景 */
  763. }
  764. .data-container {
  765. margin-top: 36rpx;
  766. display: grid;
  767. justify-content: center;
  768. grid-template-columns: repeat(auto-fill, 320rpx);
  769. grid-gap: 30rpx;
  770. }
  771. .data-card-v {
  772. display: flex;
  773. flex-direction: column;
  774. }
  775. .data-container .data-card {
  776. position: relative;
  777. /* background-color:#fff; */
  778. /* background: linear-gradient(180deg, #E3FFE6 0%, #FFFFFF 53%); */
  779. /* background-color: rgba(112, 56, 168, 0.5); */
  780. height: 160rpx;
  781. box-shadow: inset 20rpx 8rpx 20rpx 0px rgba(182, 194, 205, 0.2);
  782. border-radius: 36rpx;
  783. display: flex;
  784. justify-content: space-between;
  785. padding: 24rpx;
  786. }
  787. .data-container .data-card .data-card__text {
  788. position: absolute;
  789. right: 24rpx;
  790. color: #6C6970;
  791. text-align: right;
  792. white-space: nowrap;
  793. }
  794. .data-container .data-card .data-card__icon {
  795. height: 88rpx;
  796. width: 88rpx;
  797. left: 24rpx;
  798. top: 36rpx;
  799. }
  800. .data-container .data-card .data-card__title {
  801. padding-top: 18rpx;
  802. font-size: 28rpx;
  803. font-weight: bold;
  804. color: #6C6970;
  805. }
  806. .data-container .data-card .data-card__title1 {
  807. font-size: 28rpx;
  808. white-space: pre;
  809. font-weight: bold;
  810. color: #6C6970;
  811. }
  812. .data-container .data-card .data-card__value {
  813. padding-top: 60rpx;
  814. font-size: 52rpx;
  815. font-weight: bold;
  816. color: #ffffff;
  817. }
  818. .data-container .data-card .data-card__value1 {
  819. padding-top: 49rpx;
  820. font-size: 30rpx;
  821. color: #ffffff;
  822. }
  823. .sliderList {
  824. -webkit-overflow-scrolling: touch
  825. }
  826. .sliderItem {
  827. -webkit-overflow-scrolling: touch
  828. }
  829. .loading-container {
  830. position: fixed;
  831. top: 50%;
  832. left: 50%;
  833. transform: translate(-50%, -50%);
  834. padding: 10px;
  835. /* background-color: #9cffa3; */
  836. color: #b1b1b1;
  837. border-radius: 4px;
  838. z-index: 9999;
  839. /* 确保它显示在其他内容之上 */
  840. }
  841. .loading-text {
  842. /* 其他样式 */
  843. width: 300rpx;
  844. white-space: nowrap;
  845. }
  846. .clicked {
  847. /* 这里添加你的点击效果样式,例如改变透明度或添加阴影 */
  848. opacity: 0.8;
  849. /* 或者使用动画 */
  850. animation: myAnimation 0.3s;
  851. }
  852. .customSwitch {
  853. border-color: #E8EAEB;
  854. }
  855. @keyframes myAnimation {
  856. /* 定义你的动画 */
  857. from {
  858. transform: scale(1);
  859. }
  860. to {
  861. transform: scale(0.95);
  862. }
  863. }
  864. .tv_button-container {
  865. display: flex;
  866. flex-direction: row;
  867. height: 52rpx;
  868. align-items: center;
  869. justify-content: space-between;
  870. background: #FFF6EA;
  871. border-radius: 40rpx;
  872. }
  873. .tv_custom-button {
  874. margin: 4rpx;
  875. border: none;
  876. text-align: center;
  877. background: #FDA64A;
  878. font-size: 20rpx;
  879. white-space: nowrap;
  880. border-radius: 40rpx;
  881. padding: 0 12rpx;
  882. font-weight: normal;
  883. height: 44rpx;
  884. line-height: 44rpx;
  885. color: white;
  886. cursor: pointer;
  887. }
  888. .tv_disabled-button {
  889. font-size: 20rpx;
  890. white-space: nowrap;
  891. background: transparent;
  892. border: none;
  893. padding: 0 12rpx;
  894. font-weight: normal;
  895. text-align: center;
  896. height: 44rpx;
  897. line-height: 44rpx;
  898. margin: 4rpx;
  899. color: #6C6970;
  900. cursor: not-allowed;
  901. /* 更改鼠标指针样式 */
  902. }
  903. .menu-tab {
  904. display: flex;
  905. flex-direction: row;
  906. width: fit-content;
  907. margin: 40rpx;
  908. align-items: center;
  909. border-radius: 40rpx;
  910. background: #FFFFFF;
  911. }
  912. .menu-tab-item {
  913. font-size: 28rpx;
  914. padding: 8rpx 54rpx;
  915. margin: 4rpx;
  916. white-space: nowrap;
  917. border-radius: 40rpx;
  918. color: #6C6970;
  919. }
  920. .menu-tab-disenable {
  921. font-size: 28rpx;
  922. padding: 8rpx 54rpx;
  923. margin: 4rpx;
  924. white-space: nowrap;
  925. border-radius: 40rpx;
  926. color: #cccccc;
  927. }
  928. .menu-tab-item-active {
  929. color: #FFFFFF;
  930. font-size: 28rpx;
  931. padding: 8rpx 48rpx;
  932. white-space: nowrap;
  933. border-radius: 40rpx;
  934. margin: 4rpx;
  935. background: #0BC3AA;
  936. }
  937. .dialog-sure-btn {
  938. position: absolute;
  939. width: 312rpx;
  940. font-size: 28rpx;
  941. height: 64rpx;
  942. bottom: 40rpx;
  943. color: #49AF88;
  944. background: #FFFFFF;
  945. line-height: 64rpx;
  946. left: calc(50% - 156rpx);
  947. text-align: center;
  948. border-radius: 64rpx;
  949. }
  950. .dialog-content {
  951. width: 620rpx;
  952. top: 0;
  953. left: 0;
  954. position: absolute;
  955. margin-left: 60rpx;
  956. height: 380rpx;
  957. display: flex;
  958. flex-direction: column;
  959. }
  960. .dialog-h {
  961. display: flex;
  962. flex-direction: row;
  963. align-items: center;
  964. margin-left: 50rpx;
  965. margin-top: 50rpx;
  966. }
  967. .dialog-icon {
  968. display: block;
  969. width: 36rpx;
  970. height: 36rpx;
  971. }
  972. .dialog-title {
  973. margin-left: 20rpx;
  974. font-weight: 700;
  975. font-size: 32rpx;
  976. color: #222222;
  977. }
  978. .dialog-desc {
  979. margin: 28rpx 50rpx 0;
  980. font-size: 22rpx;
  981. color: #333333;
  982. line-height: 36rpx;
  983. font-weight: 400;
  984. }