index.wxss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774
  1. /* 隐藏滚动条 */
  2. ::-webkit-scrollbar {
  3. width: 0;
  4. height: 0;
  5. color: transparent;
  6. display: none;
  7. }
  8. /************************ 首页 ************************/
  9. .container .nav-wrap {
  10. backdrop-filter: blur(10rpx);
  11. border-bottom: 1rpx solid rgba(0, 0, 0, 0.1);
  12. }
  13. .container .nav-wrap .nav-info {
  14. padding-left: 32rpx;
  15. display: flex;
  16. align-items: center;
  17. }
  18. .container .nav-wrap .nav-info .device-pic {
  19. height: 36rpx;
  20. margin-right: 12rpx;
  21. }
  22. .container .nav-wrap .nav-info .z {
  23. height: 24rpx;
  24. margin-right: 12rpx;
  25. }
  26. .container .nav-wrap .nav-info text {
  27. font-size: 28rpx;
  28. color: #353535;
  29. font-weight: bold;
  30. margin-right: 24rpx;
  31. }
  32. .container .nav-wrap .nav-info .j {
  33. height: 16rpx;
  34. }
  35. .container .mair {
  36. width: calc(100% - 64rpx);
  37. padding: 20rpx 32rpx 0;
  38. height: calc(100vh - 20rpx);
  39. position: relative;
  40. overflow: hidden;
  41. }
  42. .container .mair .play-info {
  43. width: 100%;
  44. padding: 16rpx 0;
  45. background: linear-gradient(167deg, #D8D8D8 0%, rgba(238, 238, 238, 0.5) 100%);
  46. border-radius: 12rpx;
  47. display: flex;
  48. align-items: center;
  49. justify-content: center;
  50. }
  51. .container .mair .play-info .info {
  52. width: 550rpx;
  53. height: 152rpx;
  54. position: relative;
  55. }
  56. .container .mair .play-info .wakeMode {
  57. width: 96rpx;
  58. height: 152rpx;
  59. background: linear-gradient(180deg, #000000 0%, #000000 100%);
  60. box-shadow: inset 2rpx 6rpx 10rpx 0px rgba(255, 255, 255, 0.61), inset 0px -2rpx 4rpx 0px rgba(255, 255, 255, 0.3);
  61. border-radius: 12rpx;
  62. margin-left: 8rpx;
  63. position: relative;
  64. display: flex;
  65. align-items: center;
  66. justify-content: center;
  67. flex-direction: column;
  68. }
  69. .container .mair .play-info .wakeMode text {
  70. height: 28rpx;
  71. font-size: 20rpx;
  72. font-weight: 500;
  73. color: #FFFFFF;
  74. line-height: 28rpx;
  75. font-weight: 500;
  76. margin-top: 20rpx;
  77. }
  78. .container .mair .play-info .wakeMode .mode {
  79. position: absolute;
  80. top: 0;
  81. left: 0;
  82. width: 96rpx;
  83. height: 152rpx;
  84. z-index: 999;
  85. }
  86. .container .mair .play-info .info .logo {
  87. position: absolute;
  88. top: 14rpx;
  89. left: 20rpx;
  90. height: 48rpx;
  91. }
  92. .container .mair .play-info .info .battery {
  93. position: absolute;
  94. top: 8rpx;
  95. right: 16rpx;
  96. height: 56rpx;
  97. width: 56rpx;
  98. }
  99. .container .mair .play-info .info .fm {
  100. color: #fff;
  101. }
  102. .container .mair .play-info .info .black {
  103. position: absolute;
  104. top: 0;
  105. left: 0;
  106. width: 550rpx;
  107. height: 152rpx;
  108. }
  109. .container .mair .play-info .info .mode {
  110. position: absolute;
  111. top: 0;
  112. left: 0;
  113. width: 550rpx;
  114. height: 152rpx;
  115. z-index: 999;
  116. }
  117. .container .mair .play-info .info .fm {
  118. position: absolute;
  119. top: 22rpx;
  120. left: 50%;
  121. transform: translateX(-50%);
  122. font-size: 48rpx;
  123. font-weight: 600;
  124. color: #6D00FF;
  125. line-height: 66rpx;
  126. }
  127. .container .mair .play-info .info .fmMod {
  128. position: absolute;
  129. top: 22rpx;
  130. left: 50%;
  131. transform: translateX(-50%);
  132. width: 200rpx;
  133. height: 66rpx;
  134. z-index: 1000;
  135. }
  136. .container .mair .play-info .info .fm .gochnnalList {
  137. height: 50rpx;
  138. position: absolute;
  139. top: 8rpx;
  140. left: 100%;
  141. }
  142. .container .mair .play-info .info .thisMusic {
  143. position: absolute;
  144. bottom: 26rpx;
  145. left: 50%;
  146. transform: translateX(-50%);
  147. width: 488rpx;
  148. display: flex;
  149. justify-content: center;
  150. align-items: center;
  151. }
  152. .container .mair .play-info .info .thisMusic>text {
  153. width: 100rpx;
  154. display: inline-block;
  155. color: #fff;
  156. font-size: 20rpx;
  157. }
  158. .container .mair .play-info .info .thisMusic .scroll-box {
  159. position: relative;
  160. max-width: 388rpx;
  161. display: flex;
  162. align-items: center;
  163. }
  164. .thisMusic .scroll-box .scroll-wrap {
  165. max-width: 100%;
  166. display: inline-block;
  167. vertical-align: top;
  168. overflow: hidden;
  169. white-space: nowrap;
  170. }
  171. .thisMusic .scroll-box .scroll-item {
  172. /* animation: scroll linear 4s alternate infinite; */
  173. float: left;
  174. color: #fff;
  175. font-size: 20rpx;
  176. }
  177. @keyframes scroll {
  178. 0% {
  179. margin-left: 0;
  180. transform: translateX(0);
  181. }
  182. 10% {
  183. margin-left: 0;
  184. transform: translateX(0);
  185. }
  186. 90% {
  187. margin-left: 100%;
  188. transform: translateX(-100%);
  189. }
  190. 100% {
  191. margin-left: 100%;
  192. transform: translateX(-100%);
  193. }
  194. }
  195. .container .mair .gologin {
  196. position: absolute;
  197. top: 0;
  198. left: 0;
  199. width: 100vw;
  200. height: 100%;
  201. background-color: rgba(0, 0, 0, 0.6);
  202. display: flex;
  203. align-items: center;
  204. justify-content: center;
  205. z-index: 9999;
  206. }
  207. .container .mair .gologin .model {
  208. width: 100%;
  209. height: 100%;
  210. position: relative;
  211. background-color: #fff;
  212. }
  213. .container .mair .gologin .model>image {
  214. position: absolute;
  215. top: 0;
  216. left: 0;
  217. width: 100%;
  218. height: 100%;
  219. }
  220. .container .mair .gologin .model>view {
  221. /* position: absolute;
  222. top: 0;
  223. left: 0; */
  224. width: 100%;
  225. height: 100%;
  226. overflow: hidden;
  227. display: flex;
  228. align-items: center;
  229. flex-direction: column;
  230. }
  231. .container .mair .gologin .model>view>image {
  232. display: block;
  233. height: 44rpx;
  234. margin: 398rpx auto 18rpx;
  235. }
  236. .container .mair .gologin .model>view text {
  237. display: block;
  238. width: 100%;
  239. font-size: 30rpx;
  240. color: #353535;
  241. font-weight: bold;
  242. text-align: center;
  243. margin-bottom: 66rpx;
  244. }
  245. /* .container .mair .gologin .model > view > view {
  246. width: 226rpx;
  247. height: 80rpx;
  248. background: #6547A3;
  249. border-radius: 40rpx;
  250. text-align: center;
  251. line-height: 80rpx;
  252. margin: 0 auto;
  253. font-size: 30rpx;
  254. color: #fff;
  255. } */
  256. .container .mair .goruter .model {
  257. background: #fff;
  258. height: 100%;
  259. width: 100%;
  260. }
  261. .container .mair .goruter .model>view>image {
  262. display: block;
  263. height: 176rpx;
  264. margin: 318rpx auto 18rpx;
  265. }
  266. .container .pd {
  267. position: relative;
  268. width: 120vw;
  269. height: calc(100% - 204rpx);
  270. padding-top: 20rpx;
  271. margin-left: -24rpx;
  272. }
  273. .container .pd .conm {
  274. padding-left: 24rpx;
  275. width: calc(100vw - 52rpx);
  276. }
  277. .container .pd .cz {
  278. width: 22rpx;
  279. height: 1664rpx;
  280. position: absolute;
  281. top: 24rpx;
  282. left: 24rpx;
  283. }
  284. .container .pd .musicList {
  285. padding: 0 0 20rpx 44rpx;
  286. position: relative;
  287. }
  288. .container .pd .musicList .li {
  289. height: 98rpx;
  290. display: flex;
  291. align-items: center;
  292. margin-bottom: 52rpx;
  293. color: #353535;
  294. position: relative;
  295. }
  296. .container .pd .musicList .li .zz {
  297. width: 236rpx;
  298. height: 22rpx;
  299. position: absolute;
  300. top: 48rpx;
  301. left: -70rpx;
  302. z-index: 999;
  303. }
  304. .container .pd .musicList .li .lm {
  305. transform: rotate(90deg);
  306. }
  307. .container .pd .musicList .li .musicInfo {
  308. width: 606rpx;
  309. height: 98rpx;
  310. display: flex;
  311. align-items: center;
  312. margin-left: 22rpx;
  313. position: relative;
  314. }
  315. .container .pd .musicList .li .musicInfo .pic {
  316. width: 86rpx;
  317. height: 86rpx;
  318. border-radius: 50%;
  319. margin-right: 24rpx;
  320. border: 2rpx solid #979797;
  321. }
  322. .container .pd .musicList .li .musicInfo text {
  323. font-size: 30rpx;
  324. font-weight: bold;
  325. white-space: nowrap;
  326. overflow: hidden;
  327. text-overflow: ellipsis;
  328. width: calc(100% - 200rpx);
  329. }
  330. .container .pd .musicList .li .musicInfo .svg {
  331. position: absolute;
  332. top: 34rpx;
  333. right: 50rpx;
  334. width: 34rpx;
  335. height: 30rpx;
  336. }
  337. .container .pd .musicList .li:last-child {
  338. margin: 0;
  339. }
  340. .container .pd .musicList .li.action {
  341. color: #6547A3;
  342. }
  343. .container .pd .musicList .li.action .musicInfo {
  344. border-radius: 49rpx;
  345. background-color: #D8D8D8;
  346. }
  347. .mair .mz {
  348. width: calc(100% - 72rpx);
  349. padding: 32rpx 36rpx;
  350. background: #FFFFFF;
  351. border-radius: 0px 0px 18rpx 18rpx;
  352. overflow: hidden;
  353. }
  354. .mair .deviceList {
  355. width: 100%;
  356. height: 100%;
  357. background-color: rgba(0, 0, 0, 0.6);
  358. position: absolute;
  359. top: 0;
  360. left: 0;
  361. z-index: 9999;
  362. }
  363. .mair .mz .li-view {
  364. height: 160rpx;
  365. float: left;
  366. width: calc(100% / 2 - 8rpx);
  367. margin-bottom: 36rpx;
  368. display: flex;
  369. align-items: center;
  370. }
  371. .mair .mz .li-view:nth-child(2n) {
  372. margin-left: 14rpx;
  373. }
  374. .mair .mz .li {
  375. position: relative;
  376. width: calc(100% - 44rpx);
  377. height: 160rpx;
  378. display: flex;
  379. align-items: center;
  380. border: 2rpx solid #353535;
  381. border-radius: 16rpx;
  382. padding: 0 20rpx;
  383. background-color: #fff;
  384. }
  385. .mair .mz .li image {
  386. width: 96rpx;
  387. }
  388. .mair .mz .li .delete {
  389. position: absolute;
  390. top: -6rpx;
  391. right: -6rpx;
  392. width: 36rpx;
  393. }
  394. .mair .mz .li .deviceName {
  395. font-size: 28rpx;
  396. color: #353535;
  397. font-weight: 500;
  398. margin-left: 18rpx;
  399. }
  400. .mair .mz .li .onli {
  401. position: absolute;
  402. bottom: 14rpx;
  403. right: 24rpx;
  404. font-size: 24rex;
  405. color: #353535;
  406. }
  407. .mair .mz .li.action {
  408. border: 4rpx solid #6547A3;
  409. box-shadow: 0px 4rpx 8rpx 0px rgba(0, 0, 0, 0.5);
  410. width: calc(100% - 48rpx);
  411. height: 156rpx;
  412. }
  413. .mair .mz .li.action .onli {
  414. color: #6547A3;
  415. }
  416. .mair .mz .li.offline {
  417. opacity: 0.6;
  418. }
  419. .mair .mz .but {
  420. float: left;
  421. width: 100%;
  422. display: flex;
  423. justify-content: center;
  424. }
  425. .mair .mz .but text {
  426. display: flex;
  427. justify-content: center;
  428. align-items: center;
  429. width: 226rpx;
  430. height: 80rpx;
  431. background: #6547A3;
  432. border-radius: 45rpx;
  433. color: #fff;
  434. margin: 0 20rpx;
  435. }
  436. .wake {
  437. height: 48rpx;
  438. z-index: 1000;
  439. }
  440. .updataminiwx {
  441. position: fixed;
  442. top: 0;
  443. left: 0;
  444. width: 100vw;
  445. height: 100vh;
  446. display: flex;
  447. align-items: center;
  448. justify-content: center;
  449. background: rgba(0, 0, 0, 0.6);
  450. z-index: 9999;
  451. }
  452. .updataminiwx .mode {
  453. width: 520rpx;
  454. height: 410rpx;
  455. position: relative;
  456. }
  457. .updataminiwx .mode .bg {
  458. width: 520rpx;
  459. height: 410rpx;
  460. }
  461. .updataminiwx .mode .updata-view {
  462. width: 520rpx;
  463. height: 410rpx;
  464. position: absolute;
  465. top: 0;
  466. left: 0;
  467. }
  468. .updataminiwx .mode .updata-view image {
  469. width: 124rpx;
  470. height: 124rpx;
  471. margin: 24rpx auto 14rpx;
  472. display: block;
  473. }
  474. .updataminiwx .mode .updata-view .title {
  475. height: 38rpx;
  476. font-size: 30rpx;
  477. font-weight: bold;
  478. color: #353535;
  479. line-height: 38rpx;
  480. display: block;
  481. text-align: center;
  482. margin-bottom: 16rpx;
  483. }
  484. .updataminiwx .mode .updata-view .tip {
  485. height: 38rpx;
  486. font-size: 30rpx;
  487. font-weight: 500;
  488. color: #999;
  489. line-height: 38rpx;
  490. display: block;
  491. text-align: center;
  492. margin-bottom: 40rpx;
  493. }
  494. .updataminiwx .mode .updata-view>view {
  495. display: flex;
  496. justify-content: center;
  497. }
  498. .updataminiwx .mode .updata-view>view text {
  499. width: 226rpx;
  500. height: 80rpx;
  501. text-align: center;
  502. line-height: 80rpx;
  503. border-radius: 40rpx;
  504. font-size: 30rpx;
  505. font-weight: bold;
  506. margin: 0 10rpx;
  507. }
  508. .updataminiwx .mode .updata-view>view .onBut {
  509. background-color: rgba(153, 153, 153, 1);
  510. color: #fff;
  511. }
  512. .updataminiwx .mode .updata-view>view .twoBut {
  513. background-color: rgba(101, 71, 163, 1);
  514. color: #fff;
  515. }
  516. /************************ 我的 ************************/
  517. /* pages/me/me.wxss */
  518. .me .head-logo {
  519. padding: 38rpx 0 28rpx;
  520. display: flex;
  521. flex-direction: column;
  522. justify-content: center;
  523. align-items: center;
  524. }
  525. .me .head-logo image {
  526. width: 240rpx;
  527. height: 240rpx;
  528. border-radius: 50%;
  529. border: 10rpx solid rgba(101, 71, 163, 0.2);
  530. margin-bottom: 28rpx;
  531. }
  532. .me .head-logo text {
  533. font-size: 36rpx;
  534. font-weight: bold;
  535. }
  536. .me .head-logo .goLogin {
  537. color: #999;
  538. }
  539. .me .head-logo .userName {
  540. color: #353535;
  541. }
  542. .me .br {
  543. height: 20rpx;
  544. background: #999999;
  545. opacity: 0.05;
  546. }
  547. .me .list {
  548. padding: 0 30rpx;
  549. }
  550. .me .list .li {
  551. height: 102rpx;
  552. display: flex;
  553. }
  554. .me .list .li .icon {
  555. height: 102rpx;
  556. display: flex;
  557. align-items: center;
  558. margin-right: 20rpx;
  559. }
  560. .me .list .li image {
  561. width: 40rpx;
  562. }
  563. .me .list .li .button {
  564. width: calc(100% - 60rpx);
  565. border-bottom: 1rpx solid #E0DCD7;
  566. position: relative;
  567. display: flex;
  568. align-items: center;
  569. }
  570. .me .list .li .button button,
  571. .me .list .li .button text {
  572. margin: 0;
  573. background: none;
  574. text-align: left;
  575. padding: 0;
  576. line-height: 102rpx;
  577. font-size: 30rpx;
  578. color: #353535;
  579. font-weight: 400;
  580. }
  581. .me .list .li .button image.j {
  582. height: 22rpx;
  583. position: absolute;
  584. top: 40rpx;
  585. right: 0rpx;
  586. }
  587. .me .list .li .button image.logo {
  588. height: 34rpx;
  589. margin-left: 12rpx;
  590. }
  591. .login {
  592. position: fixed;
  593. bottom: 184rpx;
  594. width: 100vw;
  595. display: flex;
  596. justify-content: center;
  597. }
  598. .login>view {
  599. display: flex;
  600. justify-content: center;
  601. align-items: center;
  602. width: 520rpx;
  603. height: 80rpx;
  604. background: #999999;
  605. border-radius: 45rpx;
  606. font-size: 36rpx;
  607. font-weight: 400;
  608. color: #FFFFFF;
  609. }
  610. .login>view.action {
  611. background: #6547A3;
  612. }
  613. /************************ 底部选择按钮 ************************/
  614. .line {
  615. height: 1rpx;
  616. background-color: #999999;
  617. }
  618. .bottom_view {
  619. flex: 1;
  620. }
  621. .bottom_image {
  622. width: 44rpx;
  623. height: 42rpx;
  624. }
  625. /************************ banner ************************/
  626. .banner_container {
  627. width: 100%;
  628. height: 264rpx;
  629. margin-top: 32rpx;
  630. /* 根据需要调整高度 */
  631. overflow: hidden;
  632. position: relative;
  633. border-radius: 16rpx;
  634. }
  635. .swiper {
  636. width: 100%;
  637. height: 264rpx;
  638. }
  639. .swiper_image {
  640. width: 100%;
  641. display: block;
  642. }
  643. /* 设置指示点的大小和颜色 */
  644. .swiper_dot {
  645. width: 10px;
  646. /* 指示点的宽度 */
  647. height: 10px;
  648. /* 指示点的高度 */
  649. background-color: rgba(21, 128, 56, 0.5);
  650. /* 指示点的颜色,这里使用了半透明的白色 */
  651. border-radius: 50%;
  652. /* 使指示点成为圆形 */
  653. margin: 0 4px;
  654. /* 指示点之间的间距 */
  655. display: inline-block;
  656. /* 使指示点成为行内块元素 */
  657. }
  658. /* 设置当前选中指示点的样式(可选) */
  659. .swiper_dot_active {
  660. background-color: red;
  661. /* 当前选中指示点的颜色 */
  662. width: 12px;
  663. /* 当前选中指示点的宽度(可以比未选中时稍大) */
  664. height: 12px;
  665. /* 当前选中指示点的高度(可以比未选中时稍大) */
  666. }