.back { position: fixed; left: 15px; top: 17px; width: 31px; height: 31px; &>img { width: 100%; height: 100%; object-fit: cover; } &:active { opacity: .8; } } .container { background: url('../../common/images/icon_bg.png') no-repeat center center / cover; padding: 47px 12px 20px 54px; height: 100vh; overflow: hidden; } .content { display: flex; height: calc(100vh - 67px); overflow: hidden; } .opacityBg { background: linear-gradient(134deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.34) 100%); border-radius: 18px; border: 2px solid #fff; } .leftContent { position: relative; width: 55%; display: flex; } .leftBg { position: absolute; left: 0; top: 0; width: 95px; height: 100%; background: linear-gradient(48deg, #43B2FF 0%, #159AF7 100%); border: 2Px solid #fff; border-radius: 18px 9px 0 18px; z-index: 1; } .leftBg2 { position: absolute; left: 0; top: 0; width: calc(100% - 12px); height: 100%; background: linear-gradient(134deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.34) 100%); border-radius: 18px; border: 2Px solid #fff; } .types { position: relative; top: 2Px; width: 95px; height: calc(100% - 4Px); padding: 4px 0; overflow-x: hidden; overflow-y: auto; border-radius: 18px; z-index: 1; flex-shrink: 0; &::-webkit-scrollbar { width: 0; display: none; } .type { position: relative; padding: 4px 12px; &.typeActive { .typeImg { border-color: #99FFD0; animation: scaleBtn 1s ease-in-out; } } } .typeImg { padding: 6px; border: 2px solid transparent; border-radius: 6px; height: 95px; transition: .3s; &:active { transform: scale(0.8); } } .typeIcon { display: block; width: 100%; height: 100%; object-fit: cover; box-shadow: 2px 1Px 1px rgba(255, 255, 255, 1); filter: drop-shadow(1px 6px 6px rgba(0, 0, 0, 0.5)); } } .center { flex: 1; position: relative; padding-right: 12px; height: 100%; :global { .van-search { padding: 6px 9px; width: 100%; z-index: 1; } } } .musicContent { width: 100%; height: calc(100% - var(--van-search-input-height) - 12px - 2Px); padding: 6px 12px 12px 12px; overflow-x: hidden; overflow-y: auto; &::-webkit-scrollbar { width: 0; display: none; } } .musicItem { position: relative; display: flex; align-items: center; border: 3px solid #fff; border-radius: 9px; margin-bottom: 6px; background-color: #fff; padding: 4px; transition: all .3s; &.disableNotic { :global { .van-notice-bar__content { transition-duration: 0s !important; transform: none !important; } } } &.musicActive { border-width: 3px; background: linear-gradient(180deg, #FFFFFF 0%, #BFE1FF 100%); transform: scale(1.05); box-shadow: 0px 2px 4px 0px rgba(73, 159, 228, 1); } .musicAvtor { display: block; width: 8.2vw; height: 8.2vw; border-radius: 8Px; object-fit: cover; flex-shrink: 0; margin-right: 1vw; } .musicInfo { flex: 1; .musicName { font-weight: 600; color: #333; margin-bottom: 3px; } .noticeBar { padding: 0; height: 28px; } .musicDes { width: 100%; display: flex; align-items: center; } .musicFavitor { border: 1px solid #FFC5C5; color: #FF6A6A; padding: 1px 3px 1px 14px; border-radius: 4px; background-color: #FFF8F7; background-image: url('./image/icon_hot.svg'); background-repeat: no-repeat; background-size: auto 70%; background-position: 2px center; margin-right: 4px; } .musicAuthor { flex: 1; font-size: 12px; font-weight: 400; color: #777; line-height: 12px; max-width: 9vw; } } .musicIcon { flex-shrink: 0; margin-right: 4px; } } .right { position: relative; background: #fff; overflow: hidden; border: none; width: 45%; } .right-musicName { font-size: 15px; font-weight: 500; color: #131415; line-height: 20px; text-align: center; padding: 12px 0; } .staff { width: 100%; } .rightBtns { position: absolute; bottom: 0; left: 0; right: 0; padding: 0 8px 18px 8px; display: flex; align-items: flex-end; height: 78px; background: #fff; background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #C1EEFF 100%); &>img { margin: 0 4px; height: 30px; transition: .3s; &:active { transform: scale(0.6); } } &>img:last-child { margin-left: auto; animation: scaleBtn 1s ease-in-out infinite; } } @keyframes scaleBtn { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } } @keyframes displayIcon { to { opacity: 1; } }