main.wxss 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152
  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. border-radius: 40rpx;
  918. }
  919. .menu-tab-item {
  920. font-size: 28rpx;
  921. padding: 14rpx 20rpx;
  922. flex: auto;
  923. text-align: center;
  924. margin: 0 12rpx;
  925. background: #FFFFFF;
  926. white-space: nowrap;
  927. border-radius: 16rpx;
  928. color: #6C6970;
  929. }
  930. .menu-tab-disenable {
  931. font-size: 28rpx;
  932. padding: 14rpx 20rpx;
  933. margin: 0 12rpx;
  934. white-space: nowrap;
  935. border-radius: 16rpx;
  936. color: #cccccc;
  937. }
  938. .menu-tab-item-active {
  939. color: #FFFFFF;
  940. font-size: 28rpx;
  941. padding: 14rpx 20rpx;
  942. white-space: nowrap;
  943. border-radius: 16rpx;
  944. margin: 0 12rpx;
  945. background: #0BC3AA;
  946. }
  947. .dialog-sure-btn {
  948. position: absolute;
  949. width: 312rpx;
  950. font-size: 28rpx;
  951. height: 64rpx;
  952. bottom: 40rpx;
  953. color: #49AF88;
  954. background: #FFFFFF;
  955. line-height: 64rpx;
  956. left: calc(50% - 156rpx);
  957. text-align: center;
  958. border-radius: 64rpx;
  959. }
  960. .dialog-content {
  961. width: 620rpx;
  962. top: 0;
  963. left: 0;
  964. position: absolute;
  965. margin-left: 60rpx;
  966. height: 380rpx;
  967. display: flex;
  968. flex-direction: column;
  969. }
  970. .dialog-h {
  971. display: flex;
  972. flex-direction: row;
  973. align-items: center;
  974. margin-left: 50rpx;
  975. margin-top: 50rpx;
  976. }
  977. .dialog-icon {
  978. display: block;
  979. width: 36rpx;
  980. height: 36rpx;
  981. }
  982. .dialog-title {
  983. margin-left: 20rpx;
  984. font-weight: 700;
  985. font-size: 32rpx;
  986. color: #222222;
  987. }
  988. .dialog-desc {
  989. margin: 28rpx 50rpx 0;
  990. font-size: 22rpx;
  991. color: #333333;
  992. line-height: 36rpx;
  993. font-weight: 400;
  994. }