Authored by 周少峰

ajax产品小图显示问题

@@ -1211,7 +1211,7 @@ class HelperSearch @@ -1211,7 +1211,7 @@ class HelperSearch
1211 if ($val['status'] == 0) { 1211 if ($val['status'] == 0) {
1212 continue; 1212 continue;
1213 } 1213 }
1214 - $result[$key]['coverImg'] = Images::getImageUrl($val['images_url'], $options['minImgSize'][0], $options['minImgSize'][1]); 1214 + $result[$key]['coverImg'] = Images::getImageUrl($val['images_url'], $options['imgSize'][0], $options['imgSize'][1]);
1215 $result[$key]['url'] = Helpers::getUrlBySkc($product[0]['product_id'], $val['goods_id'], $product[0]['cn_alphabet']); 1215 $result[$key]['url'] = Helpers::getUrlBySkc($product[0]['product_id'], $val['goods_id'], $product[0]['cn_alphabet']);
1216 $result[$key]['src'] = Images::getImageUrl($val['images_url'], $options['imgSize'][0], $options['imgSize'][1]); 1216 $result[$key]['src'] = Images::getImageUrl($val['images_url'], $options['imgSize'][0], $options['imgSize'][1]);
1217 } 1217 }