Showing
1 changed file
with
1 additions
and
8 deletions
@@ -1192,18 +1192,11 @@ $listNav.on('touchstart', 'li', function() { | @@ -1192,18 +1192,11 @@ $listNav.on('touchstart', 'li', function() { | ||
1192 | 1192 | ||
1193 | $('#goods-container').on('click', '.good-info', function() { | 1193 | $('#goods-container').on('click', '.good-info', function() { |
1194 | let PRD_ID = $(this).data('good-id'), | 1194 | let PRD_ID = $(this).data('good-id'), |
1195 | - PRD_NUM = $(this).index(), | 1195 | + PRD_NUM = $(this).index() + 1, |
1196 | FILTER_VALUE = filext ? JSON.stringify(filext).replace(/\{|\}|\"/g, '') : '', | 1196 | FILTER_VALUE = filext ? JSON.stringify(filext).replace(/\{|\}|\"/g, '') : '', |
1197 | yasparms, | 1197 | yasparms, |
1198 | firstType; | 1198 | firstType; |
1199 | 1199 | ||
1200 | - if ($(this).parent().hasClass('firstscreen-goods')) { | ||
1201 | - firstType = 'default'; | ||
1202 | - PRD_NUM = PRD_NUM + 1; | ||
1203 | - } else if ($(this).parent().hasClass('default-goods')) { | ||
1204 | - PRD_NUM = PRD_NUM + 24; | ||
1205 | - } | ||
1206 | - | ||
1207 | yasparms = { | 1200 | yasparms = { |
1208 | C_ID: C_ID, | 1201 | C_ID: C_ID, |
1209 | PRD_ID: PRD_ID, | 1202 | PRD_ID: PRD_ID, |
-
Please register or login to post a comment