...
|
...
|
@@ -99,10 +99,21 @@ function pageChange(self, $ul, page, itemWith, curPage, num) { |
|
|
--rcCurPage;
|
|
|
}
|
|
|
|
|
|
PRDID = [];
|
|
|
$rcUl.find('li').each(function(index) {
|
|
|
if (PRDID.length >= 6) {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
if (index >= (rcCurPage - 1) * 6) {
|
|
|
PRDID.push($(this).find('a').data('id'));
|
|
|
}
|
|
|
});
|
|
|
|
|
|
window.givePoint({
|
|
|
'REC_POSE': 120004,
|
|
|
'PRD_ID': PRDID.slice((rcCurPage - 1) * 6, (rcCurPage - 1) * rcCurPage + 6).join(','),
|
|
|
'PRD_NUM': $rcUl.find('li').length,
|
|
|
'PRD_ID': PRDID.join(','),
|
|
|
'PRD_NUM': PRDID.length,
|
|
|
'ACTION_ID': 0,
|
|
|
'page_num': rcCurPage
|
|
|
});
|
...
|
...
|
@@ -111,20 +122,27 @@ function pageChange(self, $ul, page, itemWith, curPage, num) { |
|
|
}
|
|
|
});
|
|
|
|
|
|
//为您优选埋点 start
|
|
|
setTimeout(function() {
|
|
|
$rcUl.find('li').each(function() {
|
|
|
PRDID.push($(this).find('a').data('id'));
|
|
|
});
|
|
|
//为您优选埋点 start
|
|
|
setTimeout(function() {
|
|
|
PRDID = [];
|
|
|
$rcUl.find('li').each(function(index) {
|
|
|
if (PRDID.length >= 6) {
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
if (index >= 0) {
|
|
|
PRDID.push($(this).find('a').data('id'));
|
|
|
}
|
|
|
});
|
|
|
|
|
|
window.givePoint({
|
|
|
'REC_POSE': 120004,
|
|
|
'PRD_ID': PRDID.slice(0, 6).join(','),
|
|
|
'PRD_NUM': $rcUl.find('li').length,
|
|
|
'PRD_ID': PRDID.join(','),
|
|
|
'PRD_NUM': PRDID.length,
|
|
|
'ACTION_ID': 0,
|
|
|
'page_num': 1
|
|
|
});
|
|
|
}, 3000);
|
|
|
}, 3000);
|
|
|
|
|
|
$rcUl.find('li a').bind('click', function() {
|
|
|
var index = $(this).closest('li').index() + 1;
|
...
|
...
|
|