123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318 |
- .container {
- display: flex;
- flex-direction: column;
- height: 100%;
- :global {
- .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 {
- height: 18Px;
- margin: 0 16Px;
- }
- }
- .wrap {
- padding-top: 20Px;
- flex: 1;
- transition: padding .3s;
- overflow: hidden;
- }
- .content {
- display: flex;
- flex-direction: column;
- height: 100%;
- background: #DDF2FF;
- border-radius: 20Px;
- }
- .tools {
- padding: 20Px;
- display: flex;
- align-items: center;
- flex-shrink: 0;
- :global {
- .n-input {
- margin-left: auto;
- width: 361Px;
- }
- }
- }
- .contentWrap {
- flex: 1;
- display: flex;
- padding: 0 20Px 20Px;
- overflow: hidden;
- }
- .musicList {
- width: 548px;
- height: 100%;
- overflow-x: hidden;
- overflow-y: auto;
- min-width: 330Px;
- // max-height: 100vh;
- &::-webkit-scrollbar {
- width: 0;
- display: none;
- }
- .wrapList {
- width: 512px;
- min-width: 294Px;
- min-height: 100%;
- background: #fff;
- border-radius: 16Px;
- }
- .empty {
- display: flex;
- align-items: center;
- justify-content: center;
- height: 50vh;
- }
- }
- .itemContainer {
- border-radius: 16Px;
- padding: 4Px 8Px;
- &:first-child {
- padding-top: 8Px;
- }
- &:last-child {
- 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: 100%;
- height: 100%;
- }
- }
- img {
- transition: opacity .3s;
- opacity: 0;
- }
- img[data-loaded="true"] {
- opacity: 1;
- }
- }
- .title {
- flex: 1;
- overflow: hidden;
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- .titleName {
- font-size: 16Px;
- font-weight: 600;
- color: #131415;
- line-height: 28Px;
- width: 100%;
- }
- .titleDes {
- font-size: 14Px;
- 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: 40px;
- background: linear-gradient(to right, #44CAFF, #259DFE);
- border: none;
- padding: 0;
- font-weight: bold !important;
- flex-shrink: 0;
- min-width: 62Px;
- min-height: 30Px;
- :global {
- .n-button__content {
- &>img {
- margin-left: 10Px;
- }
- }
- }
- }
- .arrow {
- position: absolute;
- top: 50%;
- right: 0;
- 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;
- }
- .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;
- &>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;
- }
- }
|