You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
1.1 KiB
91 lines
1.1 KiB
.discover {
|
|
padding-bottom: 144rpx;
|
|
}
|
|
|
|
.banner {
|
|
height: 300rpx;
|
|
margin-bottom: 32rpx;
|
|
}
|
|
|
|
.banner-item {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.banner-item image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.section {
|
|
padding: 0 32rpx;
|
|
margin-bottom: 48rpx;
|
|
}
|
|
|
|
.section-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
|
|
.title {
|
|
font-size: 36rpx;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.more {
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
}
|
|
|
|
.playlist-scroll {
|
|
white-space: nowrap;
|
|
margin: 0 -32rpx;
|
|
padding: 0 32rpx;
|
|
}
|
|
|
|
.playlist-item {
|
|
display: inline-block;
|
|
width: 200rpx;
|
|
margin-right: 24rpx;
|
|
}
|
|
|
|
.playlist-item:last-child {
|
|
margin-right: 0;
|
|
}
|
|
|
|
.cover {
|
|
width: 200rpx;
|
|
height: 200rpx;
|
|
border-radius: 12rpx;
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.name {
|
|
font-size: 26rpx;
|
|
color: #333;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
white-space: normal;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
/* 深色模式 */
|
|
@media (prefers-color-scheme: dark) {
|
|
.title {
|
|
color: #fff;
|
|
}
|
|
|
|
.more {
|
|
color: #999;
|
|
}
|
|
|
|
.name {
|
|
color: #fff;
|
|
}
|
|
} |