123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534 |
- .container {
- display: flex;
- flex-direction: column;
- height: 100%;
- .iconBack {
- width: 36px;
- height: 36px;
- }
- :global {
- .n-breadcrumb .n-breadcrumb-item {
- font-size: max(16px, 12Px) !important;
- }
- .n-breadcrumb>ul {
- display: flex;
- align-items: center;
- .n-breadcrumb-item {
- display: flex;
- align-items: center;
- }
- .n-breadcrumb-item__separator {
- display: none;
- }
- .n-breadcrumb-item__link {
- padding: 5px 18px;
- background: #FFFFFF;
- border-radius: 16px;
- color: #21225D;
- line-height: 20px;
- }
- }
- .n-breadcrumb .n-breadcrumb-item:last-child .n-breadcrumb-item__link {
- color: #fff;
- background: var(--product-color);
- }
- }
- &> :global(.n-space) {
- height: 36px;
- flex-shrink: 0;
- }
- .separator {
- width: 9px;
- height: 15px;
- margin: 0 16px;
- }
- }
- .wrap {
- padding-top: 15px;
- flex: 1;
- transition: padding .3s;
- overflow: hidden;
- &.wrapBottom {
- padding-bottom: 108px;
- }
- }
- .content {
- display: flex;
- flex-direction: column;
- height: 100%;
- background: #DDF2FF;
- border-radius: 20px;
- // max-height: 90vh;
- }
- .tools {
- padding: 20px;
- display: flex;
- align-items: center;
- flex-shrink: 0;
- :global {
- .n-input {
- margin-left: auto;
- width: 361px;
- }
- .n-input__input-el {
- height: 100%;
- line-height: 100%;
- }
- .n-button {
- --n-height: 37px !important;
- height: 37px;
- padding: 0 24px;
- font-size: max(18px, 13Px);
- &.n-button--primary-type {
- font-weight: bold !important;
- color: #fff;
- }
- }
- }
- }
- .contentWrap {
- flex: 1;
- display: flex;
- padding: 0 20px 20px;
- overflow: hidden;
- gap: 0 32px;
- }
- .musicList {
- // width: 512px;
- // display: flex;
- // // height: 100%;
- // overflow-x: hidden;
- // overflow-y: auto;
- // // min-width: 330px;
- // // max-height: 100vh;
- // min-height: 71vh;
- // margin-right: 32px;
- background-color: #fff;
- border-radius: 16px;
- width: 512px;
- min-width: 294px;
- height: 100%;
- overflow-x: hidden;
- overflow-y: auto;
- min-width: 330Px;
- // position: relative;
- // z-index: 1;
- // &::before {
- // content: ' ';
- // position: absolute;
- // z-index: 0;
- // left: 0;
- // top: 0;
- // width: 512px;
- // min-width: 294px;
- // height: var(--xiaoku-music-height);
- // background-color: #fff;
- // border-radius: 16px;
- // }
- &::-webkit-scrollbar {
- width: 0;
- display: none;
- }
- .wrapList {
- // display: flex;
- // flex-direction: column;
- // width: 100%;
- // position: relative;
- // z-index: 1;
- width: 512px;
- min-width: 294px;
- min-height: 100%;
- // background: #fff;
- border-radius: 16px;
- }
- .empty {
- display: flex;
- align-items: center;
- justify-content: center;
- height: 50vh;
- // height: 100%;
- }
- }
- .itemContainer {
- width: 100%;
- border-radius: 16px;
- padding: 4px 8px;
- // background-color: #fff;
- &:first-child {
- padding-top: 8px;
- }
- &:last-child {
- // border-radius: 0 0 16px 16px;
- padding-bottom: 8px;
- }
- }
- .item {
- position: relative;
- display: flex;
- align-items: center;
- padding: 10px;
- border-radius: 12px;
- cursor: pointer;
- &:hover {
- background-color: rgba(0, 0, 0, .05);
- }
- &.active {
- background-color: #DDF2FF;
- .arrow {
- opacity: 1;
- }
- }
- .img {
- position: relative;
- width: 60px;
- height: 60px;
- border-radius: 8px;
- margin-right: 12px;
- // box-shadow: 0 0 10px 4px rgba(27, 35, 55, .1);
- overflow: hidden;
- flex-shrink: 0;
- :global {
- .n-image {
- width: 60px;
- height: 60px;
- }
- }
- img {
- transition: opacity .3s;
- opacity: 0;
- height: 100%;
- width: 100%;
- }
- img[data-loaded="true"] {
- opacity: 1;
- }
- }
- .title {
- flex: 1;
- overflow: hidden;
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- .titleName {
- font-size: max(18px, 13Px);
- font-weight: 600;
- color: #131415;
- line-height: 28px;
- width: 100%;
- }
- .titleDes {
- font-size: max(14px, 11Px);
- font-weight: 400;
- color: #777777;
- line-height: 20px;
- max-width: 100%;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- }
- .btn {
- margin-left: auto;
- width: 84px;
- height: 36px;
- background: linear-gradient(to right, #44CAFF, #259DFE);
- border: none;
- padding: 0;
- font-weight: bold !important;
- flex-shrink: 0;
- min-width: 62px;
- min-height: 30px;
- font-size: max(18px, 12Px);
- :global {
- .n-button__content {
- &>img {
- margin-left: 10px;
- width: 9px;
- height: 12px;
- }
- }
- }
- }
- .arrow {
- position: absolute;
- top: 50%;
- right: 12px;
- transform: translate(124%, -50%);
- opacity: 0;
- }
- .showPlayLoading {
- opacity: 0;
- }
- }
- .loadingWrap {
- display: flex;
- justify-content: center;
- min-height: 80px;
- &.showLoading {
- height: 0;
- opacity: 0;
- min-height: 0;
- }
- }
- .musicStaff {
- display: flex;
- flex-direction: column;
- position: relative;
- left: -8px;
- flex: 1;
- background-color: #fff;
- border-radius: 16px;
- // height: 100%;
- z-index: 1;
- overflow: hidden;
- &::-webkit-scrollbar {
- width: 0;
- display: none;
- }
- .goBtn {
- position: absolute;
- left: 50%;
- bottom: 46px;
- transform: translateX(-50%);
- height: 70px;
- cursor: pointer;
- transition: all .2s ease-in;
- // &.goBtnBottom {
- // bottom: 154px;
- // }
- }
- .rightBtns {
- position: absolute;
- top: 20px;
- right: 24px;
- display: flex;
- align-items: center;
- .textBtn {
- margin-right: 24px;
- padding: 1px 16px !important;
- line-height: 37px !important;
- height: 37px !important;
- background: #F5F6FA;
- --n-border: #F5F6FA !important;
- }
- .transBtn {
- width: 45px;
- cursor: pointer;
- margin-right: 15px;
- }
- }
- .favitor {
- width: 48px;
- height: 48px;
- cursor: pointer;
- transition: all .3s;
- &:hover {
- transform: scale(1.1);
- }
- &>img {
- display: block;
- width: 100%;
- height: 100%;
- filter: drop-shadow(0 0 10px rgba(27, 35, 55, .1));
- }
- }
- }
- .musicName {
- padding-top: 30px;
- font-size: 26px;
- font-weight: 500;
- color: #333;
- line-height: 24px;
- text-align: center;
- }
- .staffImgs {
- flex: 1;
- overflow-y: auto;
- height: 100%;
- padding: 0 30px;
- &>img {
- width: 100%;
- }
- }
- :global {
- .van-fade-enter-active,
- .van-fade-leave-active {
- transition: all 0.3s;
- }
- .van-fade-enter-from,
- .van-fade-leave-to {
- opacity: 0;
- }
- }
- .previewWindow {
- width: 85%;
- height: 85vh;
- position: relative;
- .previewClose {
- position: absolute;
- left: 40px;
- top: 40px;
- width: 60px;
- height: 65px;
- }
- .previewIframe {
- width: 100%;
- height: 85vh;
- background-color: #fff;
- border-radius: 16px;
- }
- }
- .popSelect {
- font-size: 16px;
- width: 300px;
- max-height: 500px;
- overflow-y: scroll;
- box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.08);
- border-radius: 11px;
- --n-option-height: 34px;
- :global {
- .n-base-select-option__content {
- width: 80% !important;
- }
- }
- }
- .popSelect1 {
- font-size: 16px;
- width: 240px;
- // max-height: 500px;
- // overflow-y: scroll;
- box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.08);
- border-radius: 11px;
- --n-option-height: 34px;
- :global {
- .n-base-select-option__content {
- width: 80% !important;
- }
- }
- }
- .popTrans {
- font-size: 16px;
- width: 200px;
- overflow-y: scroll;
- box-shadow: 0px 2 16px 0px rgba(0, 0, 0, 0.08);
- border-radius: 11px;
- --n-option-height: 34px;
- :global {
- .n-base-select-option__content {
- width: 80% !important;
- }
- }
- }
- .textBtn {
- .iconArrow {
- display: inline-block;
- margin-left: 8px;
- margin-top: 2px;
- width: 8px;
- height: 5px;
- background: url('./images/icon-arrow.svg') no-repeat center center / contain;
- transform: rotate(180deg);
- color: #131415;
- fill: #131415;
- }
- &:hover,
- &.textBtnActive {
- background: #198CFE !important;
- font-weight: 500 !important;
- color: #fff !important;
- .iconArrow {
- transform: rotate(0deg);
- background: url('./images/icon-arrow2.svg') no-repeat center center / contain;
- color: #fff;
- fill: #fff;
- margin-top: 0;
- }
- }
- }
|