...
|
...
|
@@ -61,7 +61,7 @@ function request() { |
|
|
$recommendForYou.html(html).show();
|
|
|
lazyLoad($recommendForYou.find('img.lazy'));
|
|
|
|
|
|
//为你优选埋点- 加载
|
|
|
// 为你优选埋点- 加载
|
|
|
|
|
|
$('.goods-container').find('.good-info').each(function() {
|
|
|
goodid = $(this).data('good-id');
|
...
|
...
|
@@ -69,20 +69,20 @@ function request() { |
|
|
if (goodid) {
|
|
|
goodIds.push(goodid);
|
|
|
}
|
|
|
})
|
|
|
});
|
|
|
|
|
|
prdLoad = JSON.stringify(goodIds).replace(/\[|\]|/g, '');
|
|
|
|
|
|
yasRequest(prdLoad, goodIds.length, 0);
|
|
|
|
|
|
//点击商品
|
|
|
// 点击商品
|
|
|
$('.good-info').on('click', function() {
|
|
|
var PRD_ID = $(this).data('good-id'),
|
|
|
PRD_NUM = $(this).index();
|
|
|
|
|
|
yasRequest(PRD_ID, PRD_NUM, 1);
|
|
|
|
|
|
//return false;
|
|
|
// return false;
|
|
|
});
|
|
|
|
|
|
}).fail(function() {
|
...
|
...
|
|