98 lines
1.9 KiB
SCSS
98 lines
1.9 KiB
SCSS
// 通用商品展示
|
|
.public-product_item {
|
|
margin: 16rpx 0;
|
|
padding: 32rpx;
|
|
border-radius: 32rpx;
|
|
background: #ffffff;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.left-img {
|
|
width: 192rpx;
|
|
height: 192rpx;
|
|
border-radius: 8rpx;
|
|
flex-shrink: 0;
|
|
margin-right: 32rpx;
|
|
}
|
|
.right-content {
|
|
width: 100%;
|
|
height: 192rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
font-family: PingFang SC, PingFang SC;
|
|
font-style: normal;
|
|
text-transform: none;
|
|
.product-name {
|
|
font-weight: bold;
|
|
font-size: 32rpx;
|
|
color: #333333;
|
|
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
line-clamp: 2;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
word-break: break-word;
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
.num-box {
|
|
font-size: 28rpx;
|
|
color: #7c7c7c;
|
|
}
|
|
|
|
.line-box {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
.rmb-box {
|
|
display: flex;
|
|
flex-direction: column;
|
|
text {
|
|
font-weight: 500;
|
|
font-size: 32rpx;
|
|
color: #eb3c39;
|
|
// 第一个
|
|
&:first-child {
|
|
font-size: 24rpx;
|
|
color: #999999;
|
|
text-decoration-line: line-through;
|
|
}
|
|
}
|
|
}
|
|
|
|
.add-num {
|
|
display: flex;
|
|
align-items: center;
|
|
.uni-number-box {
|
|
width: 120rpx;
|
|
}
|
|
}
|
|
|
|
.state-box {
|
|
font-family: PingFang SC, PingFang SC;
|
|
font-weight: 500;
|
|
font-size: 28rpx;
|
|
text-align: left;
|
|
font-style: normal;
|
|
text-transform: none;
|
|
}
|
|
._grouping {
|
|
color: #02a9f1;
|
|
}
|
|
._success {
|
|
color: #00d993;
|
|
}
|
|
._fail {
|
|
color: #eb1c26;
|
|
}
|
|
._cancel {
|
|
color: #999999;
|
|
}
|
|
}
|
|
}
|
|
}
|