Authored by Rock Zhang

添加购物车商品的select字段

@@ -571,9 +571,10 @@ class Helpers @@ -571,9 +571,10 @@ class Helpers
571 $oneGoods['id'] = $value['product_sku']; 571 $oneGoods['id'] = $value['product_sku'];
572 $oneGoods['skn'] = $value['product_skn']; 572 $oneGoods['skn'] = $value['product_skn'];
573 $oneGoods['name'] = $value['product_name']; 573 $oneGoods['name'] = $value['product_name'];
574 - $oneGoods['thumb'] = !empty($value['goods_images']) ? Images::getImageUrl($value['goods_images'], 120, 120) : ''; 574 + $oneGoods['thumb'] = !empty($value['goods_images']) ? Images::getImageUrl($value['goods_images'], 90, 100) : '';
575 $oneGoods['color'] = $value['color_name']; 575 $oneGoods['color'] = $value['color_name'];
576 $oneGoods['size'] = $value['size_name']; 576 $oneGoods['size'] = $value['size_name'];
  577 + $oneGoods['isSelected'] = $value['selected'] === 'Y';
577 $oneGoods['price'] = self::transPrice($value['sales_price']); 578 $oneGoods['price'] = self::transPrice($value['sales_price']);
578 $oneGoods['count'] = $value['buy_number']; 579 $oneGoods['count'] = $value['buy_number'];
579 $oneGoods['lowStocks'] = ($value['buy_number'] < $value['storage_number']); 580 $oneGoods['lowStocks'] = ($value['buy_number'] < $value['storage_number']);