123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202 |
- .audioPlayer {
- background-color: #fff;
- }
- .playerHeader {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 10px 15px 0;
- .musicInfo {
- display: flex;
- align-items: center;
- .cover {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 42px;
- height: 42px;
- background: #3D465A;
- box-shadow: 0px 2px 13px 0px rgba(0, 0, 0, 0.09);
- border-radius: 50%;
- transition: opacity .3s;
- animation: rotateImg 6s linear infinite;
- &.imgRotate {
- animation-play-state: paused;
- }
- }
- .musicBg {
- width: 28px;
- height: 28px;
- border-radius: 50%;
- overflow: hidden;
- }
- .musicName {
- padding-left: 10px;
- font-size: 16px;
- font-weight: 500;
- color: #131415;
- line-height: 22px;
- text-shadow: 0px 2px 13px rgba(0, 0, 0, 0.09);
- max-width: 140px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- }
- .controls {
- .icon {
- font-size: 18px;
- margin: 0 11px;
- }
- .iconMenu {
- font-size: 20px;
- }
- }
- }
- .playerFooter {
- --van-slider-bar-height: 4px;
- --van-slider-active-background: #C8E7FF;
- --van-slider-inactive-background: rgba(0, 0, 0, 0.09);
- --van-slider-button-width: 10px;
- --van-slider-button-height: 10px;
- --van-slider-button-background: #269EFE;
- --van-slider-button-shadow: 0px 2px 13px 0px rgba(0, 0, 0, 0.09);
- padding: 14px 15px calc(14px + env(safe-area-inset-bottom));
- display: flex;
- align-items: center;
- :global {
- .van-slider__button-wrapper--right {
- border: 4px solid rgba(38, 158, 254, 0.19);
- border-radius: 50%;
- }
- .van-slider__button {
- // border: 4px solid rgba(38, 158, 254, 0.19);
- }
- }
- .playerTimer {
- margin-left: 15px;
- flex-shrink: 0;
- font-size: 12px;
- font-weight: 500;
- color: #AAAAAA;
- line-height: 17px;
- text-shadow: 0px 2px 13px rgba(0, 0, 0, 0.09);
- }
- }
- .songPopup {
- border-radius: 12px 12px 0px 0px;
- background: #F8F9FC;
- }
- .songContainer {
- background: #FFFFFF;
- border-radius: 16px;
- min-height: 408px;
- max-height: 408px;
- overflow-x: hidden;
- overflow-y: auto;
- margin: 14px 12px calc(14px + env(safe-area-inset-bottom));
- .songTitle {
- position: sticky;
- top: 0;
- z-index: 10;
- background-color: #fff;
- display: flex;
- align-items: center;
- font-size: 17px;
- font-weight: 600;
- color: #333333;
- line-height: 24px;
- padding: 12px 14px;
- &::before {
- content: '';
- width: 4px;
- height: 14px;
- border-radius: 2px;
- background: linear-gradient(to bottom, #259CFE, #47CEFF);
- margin-right: 6px;
- }
- }
- .songCellGroup {}
- .songCell {
- margin: 25px 7px;
- padding: 10px 7px;
- border-radius: 12px;
- width: auto;
- &.active {
- background: #F1F5FD;
- .songName {
- color: #1CACF1
- }
- }
- &:first-child {
- margin-top: 0;
- }
- :global {
- .van-cell__value {
- display: flex;
- align-items: center;
- justify-content: flex-end;
- }
- }
- .songImg {
- width: 28px;
- height: 27px;
- border-radius: 10px;
- overflow: hidden;
- margin-right: 10px;
- flex-shrink: 0;
- }
- .songName {
- max-width: 180px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- font-size: 16px;
- font-weight: 500;
- color: #131415;
- line-height: 22px;
- }
- .iconSong {
- font-size: 20px;
- }
- }
- }
- @keyframes rotateImg {
- 100% {
- transform: rotate(360deg);
- }
- }
|