Showing
5 changed files
with
4 additions
and
0 deletions
@@ -9042,8 +9042,12 @@ $shopCart.on('click', '.icon-minus, .icon-add', function() { | @@ -9042,8 +9042,12 @@ $shopCart.on('click', '.icon-minus, .icon-add', function() { | ||
9042 | // 最近浏览翻页 | 9042 | // 最近浏览翻页 |
9043 | $histroy.on('click', '.pagenext, .pageprev', function() { | 9043 | $histroy.on('click', '.pagenext, .pageprev', function() { |
9044 | if ($(this).hasClass('pagenext')) { | 9044 | if ($(this).hasClass('pagenext')) { |
9045 | + if (pageNum !== 6) { | ||
9045 | pageNum++; | 9046 | pageNum++; |
9046 | } else { | 9047 | } else { |
9048 | + pageNum = 1; | ||
9049 | + } | ||
9050 | + } else { | ||
9047 | --pageNum > 0 || (pageNum = 1); | 9051 | --pageNum > 0 || (pageNum = 1); |
9048 | } | 9052 | } |
9049 | getTogetherProduct($histroy, '/cart/index/getRecommendProduct', { | 9053 | getTogetherProduct($histroy, '/cart/index/getRecommendProduct', { |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.

3.15 KB

8.68 KB
-
Please register or login to post a comment