...
|
...
|
@@ -209,11 +209,11 @@ $(document).on('pjax:complete', function() { |
|
|
$('html,body').scrollTop($('#new-product-floor').offset().top);
|
|
|
lazyLoad($('img.lazy'));
|
|
|
|
|
|
yas.givePoint('YB_SHOW_NEW_ARRIVAL', loadData);
|
|
|
yas.yasEvent('YB_SHOW_NEW_ARRIVAL', loadData);
|
|
|
});
|
|
|
|
|
|
$('#new-product-floor').on('click', '.catagory-navs li', function() {
|
|
|
var $li = $(this);
|
|
|
$('#new-product-floor').on('click', '.catagory-navs li > a', function() {
|
|
|
var $li = $(this).parent();
|
|
|
|
|
|
if (!$li.hasClass('active')) {
|
|
|
$li.addClass('active').siblings().removeClass('active');
|
...
|
...
|
@@ -372,7 +372,7 @@ $(function() { |
|
|
I_INDEX: parseInt(index, 10) + 1
|
|
|
};
|
|
|
|
|
|
yas.givePoint('YB_NEW_ARRIVAL_FLR_C', option);
|
|
|
yas.yasEvent('YB_NEW_ARRIVAL_FLR_C', option);
|
|
|
});
|
|
|
|
|
|
/* 为您推荐点击埋点*/
|
...
|
...
|
@@ -390,7 +390,7 @@ $(function() { |
|
|
SHOP_ID: $slider.data('shopid').toString()
|
|
|
};
|
|
|
|
|
|
yas.givePoint('YB_NEW_ARRIVAL_FLR_C', option);
|
|
|
yas.yasEvent('YB_NEW_ARRIVAL_FLR_C', option);
|
|
|
});
|
|
|
|
|
|
/* 新品牌入驻点击埋点*/
|
...
|
...
|
@@ -408,7 +408,7 @@ $(function() { |
|
|
SHOP_ID: $slider.data('shopid').toString()
|
|
|
};
|
|
|
|
|
|
yas.givePoint('YB_NEW_ARRIVAL_FLR_C', option);
|
|
|
yas.yasEvent('YB_NEW_ARRIVAL_FLR_C', option);
|
|
|
});
|
|
|
|
|
|
/* 精彩抢先看左侧点击埋点*/
|
...
|
...
|
@@ -423,7 +423,7 @@ $(function() { |
|
|
I_INDEX: parseInt(index, 10) + 1
|
|
|
};
|
|
|
|
|
|
yas.givePoint('YB_NEW_ARRIVAL_FLR_C', option);
|
|
|
yas.yasEvent('YB_NEW_ARRIVAL_FLR_C', option);
|
|
|
});
|
|
|
|
|
|
/* 精彩抢先看右侧点击埋点*/
|
...
|
...
|
@@ -438,7 +438,7 @@ $(function() { |
|
|
I_INDEX: parseInt(index, 10) + 1 + $lookSlider.length
|
|
|
};
|
|
|
|
|
|
yas.givePoint('YB_NEW_ARRIVAL_FLR_C', option);
|
|
|
yas.yasEvent('YB_NEW_ARRIVAL_FLR_C', option);
|
|
|
});
|
|
|
|
|
|
/* 最新上架商品点击埋点*/
|
...
|
...
|
@@ -458,7 +458,7 @@ $(function() { |
|
|
}
|
|
|
|
|
|
$.extend(goodData, getProData($(this).closest('.good-info')));
|
|
|
yas.givePoint('YB_NEW_ARRIVAL_FLR_C', goodData);
|
|
|
yas.yasEvent('YB_NEW_ARRIVAL_FLR_C', goodData);
|
|
|
});
|
|
|
|
|
|
/* 最新上架商品点击埋点*/
|
...
|
...
|
@@ -493,6 +493,6 @@ $(function() { |
|
|
goodData.KEYWORD = $(this).html();
|
|
|
}
|
|
|
$.extend(goodData, getProData($good));
|
|
|
yas.givePoint('YB_NEW_ARRIVAL_FLR_C', goodData);
|
|
|
yas.yasEvent('YB_NEW_ARRIVAL_FLR_C', goodData);
|
|
|
});
|
|
|
}); |
...
|
...
|
|