index.wxss 13 KB

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