秦佳浩 2 months ago
commit acce14de6e

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

Loading…
Cancel
Save