.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; } .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; // } } .favitor { position: absolute; top: 20px; right: 24px; 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: 24px; 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; } }