main.wxss 20 KB

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