Veste homme décontractée à capuche en PU uni
Description
| SKU : | XSXa').attr('href', 'javascript:;');
}
//商品详情页面==>手风琴模式
$('.J-AccordionMenu').click(function () {
var h = 0,
_this = $(this),
index = _this.parent().index()
$('.tab-content').find('.product-details').each(function () {
if ($(this).is(':visible') && !_this.hasClass('active') && (index > $(this).parent()
.index())) {
$(this).innerHeight() > document.documentElement.clientHeight && (h = $(this)
.innerHeight())
}
})
_this.toggleClass('active').siblings('.product-details').slideToggle(300)
_this.parent().siblings().children('.product-details').slideUp()
_this.parent().siblings().children('.accordion-menu').removeClass('active')
$('html,body').animate({
scrollTop: $(window).scrollTop() - h + 'px'
}, 300);
})
|
Commentaire