.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); } }