Authored by Lynnic

修改促销信息相关js bug

@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 lazyLoad = require('yoho.lazyload'); 8 lazyLoad = require('yoho.lazyload');
9 9
10 var goodsSwiper, 10 var goodsSwiper,
11 - $discountFolder = $('.goods-discount .discount-folder'), 11 + $discountFolder = $('.goodsDiscount .discount-folder'),
12 $discountArrow = $('.goodsDiscount .first-item span'); 12 $discountArrow = $('.goodsDiscount .first-item span');
13 13
14 14
@@ -31,7 +31,7 @@ goodsSwiper = new Swiper('.banner-swiper', { @@ -31,7 +31,7 @@ goodsSwiper = new Swiper('.banner-swiper', {
31 31
32 32
33 //初始化goods-discount 33 //初始化goods-discount
34 -if (0 === $('.goods-discount .discount-folder').children().length) { 34 +if (0 === $('.goodsDiscount .discount-folder').children().length) {
35 $discountFolder.css('display', 'none'); 35 $discountFolder.css('display', 'none');
36 $discountArrow.html(''); 36 $discountArrow.html('');
37 } 37 }