Authored by 郝肖肖

Merge branch 'feature/givePoint'

@@ -99,6 +99,14 @@ function pageChange(self, $ul, page, itemWith, curPage, num) { @@ -99,6 +99,14 @@ function pageChange(self, $ul, page, itemWith, curPage, num) {
99 --rcCurPage; 99 --rcCurPage;
100 } 100 }
101 101
  102 + window.givePoint({
  103 + 'REC_POSE': 120004,
  104 + 'PRD_ID': PRDID.slice((rcCurPage - 1) * 6, (rcCurPage - 1) * rcCurPage + 6).join(','),
  105 + 'PRD_NUM': $rcUl.find('li').length,
  106 + 'ACTION_ID': 0,
  107 + 'page_num': rcCurPage
  108 + });
  109 +
102 pageChange($this, $rcUl, rcPage, rcItemWith, rcCurPage, 6); 110 pageChange($this, $rcUl, rcPage, rcItemWith, rcCurPage, 6);
103 } 111 }
104 }); 112 });
@@ -111,12 +119,12 @@ function pageChange(self, $ul, page, itemWith, curPage, num) { @@ -111,12 +119,12 @@ function pageChange(self, $ul, page, itemWith, curPage, num) {
111 119
112 window.givePoint({ 120 window.givePoint({
113 'REC_POSE': 120004, 121 'REC_POSE': 120004,
114 - 'PRD_ID': PRDID.join(','), 122 + 'PRD_ID': PRDID.slice(0, 6).join(','),
115 'PRD_NUM': $rcUl.find('li').length, 123 'PRD_NUM': $rcUl.find('li').length,
116 'ACTION_ID': 0, 124 'ACTION_ID': 0,
117 'page_num': 1 125 'page_num': 1
118 }); 126 });
119 - }, 4000); 127 + }, 3000);
120 128
121 $rcUl.find('li a').bind('click', function() { 129 $rcUl.find('li a').bind('click', function() {
122 var index = $(this).closest('li').index() + 1; 130 var index = $(this).closest('li').index() + 1;