Merge branch 'feature/givePoint'
Showing
1 changed file
with
4 additions
and
3 deletions
@@ -116,15 +116,16 @@ function pageChange(self, $ul, page, itemWith, curPage, num) { | @@ -116,15 +116,16 @@ function pageChange(self, $ul, page, itemWith, curPage, num) { | ||
116 | 'ACTION_ID': 0, | 116 | 'ACTION_ID': 0, |
117 | 'page_num': 1 | 117 | 'page_num': 1 |
118 | }); | 118 | }); |
119 | - }, 100); | 119 | + }, 4000); |
120 | 120 | ||
121 | $rcUl.find('li a').bind('click', function() { | 121 | $rcUl.find('li a').bind('click', function() { |
122 | + var index = $(this).closest('li').index() + 1; | ||
122 | window.givePoint({ | 123 | window.givePoint({ |
123 | 'REC_POSE': 120004, | 124 | 'REC_POSE': 120004, |
124 | 'PRD_ID': $(this).data('id'), | 125 | 'PRD_ID': $(this).data('id'), |
125 | - 'PRD_NUM': $(this).closest('li').index() + 1, | 126 | + 'PRD_NUM': index % 6 === 0 ? 6 : index % 6, |
126 | 'ACTION_ID': 1, | 127 | 'ACTION_ID': 1, |
127 | - 'page_num': 1 | 128 | + 'page_num': rcCurPage |
128 | }); | 129 | }); |
129 | return true; | 130 | return true; |
130 | }); | 131 | }); |
-
Please register or login to post a comment