Merge branch 'release/4.8' of http://git.yoho.cn/fe/YOHOBUYPC into release/4.8
Showing
6 changed files
with
3 additions
and
7 deletions
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
@@ -235,7 +235,7 @@ $shopCart.on('click', '.icon-minus, .icon-add', function() { | @@ -235,7 +235,7 @@ $shopCart.on('click', '.icon-minus, .icon-add', function() { | ||
235 | // 最近浏览翻页 | 235 | // 最近浏览翻页 |
236 | $histroy.on('click', '.pagenext, .pageprev', function() { | 236 | $histroy.on('click', '.pagenext, .pageprev', function() { |
237 | if ($(this).hasClass('pagenext')) { | 237 | if ($(this).hasClass('pagenext')) { |
238 | - if (pageNum !== 6) { | 238 | + if (pageNum !== 5) { |
239 | pageNum++; | 239 | pageNum++; |
240 | } else { | 240 | } else { |
241 | pageNum = 1; | 241 | pageNum = 1; |
@@ -483,10 +483,6 @@ class CartModel | @@ -483,10 +483,6 @@ class CartModel | ||
483 | $end = 23; | 483 | $end = 23; |
484 | break; | 484 | break; |
485 | case 5: | 485 | case 5: |
486 | - $begin = 18; | ||
487 | - $end = 23; | ||
488 | - break; | ||
489 | - case 6: | ||
490 | $begin = 24; | 486 | $begin = 24; |
491 | $end = 30; | 487 | $end = 30; |
492 | break; | 488 | break; |
@@ -520,7 +516,7 @@ class CartModel | @@ -520,7 +516,7 @@ class CartModel | ||
520 | } | 516 | } |
521 | 517 | ||
522 | // 到达第六页,没有下一页 | 518 | // 到达第六页,没有下一页 |
523 | - if ($page == 6) { | 519 | + if ($page == 5) { |
524 | $result['data']['hasNext'] = false; | 520 | $result['data']['hasNext'] = false; |
525 | } | 521 | } |
526 | 522 |
@@ -188,7 +188,7 @@ class IndexController extends WebAction | @@ -188,7 +188,7 @@ class IndexController extends WebAction | ||
188 | $udid = $uid . $this->getUdid(); | 188 | $udid = $uid . $this->getUdid(); |
189 | $page = $this->get('page', 1); | 189 | $page = $this->get('page', 1); |
190 | 190 | ||
191 | - if ($page === '7') { | 191 | + if ($page === '6') { |
192 | $page = 1; | 192 | $page = 1; |
193 | } | 193 | } |
194 | 194 |
-
Please register or login to post a comment