Authored by ccbikai

断码区域尺码问题修改

... ... @@ -26,6 +26,7 @@
</li>
</ul>
<div class="sub-size">
{{log this}}
{{# sub}}
<div class="size-area">
<div class="swiper-size" id="size-swiper-{{key}}" {{#if @first}}style="display:block"{{/if}}>
... ...
... ... @@ -113,6 +113,10 @@ $.each($listNav.find('li'), function(key, item) {
$(item).addClass(goodsType[key]);
});
$.each($swiperSize, function(key, item) {
$(item).addClass(goodsType[key]);
});
// 判断导航类型
function judgeType(dom) {
var navType;
... ... @@ -528,6 +532,8 @@ $(function() {
}
$selectNav = $('#list-nav').find(selector);
$selectNav.addClass('active').siblings().removeClass('active');
$swiperSize.hide();
$swiperSize.filter(selector).show();
search([{
type: 'breakSort',
id: $selectNav.data('id')
... ...