...
|
...
|
@@ -68,7 +68,8 @@ function pageChange(self, $ul, page, itemWith, curPage, num) { |
|
|
naItemWith = $naUl.children('li:last-child').outerWidth(),
|
|
|
rcItemWith = $rcUl.children('li:last-child').outerWidth(),
|
|
|
naCurPage = 1,
|
|
|
rcCurPage = 1;
|
|
|
rcCurPage = 1,
|
|
|
PRDID = [];
|
|
|
|
|
|
$naUl.width($naUl.width() * naPage);
|
|
|
$rcUl.width($rcUl.width() * rcPage);
|
...
|
...
|
@@ -101,4 +102,30 @@ function pageChange(self, $ul, page, itemWith, curPage, num) { |
|
|
pageChange($this, $rcUl, rcPage, rcItemWith, rcCurPage, 6);
|
|
|
}
|
|
|
});
|
|
|
|
|
|
//为您优选埋点 start
|
|
|
$rcUl.find('li').each(function() {
|
|
|
PRDID.push($(this).find('a').data('id'));
|
|
|
});
|
|
|
|
|
|
window.givePoint({
|
|
|
'REC_POSE': 120004,
|
|
|
'PRD_ID': PRDID.join(','),
|
|
|
'PRD_NUM': $rcUl.find('li').length,
|
|
|
'ACTION_ID': 0,
|
|
|
'page_num': 1
|
|
|
});
|
|
|
|
|
|
$rcUl.find('li a').unbind('click').bind('click', function() {
|
|
|
window.givePoint({
|
|
|
'REC_POSE': 120004,
|
|
|
'PRD_ID': $(this).data('id'),
|
|
|
'PRD_NUM': $(this).closest('li').index(),
|
|
|
'ACTION_ID': 1,
|
|
|
'page_num': 1
|
|
|
});
|
|
|
return true;
|
|
|
});
|
|
|
//为您优选埋点 end
|
|
|
|
|
|
}()); |
|
|
\ No newline at end of file |
...
|
...
|
|