Authored by Lynnic

修改促销信息相关js bug

... ... @@ -8,7 +8,7 @@
lazyLoad = require('yoho.lazyload');
var goodsSwiper,
$discountFolder = $('.goods-discount .discount-folder'),
$discountFolder = $('.goodsDiscount .discount-folder'),
$discountArrow = $('.goodsDiscount .first-item span');
... ... @@ -31,7 +31,7 @@ goodsSwiper = new Swiper('.banner-swiper', {
//初始化goods-discount
if (0 === $('.goods-discount .discount-folder').children().length) {
if (0 === $('.goodsDiscount .discount-folder').children().length) {
$discountFolder.css('display', 'none');
$discountArrow.html('');
}
... ...