index.wxss 19 KB

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