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.
67 lines
1.3 KiB
67 lines
1.3 KiB
.topic-item {
|
|
width: 100%;
|
|
background: #fff;
|
|
box-sizing: border-box;
|
|
border-radius: 16rpx;
|
|
padding: 0 24rpx;
|
|
overflow: hidden;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
.topic-item .content {
|
|
font-size: 36rpx;
|
|
color: #333;
|
|
line-height: 52rpx;
|
|
margin-top: 30rpx;
|
|
text-overflow: ellipsis;
|
|
word-wrap: break-word;
|
|
white-space: normal !important;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
.topic-item .image-list {
|
|
display:grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(214rpx, 1fr));
|
|
grid-gap: 10rpx;
|
|
height: 160rpx;
|
|
margin-top: 20rpx;
|
|
}
|
|
.topic-item .image-list image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
border-radius: 16rpx;
|
|
overflow: hidden;
|
|
}
|
|
.topic-item .info {
|
|
width: 100%;
|
|
margin: 20rpx 0 15rpx;
|
|
display: flex;
|
|
height: 36rpx;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
.topic-item .info .left {
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.topic-item .info .left .avatar {
|
|
width: 36rpx;
|
|
height: 36rpx;
|
|
border-radius: 50%;
|
|
margin-right: 8rpx;
|
|
}
|
|
.topic-item .info .left .name {
|
|
font-size: 22rpx;
|
|
color: #999;
|
|
}
|
|
.topic-item .info .left .party-flag {
|
|
width: 22rpx;
|
|
height: 22rpx;
|
|
object-fit: cover;
|
|
margin-lefT: 5rpx;
|
|
}
|
|
.topic-item .info .time {
|
|
font-size: 20rpx;
|
|
color: #999;
|
|
}
|