Authored by 王水玲

coupon bug 修改

@@ -77,7 +77,7 @@ $('.coupon-floor a, .banner-top a').on('click', function() { @@ -77,7 +77,7 @@ $('.coupon-floor a, .banner-top a').on('click', function() {
77 } 77 }
78 }); 78 });
79 79
80 -if ($('.banner-swiper').find('li').size() > 1) { 80 +if ($('.banner-swiper').find('li').length > 1) {
81 bannerSwiper = new Swiper('.banner-swiper', { 81 bannerSwiper = new Swiper('.banner-swiper', {
82 lazyLoading: true, 82 lazyLoading: true,
83 lazyLoadingInPrevNext: true, 83 lazyLoadingInPrevNext: true,
@@ -102,3 +102,8 @@ if ($('#noData').length > 0) { @@ -102,3 +102,8 @@ if ($('#noData').length > 0) {
102 } 102 }
103 } 103 }
104 104
  105 +$mask.on('click',function () {
  106 + $mask.hide();
  107 + $message.hide();
  108 +});
  109 +
1 -.coupon-area { 1 +.coupon-area-page {
2 max-width: 640px; 2 max-width: 640px;
3 overflow: hidden; 3 overflow: hidden;
4 -  
5 - .banner-top {  
6 - float: left;  
7 - }  
8 } 4 }
9 5
10 .just-img{ 6 .just-img{
1 {{>layout/header}} 1 {{>layout/header}}
2 -<div class="coupon-area yoho-page"> 2 +<div class="coupon-area-page yoho-page">
3 {{# content}} 3 {{# content}}
4 {{#if isSingleImage}} 4 {{#if isSingleImage}}
5 <a href="{{url}}"><img src="{{src}}" class="just-img"/></a> 5 <a href="{{url}}"><img src="{{src}}" class="just-img"/></a>