修复加价购商品图片显示错误的bug
Code Review By Rock Zhang
Showing
1 changed file
with
1 additions
and
3 deletions
@@ -708,11 +708,9 @@ class CartModel | @@ -708,11 +708,9 @@ class CartModel | ||
708 | } | 708 | } |
709 | 709 | ||
710 | // 缩略图 | 710 | // 缩略图 |
711 | - foreach ($val['images_list'] as $image) { | ||
712 | $thumbImageList[] = array( | 711 | $thumbImageList[] = array( |
713 | - 'img' => Helpers::getImageUrl($image['image_url'], 60, 60) | 712 | + 'img' => Helpers::getImageUrl($val['color_image'], 60, 60) |
714 | ); | 713 | ); |
715 | - } | ||
716 | 714 | ||
717 | // 商品库存总数 | 715 | // 商品库存总数 |
718 | $totalStorageNum += $colorNum; | 716 | $totalStorageNum += $colorNum; |
-
Please register or login to post a comment