...
|
...
|
@@ -4808,13 +4808,13 @@ goodsSwiper = new Swiper('.banner-swiper', { |
|
|
|
|
|
|
|
|
//初始化goods-discount
|
|
|
if (0 === $('.goodsDiscount .discount-folder').children().length) {
|
|
|
if (0 === $discountFolder.children().length) {
|
|
|
$discountFolder.css('display', 'none');
|
|
|
$discountArrow.html('');
|
|
|
}
|
|
|
|
|
|
//goods-discount下拉按钮点击事件
|
|
|
if (goodsDiscountHammer) {
|
|
|
if (goodsDiscountHammer && $discountFolder.children().length > 0) {
|
|
|
goodsDiscountHammer.on('tap', function(e) {
|
|
|
if ($discountFolder.is(':hidden')) {
|
|
|
$discountArrow.removeClass('icon-down').addClass('icon-up').html('');
|
...
|
...
|
@@ -4823,7 +4823,6 @@ if (goodsDiscountHammer) { |
|
|
$discountArrow.removeClass('icon-up').addClass('icon-down').html('');
|
|
|
$discountFolder.slideUp();
|
|
|
}
|
|
|
return false;
|
|
|
});
|
|
|
}
|
|
|
|
...
|
...
|
|