Authored by 王水玲

coupon bug 修改

... ... @@ -77,7 +77,7 @@ $('.coupon-floor a, .banner-top a').on('click', function() {
}
});
if ($('.banner-swiper').find('li').size() > 1) {
if ($('.banner-swiper').find('li').length > 1) {
bannerSwiper = new Swiper('.banner-swiper', {
lazyLoading: true,
lazyLoadingInPrevNext: true,
... ... @@ -102,3 +102,8 @@ if ($('#noData').length > 0) {
}
}
$mask.on('click',function () {
$mask.hide();
$message.hide();
});
... ...
.coupon-area {
.coupon-area-page {
max-width: 640px;
overflow: hidden;
.banner-top {
float: left;
}
}
.just-img{
... ...
{{>layout/header}}
<div class="coupon-area yoho-page">
<div class="coupon-area-page yoho-page">
{{# content}}
{{#if isSingleImage}}
<a href="{{url}}"><img src="{{src}}" class="just-img"/></a>
... ...