Authored by htoooth

precode class

13.8 KB | W: | H:

13.9 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
... ... @@ -594,6 +594,7 @@ bindEvent.add(function() {
}
}
// 增加事件
clickMoreCouponEvent.add(clickMoreCoupon);
});
... ... @@ -703,7 +704,6 @@ window.fetchHotArea = fetchHotArea;
// 商品详情图片懒加载
lazyLoad($('#details-html img'));
// 咨询和评价
function fetchComment() {
var commentPage = 1,
... ...
... ... @@ -244,6 +244,8 @@
line-height: 18px;
font-size: 12px;
color: red;
margin-left: 8px;
margin-right: 8px;
}
.more-coupon {
... ... @@ -255,15 +257,40 @@
font-size: 12px;
color: white;
margin-left: 8px;
margin-right: 8px;
cursor: pointer;
}
.small {
position: relative;
float: left;
width: 96px;
height: 18px;
background: resolve("product/coupon-small.png") no-repeat;
margin-right: 20px;
margin-right: 10px;
margin-left: 10px;
background-color: #d0021b;
min-width: 10px;
}
.small:before {
position: absolute;
display: inline-block;
content: "";
top: 0;
left: -5px;
width: 5px;
height: 18px;
background: url(/product/small-coupon-before.png);
}
.small:after {
position: absolute;
display: inline-block;
content: "";
top: 0;
right: -5px;
width: 5px;
height: 18px;
background: url(/product/small-coupon-after.png);
}
}
... ...