...
|
...
|
@@ -36,14 +36,10 @@ if (0 === $('.goods-discount .discount-folder').children().length) { |
|
|
//goods-discount下拉按钮点击事件
|
|
|
$('.goodsDiscount .dropdown').on('click', function() {
|
|
|
if ($('.goodsDiscount .discount-folder').is(':hidden')) {
|
|
|
$('.goodsDiscount .first-item span').removeClass('icon-down');
|
|
|
$('.goodsDiscount .first-item span').addClass('icon-up');
|
|
|
$('.goodsDiscount .first-item span').html('');
|
|
|
$('.goodsDiscount .first-item span').removeClass('icon-down').addClass('icon-up').html('');
|
|
|
$('.goodsDiscount .discount-folder').slideDown();
|
|
|
} else {
|
|
|
$('.goodsDiscount .first-item span').removeClass('icon-up');
|
|
|
$('.goodsDiscount .first-item span').addClass('icon-down');
|
|
|
$('.goodsDiscount .first-item span').html('');
|
|
|
$('.goodsDiscount .first-item span').removeClass('icon-up').addClass('icon-down').html('');
|
|
|
$('.goodsDiscount .discount-folder').slideUp();
|
|
|
}
|
|
|
});
|
...
|
...
|
|