147 lines
2.4 KiB
Plaintext
147 lines
2.4 KiB
Plaintext
|
.spu {
|
||
|
position: relative;
|
||
|
width: 580rpx;
|
||
|
box-sizing: border-box;
|
||
|
display: block;
|
||
|
border: .1rpx solid #eee;
|
||
|
border-radius: 10rpx;
|
||
|
margin-left: 20rpx;
|
||
|
padding: 20rpx 10rpx;
|
||
|
}
|
||
|
|
||
|
.spu .spu-content {
|
||
|
display: flex;
|
||
|
}
|
||
|
|
||
|
.spu .img-class {
|
||
|
width: 160rpx;
|
||
|
height: 160rpx;
|
||
|
border-radius: 10rpx;
|
||
|
image-rendering: crisp-edges;
|
||
|
margin-right: 20rpx;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.spu-title {
|
||
|
font-size: 30rpx;
|
||
|
font-weight: bold;
|
||
|
color: #333;
|
||
|
}
|
||
|
|
||
|
.spu-desc {
|
||
|
font-size: 26rpx;
|
||
|
color: #666;
|
||
|
}
|
||
|
|
||
|
.item-bottom {
|
||
|
flex: 1;
|
||
|
width: 0;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: space-between;
|
||
|
}
|
||
|
|
||
|
.spu .spu-content .item-bottom .spu-price {
|
||
|
font-family: DIN;
|
||
|
display: flex;
|
||
|
align-items: flex-end;
|
||
|
font-size: 26rpx;
|
||
|
line-height: 26rpx;
|
||
|
overflow: hidden;
|
||
|
margin-bottom: 10rpx;
|
||
|
margin-top: 10rpx;
|
||
|
}
|
||
|
|
||
|
.spu .spu-content .item-bottom .spu-price .sale-price {
|
||
|
color: #ff758c;
|
||
|
margin-right: 12rpx;
|
||
|
}
|
||
|
|
||
|
.spu .spu-content .item-bottom .spu-price .sale-price .span {
|
||
|
font-size: 46rpx;
|
||
|
line-height: 42rpx;
|
||
|
margin: 0;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.spu .spu-content .item-bottom .spu-price .market-price {
|
||
|
text-decoration: line-through;
|
||
|
color: #999;
|
||
|
margin-right: 20rpx;
|
||
|
}
|
||
|
|
||
|
.spu .spu-content .add-cart {
|
||
|
width: 68rpx;
|
||
|
height: 68rpx;
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
position: absolute;
|
||
|
right: 20rpx;
|
||
|
bottom: 20rpx;
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: center;
|
||
|
}
|
||
|
|
||
|
.spu .spu-content .add-cart .img {
|
||
|
width: 54rpx;
|
||
|
height: 54rpx;
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
.spu .act-end {
|
||
|
position: absolute;
|
||
|
height: 60rpx;
|
||
|
border-radius: 10rpx;
|
||
|
background: rgba(0, 0, 0, 0.5);
|
||
|
color: #fff;
|
||
|
font-size: 28rpx;
|
||
|
text-align: center;
|
||
|
line-height: 60rpx;
|
||
|
left: 30rpx;
|
||
|
top: 60rpx;
|
||
|
padding: 0 12rpx;
|
||
|
}
|
||
|
|
||
|
.spu-play {
|
||
|
position: absolute;
|
||
|
left: 55rpx;
|
||
|
top: 50%;
|
||
|
width: 60rpx;
|
||
|
height: 60rpx;
|
||
|
margin-top: -30rpx;
|
||
|
}
|
||
|
|
||
|
.spu-play .img {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
}
|
||
|
|
||
|
.col-input-number {
|
||
|
position: absolute;
|
||
|
right: 20rpx;
|
||
|
bottom: 20rpx;
|
||
|
}
|
||
|
|
||
|
.col-input-number .input-number-view {
|
||
|
width: 40rpx !important;
|
||
|
height: 40rpx !important;
|
||
|
}
|
||
|
|
||
|
.col-input-number .input-number-img{
|
||
|
width: 40rpx !important;
|
||
|
height: 40rpx !important;
|
||
|
}
|
||
|
|
||
|
.col-input-number .input-number-input {
|
||
|
height: 40rpx !important;
|
||
|
width: 60rpx !important;
|
||
|
font-size: 26rpx;
|
||
|
line-height: 40rpx !important;
|
||
|
}
|
||
|
|
||
|
.text-overflow1 {
|
||
|
overflow: hidden;
|
||
|
text-overflow:ellipsis;
|
||
|
white-space: nowrap;
|
||
|
}
|