Authored by Rock Zhang

修改浏览记录中图片的大小

@@ -302,7 +302,7 @@ class UserModel @@ -302,7 +302,7 @@ class UserModel
302 $data = $records['data']['product_list']; 302 $data = $records['data']['product_list'];
303 foreach ($data as &$val) { 303 foreach ($data as &$val) {
304 $val['link'] = isset($val['goodsId']) ? Helpers::url('/product/pro_' . $val['product_skn'] . '_' . $val['goodsId'] . '/' . $val['cnAlphabet'] . '.html') : ''; 304 $val['link'] = isset($val['goodsId']) ? Helpers::url('/product/pro_' . $val['product_skn'] . '_' . $val['goodsId'] . '/' . $val['cnAlphabet'] . '.html') : '';
305 - $val['image'] = !empty($val['image']) ? Helpers::getImageUrl($val['image'], 140, 140) : ''; 305 + $val['image'] = !empty($val['image']) ? Helpers::getImageUrl($val['image'], 447, 596) : '';
306 $val['sales_price'] = !empty($val['sales_price']) ? $val['sales_price'] . '.00' : 0; 306 $val['sales_price'] = !empty($val['sales_price']) ? $val['sales_price'] . '.00' : 0;
307 $val['market_price'] = ($val['market_price'] - $val['sales_price'] > 0) ? $val['market_price'] . '.00' : false; 307 $val['market_price'] = ($val['market_price'] - $val['sales_price'] > 0) ? $val['market_price'] . '.00' : false;
308 } 308 }