.list { background: url('./images/bg.png') no-repeat top center; background-size: contain; width: 100%; height: 100%; display: flex; flex-direction: column; } .topTitle { padding-top: 30px; padding-bottom: 24px; font-size: 0; // color: #131415; // height: 60px; // letter-spacing: 1px; // text-align: center; // font-style: normal; // color: #004aff; text-align: center; img { height: 50px; margin: 0 auto; } } .searchSection { position: relative; display: flex; align-items: center; justify-content: center; .searchInput { width: 700px; --n-height: 50px !important; :global { .n-button { padding: 0 24px; font-size: 18px !important; color: #ffffff; --n-border: none !important; background: linear-gradient( 312deg, #1B7AF8 0%, #3CBBFF 100%); } .n-input__input-el { font-size: 18px !important; color: #000000; } .n-input__placeholder { font-size: 18px !important; } } } .moreMusic { position: absolute; right: 60px; padding: 9px 25px; background: rgba(255, 255, 255, 0.7); border-radius: 22px; font-weight: 600; font-size: 18px; color: #131415; display: flex; align-items: center; justify-content: center; cursor: pointer; line-height: 1.5; &::after { content: ''; display: inline-block; width: 6px; height: 10px; background: url('./images/icon-arrow.png') no-repeat center; background-size: contain; margin-left: 6px; } } } .container { padding: 24px 60px; display: flex; gap: 0 30px; flex: 1 auto; .section { flex: 1; border-radius: 16px; background: #ffffff; overflow: hidden; height: 100%; .sectionTitle { padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; .imgTitle { height: 45px; } .moreBtn { border-radius: 20px; font-weight: 600; font-size: 18px; color: #131415; padding: 7px 20px; display: flex; align-items: center; justify-content: center; cursor: pointer; line-height: 1; &::after { content: ''; display: inline-block; width: 6px; height: 10px; background: url('./images/icon-arrow.png') no-repeat center; background-size: contain; margin-left: 6px; } } } } .recommendSection { background: url('./images/recommon_bg.png') no-repeat top center #fff; background-size: contain; .moreBtn { background: #d1e8ff; } } .hotSection { background: url('./images/hot_bg.png') no-repeat top center #fff; background-size: contain; .moreBtn { background: #f8e5f1; } } .newSection { background: url('./images/new_bg.png') no-repeat top center #fff; background-size: contain; .moreBtn { background: #d4f1e7; } } :global { .n-scrollbar { max-height: calc(100vh - 64px - 154px - 48px - 91px); height: calc(100vh - 64px - 154px - 48px - 91px); } } } .item { display: flex; align-items: center; margin: 0 12px 10px; cursor: pointer; padding: 15px 12px; border-radius: 12px; cursor: pointer; &:hover { background: #f5f6fa; } .num { font-family: DINAlternate, DINAlternate; font-weight: bold; font-size: 18px; color: #7e8287; line-height: 22px; text-align: center; &.num1 { color: #f72626; } &.num2 { color: #fd6633; } &.num3 { color: #ffac37; } } .img { width: 60px; height: 60px; background: #ddf2ff; border-radius: 8px; overflow: hidden; margin: 0 16px; img { width: inherit; height: inherit; } } .infos { display: flex; flex-direction: column; .topName { font-weight: 600; font-size: 20px; color: #131415; line-height: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 370px; } .types { display: flex; padding-top: 4px; & > div { margin-right: 4px; } .hot { background: #fff3f3; border-radius: 3px; border: 1px solid rgba(254, 67, 67, 0.5); font-size: max(12px, 11px); color: #fe4343; padding: 0 5px; &::before { content: ''; display: inline-block; width: 10px; height: 12px; background: url('./images/icon-fire.png') no-repeat center; background-size: contain; margin-right: 3px; vertical-align: middle; } span { line-height: 1; vertical-align: text-bottom; } } .sing, .song { background: #ffffff; font-size: max(12px, 11px); border-radius: 3px; padding: 0 4px; line-height: 1; display: flex; align-items: center; } .sing { border: 1px solid rgba(243, 130, 26, 0.5); color: #f3821a; } .song { border: 1px solid rgba(21, 178, 253, 0.5); color: #00adff; } .author { color: #777777; font-size: max(14px, 12px); } } } } .searchContainer { flex: 1 auto; padding: 24px 0; .empty { display: flex; align-items: center; justify-content: center; height: 100%; // height: 100%; } .loadingWrap { display: flex; justify-content: center; // min-height: 80px; padding-bottom: 10px; &.showLoading { height: 0; opacity: 0; min-height: 0; display: none; } } :global { .n-scrollbar { max-height: calc(100vh - 64px - 160px - 40px); } } } .sectionContainer { padding: 0 48px; display: flex; flex-wrap: wrap; } .sectionItem { display: flex; align-items: center; margin: 0 12px 10px; cursor: pointer; padding: 15px 12px; border-radius: 12px; width: 405px; background: #FFFFFF; cursor: pointer; box-sizing: border-box; .img { width: 60px; height: 60px; background: #ddf2ff; border-radius: 8px; overflow: hidden; margin: 0 16px; img { width: inherit; height: inherit; } } .infos { display: flex; flex-direction: column; .topName { font-weight: 600; font-size: 20px; color: #131415; line-height: 28px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 270px; span { color: #198CFE; font-weight: bold; } } .types { display: flex; padding-top: 4px; & > div { margin-right: 4px; } .hot { background: #fff3f3; border-radius: 3px; border: 1px solid rgba(254, 67, 67, 0.5); font-size: max(12px, 11px); color: #fe4343; padding: 0 5px; &::before { content: ''; display: inline-block; width: 10px; height: 12px; background: url('./images/icon-fire.png') no-repeat center; background-size: contain; margin-right: 3px; vertical-align: middle; } span { line-height: 1; vertical-align: text-bottom; } } .sing, .song { background: #ffffff; font-size: max(12px, 11px); border-radius: 3px; padding: 0 4px; line-height: 1; display: flex; align-items: center; } .sing { border: 1px solid rgba(243, 130, 26, 0.5); color: #f3821a; } .song { border: 1px solid rgba(21, 178, 253, 0.5); color: #00adff; } .author { color: #777777; font-size: max(14px, 12px); } } } }