98 lines
1.7 KiB
SCSS
98 lines
1.7 KiB
SCSS
.products_box {
|
|
padding: 10rpx;
|
|
|
|
.u-grid-item {
|
|
position: relative;
|
|
|
|
.bgContent {
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
|
|
.u-image__image {
|
|
margin-left: 6px;
|
|
}
|
|
|
|
.img_tag {
|
|
position: absolute;
|
|
padding: 2rpx 8rpx;
|
|
right: 5px;
|
|
top: 30rpx;
|
|
border-radius: 54rpx 0px 0px 54rpx;
|
|
box-shadow: 0px 2rpx 4rpx 0px #078C42;
|
|
background: linear-gradient(135deg, #0DB658 0%, #16DD6D 100%);
|
|
font-size: 20rpx;
|
|
color: #FFFFFF;
|
|
line-height: 28rpx;
|
|
}
|
|
|
|
|
|
.title_box {
|
|
position: relative;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
|
|
.title {
|
|
width: 186rpx;
|
|
font-size: 26rpx;
|
|
font-family: PingFangSC-Medium, PingFang SC;
|
|
font-weight: bold;
|
|
color: #0EBB5B;
|
|
line-height: 37rpx;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.u-tag {
|
|
height: 26rpx;
|
|
line-height: 26rpx;
|
|
background: linear-gradient(124deg, #FEAA19 0%, #FDCF3A 100%);
|
|
|
|
.u-tag__text {
|
|
font-size: 20rpx;
|
|
}
|
|
|
|
}
|
|
}
|
|
|
|
.product_desc {
|
|
font-size: 22rpx;
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
font-weight: 400;
|
|
color: #3E3E3E;
|
|
line-height: 26rpx;
|
|
margin-top: 24rpx;
|
|
margin-bottom: 20rpx;
|
|
-webkit-line-clamp: 2;
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.releaseDate {
|
|
font-size: 22rpx;
|
|
font-family: PingFangSC-Regular, PingFang SC;
|
|
font-weight: 400;
|
|
color: #A3A3A3;
|
|
line-height: 26rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
padding-bottom: 25rpx;
|
|
|
|
image {
|
|
margin-left: 0;
|
|
}
|
|
|
|
.release {
|
|
padding: 0 10rpx 0 5rpx;
|
|
}
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|