Authored by yyq

图片压缩问题处理

... ... @@ -411,6 +411,10 @@
.trend-info {
width: 100%;
.floor-header {
margin-top: 70px;
}
.trend-list {
width: 100%;
... ...
... ... @@ -560,7 +560,7 @@ class ShopModel
'title' => $resource['productName'],
'productSkn' => $resource['productSkn'],
'price' => '¥' . number_format(trim($resource['salesPrice'], '¥'), 2, '.', ''),
'img' => self::imageView2($resource['src'], 250, 340),
'img' => self::imageView2($resource['src'], 250, 250),
'url' => Helpers::getProductUrl($resource['productId'], $resource['productSkn'], $resource['productName']),
);
}
... ... @@ -582,7 +582,7 @@ class ShopModel
'title' => $resource['productName'],
'productSkn' => $resource['productSkn'],
'price' => '¥' . number_format(trim($resource['salesPrice'], '¥'), 2, '.', ''),
'img' => self::imageView2($resource['src'], 250, 340),
'img' => self::imageView2($resource['src'], 250, 250),
'url' => Helpers::getProductUrl($resource['productId'], $resource['productSkn'], $resource['productName']),
'index' => $key + 1
);
... ...