Authored by 郝肖肖

个人中心 埋点展现分页

... ... @@ -99,6 +99,14 @@ function pageChange(self, $ul, page, itemWith, curPage, num) {
--rcCurPage;
}
window.givePoint({
'REC_POSE': 120004,
'PRD_ID': PRDID.slice((rcCurPage - 1) * 6, (rcCurPage - 1) * rcCurPage + 6).join(','),
'PRD_NUM': $rcUl.find('li').length,
'ACTION_ID': 0,
'page_num': rcCurPage
});
pageChange($this, $rcUl, rcPage, rcItemWith, rcCurPage, 6);
}
});
... ... @@ -111,12 +119,12 @@ function pageChange(self, $ul, page, itemWith, curPage, num) {
window.givePoint({
'REC_POSE': 120004,
'PRD_ID': PRDID.join(','),
'PRD_ID': PRDID.slice(0, 6).join(','),
'PRD_NUM': $rcUl.find('li').length,
'ACTION_ID': 0,
'page_num': 1
});
}, 4000);
}, 3000);
$rcUl.find('li a').bind('click', function() {
var index = $(this).closest('li').index() + 1;
... ...