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.
75 lines
1.4 KiB
75 lines
1.4 KiB
/* components/spu-preview/index.wxss */
|
|
.card {
|
|
width: 334rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-bottom: 30rpx;
|
|
background: #ffffff;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.title {
|
|
margin-top: 16rpx;
|
|
padding: 0rpx 32rpx;
|
|
width: 286rpx;
|
|
font-size: 28rpx;
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
font-weight: 400;
|
|
color: #333333;
|
|
line-height: 40rpx;
|
|
max-height: 80rpx;
|
|
display: -webkit-box;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.date {
|
|
font-size: 24rpx;
|
|
font-family: MiSans;
|
|
font-weight: 400;
|
|
color: #999999;
|
|
padding: 10rpx 32rpx 20rpx 32rpx;
|
|
}
|
|
|
|
.type {
|
|
width: 68rpx;
|
|
height: 34rpx;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
border-radius: 18rpx;
|
|
font-size: 18rpx;
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
font-weight: 400;
|
|
color: #FFFFFF;
|
|
line-height: 18rpx;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: absolute;
|
|
margin-top: 16rpx;
|
|
margin-left: 250rpx;
|
|
}
|
|
|
|
.tip {
|
|
position: absolute;
|
|
margin-left: 18rpx;
|
|
margin-top: 216rpx;
|
|
font-size: 22rpx;
|
|
font-family: MiSans-Regular, MiSans;
|
|
font-weight: 400;
|
|
color: #FFFFFF;
|
|
line-height: 18rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
width: 300rpx;
|
|
}
|
|
|
|
.time {
|
|
display: inline;
|
|
position: relative;
|
|
margin-top: -12rpx;
|
|
background: rgba(0, 0, 0, 0.6);
|
|
border-radius: 8rpx;
|
|
padding: 8rpx;
|
|
} |