秦佳浩 2 months ago
commit acce14de6e

@ -1,8 +1,16 @@
/*
.prod-items
43%40rpx使 border-box使
*/
.prod-items {
width: 43%;
background: #fff;
margin-bottom: 40rpx;
box-sizing: border-box;
/*
.hot-imagecont
0
*/
.hot-imagecont {
border-radius: 8rpx;
text-align: center;
@ -10,17 +18,27 @@
}
.hot-text {
margin-top: 20rpx;
/*
.prod-info
*/
.prod-info {
font-size: 20rpx;
color: #777;
padding: 0 20rpx;
margin-top: 8rpx;
}
/*
.prod-text-info
*/
.prod-text-info {
position: relative;
height: 50rpx;
line-height: 70rpx;
font-family: Arial;
/*
.price #eb2444
*/
.price {
color: #eb2444;
padding-left: 20rpx;
@ -28,24 +46,39 @@
}
}
}
/*
prod
:nth-child(2n-1)
*/
prod {
&:nth-child(2n-1) {
.prod-items {
padding: 20rpx 10rpx 10rpx 20rpx;
}
}
/*
:nth-child(2n)
.prod-items
*/
&:nth-child(2n) {
.prod-items {
padding: 20rpx 20rpx 10rpx 10rpx;
}
}
}
/*
.hot-imagecont .hotsaleimg 使345rpx
*/
.hot-imagecont {
.hotsaleimg {
width: 100%;
height: 345rpx;
}
}
/*
.hot-text .hotprod-text
2
*/
.hot-text {
.hotprod-text {
height: 76rpx;
@ -61,6 +94,9 @@ prod {
color: #000;
}
}
/*
.deadline-price
*/
.deadline-price {
font-size: 22rpx;
margin-right: 5rpx;

Loading…
Cancel
Save