Merge remote-tracking branch 'origin/develop/wap' into develop/wap
Showing
1 changed file
with
3 additions
and
5 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( | ||
713 | - 'img' => Helpers::getImageUrl($image['image_url'], 60, 60) | ||
714 | - ); | ||
715 | - } | 711 | + $thumbImageList[] = array( |
712 | + 'img' => Helpers::getImageUrl($val['color_image'], 60, 60) | ||
713 | + ); | ||
716 | 714 | ||
717 | // 商品库存总数 | 715 | // 商品库存总数 |
718 | $totalStorageNum += $colorNum; | 716 | $totalStorageNum += $colorNum; |
-
Please register or login to post a comment