109 lines
1.8 KiB
Plaintext
109 lines
1.8 KiB
Plaintext
/* packageG/limitedTimeGoods/item.wxss */
|
|
|
|
view,
|
|
text {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.goods {
|
|
display: flex;
|
|
padding: 25rpx 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.goods .face {
|
|
width: 190rpx;
|
|
height: 190rpx;
|
|
background-color: #9d9d9d;
|
|
border-radius: 10rpx;
|
|
}
|
|
|
|
.goods .face image {
|
|
width: 190rpx;
|
|
height: 190rpx;
|
|
border-radius: 10rpx;
|
|
}
|
|
|
|
.goods .container {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
padding-left: 20rpx;
|
|
}
|
|
|
|
.goods .container .goods-name {
|
|
font-size: 28rpx;
|
|
font-weight: bold;
|
|
color: #2c2c2c;
|
|
text-overflow: -o-ellipsis-lastline;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.goods .container .time {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 24rpx;
|
|
color: #333333;
|
|
}
|
|
|
|
.goods .container .time .bottom_time {
|
|
margin-left: 6rpx;
|
|
}
|
|
|
|
.goods .container .time .bottom_time .em {
|
|
margin-left: 7rpx;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-width: 30rpx;
|
|
height: 30rpx;
|
|
padding: 0 8rpx;
|
|
color: #fff;
|
|
font-size: 22rpx;
|
|
background-color: #fe5e56;
|
|
border-radius: 2rpx;
|
|
}
|
|
|
|
.goods .container .time .bottom_time .b {
|
|
margin-left: 7rpx;
|
|
color: #333333;
|
|
font-size: 24rpx;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.goods .container .desc {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.goods .container .desc .prices {
|
|
flex: 1;
|
|
}
|
|
|
|
.goods .container .desc .prices .present_price {
|
|
font-size: 28rpx;
|
|
color: #fe5e56;
|
|
}
|
|
|
|
.goods .container .desc .prices .marke_price {
|
|
font-size: 22rpx;
|
|
color: #565656;
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.goods .container .desc .btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 130rpx;
|
|
height: 54rpx;
|
|
font-size: 24rpx;
|
|
color: #ffffff;
|
|
background-color: #fe5e56;
|
|
border-radius: 27rpx;
|
|
} |