123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465 |
- .back {
- position: fixed;
- left: 15px;
- top: 17px;
- width: 31px;
- height: 31px;
- &>img {
- width: 100%;
- height: 100%;
- object-fit: cover;
- }
- &:active {
- opacity: 0.8;
- }
- }
- .musicCFixed {
- position: fixed;
- top: 17px;
- left: 55px;
- .musicName {
- font-size: 15px;
- font-weight: 600;
- color: #FFFFFF;
- line-height: 33px;
- }
- }
- .popoverMusic {
- width: 160px;
- // border: none;
- --van-popover-action-width: 100%;
- :global {
- .van-popover__action {
- // display: flex;
- // justify-content: center;
- // align-items: center;
- // padding: 0;
- // width: 100%;
- // height: 36px;
- // color: #999;
- // font-size: 13px;
- }
- .van-popover__content {
- max-height: 70vh;
- overflow-x: hidden;
- overflow-y: auto;
- }
- }
- }
- .container {
- background: url('../../common/images/icon_bg.png') no-repeat center center / cover;
- padding: 63px 18px 18px 37px;
- height: 100vh;
- overflow: hidden;
- }
- .content {
- display: flex;
- height: calc(100vh - 81px);
- 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;
- display: flex;
- width: 37%;
- }
- .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 {
- padding: 6px;
- border-color: #99ffd0;
- animation: scaleBtn 1s ease-in-out;
- }
- }
- }
- .typeImg {
- border: 2px solid transparent;
- border-radius: 6px;
- height: 95px;
- transition: 0.3s;
- &:active {
- transform: scale(0.8);
- }
- }
- .typeIcon {
- display: block;
- width: 100%;
- height: 100%;
- object-fit: cover;
- opacity: 0;
- transition: opacity 0.3s;
- }
- .typeIcon[loaded='true'] {
- opacity: 1;
- }
- }
- .center {
- flex: 1;
- position: relative;
- padding-right: 12px;
- height: 100%;
- overflow: hidden;
- .centerSearch {
- padding: 6px 9px;
- }
- :global {
- #coai-0 {
- .van-search {
- width: 100%;
- z-index: 1;
- padding: 0px 0px;
- }
- .van-field__control::-webkit-input-placeholder {
- font-size: 12px;
- }
- }
- }
- }
- .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;
- }
- }
- .searchNotice {
- position: fixed;
- padding: 0;
- pointer-events: none;
- :global {
- .van-notice-bar {
- padding: 0;
- height: 100%;
- }
- }
- }
- .searchNoticeShow {
- :global {
- .van-field__control {
- opacity: 0;
- }
- }
- }
- .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 0.3s;
- overflow: hidden;
- --van-notice-bar-text-color: #333;
- &.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);
- --van-notice-bar-text-color: rgba(73, 159, 228, 1);
- :global {
- .van-notice-bar__content {
- transition-property: transform;
- }
- }
- }
- .musicAvtor {
- display: block;
- width: 7.2vw;
- height: 7.2vw;
- border-radius: 10px;
- object-fit: cover;
- flex-shrink: 0;
- margin-right: 1vw;
- opacity: 0;
- transition: opacity 0.3s;
- }
- .musicAvtor[loaded='true'] {
- opacity: 1;
- }
- .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: 63%;
- border-radius: 18px;
- }
- .right-musicName {
- font-size: 15px;
- font-weight: 500;
- color: #131415;
- line-height: 20px;
- text-align: center;
- padding: 12px 0;
- }
- .staff {
- width: 100%;
- }
- .rightBox {
- width: 100%;
- height: 100%;
- border-radius: 18px;
- overflow: hidden;
- position: relative;
- .iconTransfer {
- position: absolute;
- right: 0;
- top: 0;
- background: linear-gradient(90deg, #44C9FF 0%, #259CFE 100%);
- border-radius: 0px 0px 0px 16px;
- padding: 5px 8px 4px;
- font-size: 11px;
- font-weight: 500;
- color: #FFFFFF;
- line-height: 18px;
- display: flex;
- align-items: center;
- &::before {
- content: '';
- display: inline-block;
- width: 12px;
- height: 11px;
- background: url('./image/icon-transfer.png') no-repeat center;
- background-size: contain;
- margin-right: 5px;
- }
- }
- }
- .rightBtns {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- padding: 0 18px 18px 18px;
- display: flex;
- align-items: flex-end;
- height: 78px;
- background: #fff;
- background-image: linear-gradient(180deg,
- rgba(255, 255, 255, 0) 0%,
- #c1eeff 100%);
- border-radius: 0 0 18px 18px;
- &>img {
- margin: 0 4px;
- height: 30px;
- transition: 0.3s;
- &:active {
- transform: scale(0.6);
- }
- }
- :global {
- .van-popover__wrapper {
- display: flex;
- align-items: center;
- margin-right: 12px;
- }
- }
- .rightBtnsRight {
- transition: 0.3s;
- margin: 0 4px;
- padding: 5px 10px 0;
- margin-left: auto;
- img {
- height: 30px;
- 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;
- }
- }
- .loadingWrap {
- display: flex;
- justify-content: center;
- min-height: 80px;
- }
- .empty {
- :global {
- .van-empty__image {
- width: 100%;
- height: initial;
- }
- .van-empty__description {
- color: #fff;
- padding: 0;
- }
- }
- }
|