Authored by yyq

图片压缩问题处理

@@ -411,6 +411,10 @@ @@ -411,6 +411,10 @@
411 .trend-info { 411 .trend-info {
412 width: 100%; 412 width: 100%;
413 413
  414 + .floor-header {
  415 + margin-top: 70px;
  416 + }
  417 +
414 .trend-list { 418 .trend-list {
415 width: 100%; 419 width: 100%;
416 420
@@ -560,7 +560,7 @@ class ShopModel @@ -560,7 +560,7 @@ class ShopModel
560 'title' => $resource['productName'], 560 'title' => $resource['productName'],
561 'productSkn' => $resource['productSkn'], 561 'productSkn' => $resource['productSkn'],
562 'price' => '¥' . number_format(trim($resource['salesPrice'], '¥'), 2, '.', ''), 562 'price' => '¥' . number_format(trim($resource['salesPrice'], '¥'), 2, '.', ''),
563 - 'img' => self::imageView2($resource['src'], 250, 340), 563 + 'img' => self::imageView2($resource['src'], 250, 250),
564 'url' => Helpers::getProductUrl($resource['productId'], $resource['productSkn'], $resource['productName']), 564 'url' => Helpers::getProductUrl($resource['productId'], $resource['productSkn'], $resource['productName']),
565 ); 565 );
566 } 566 }
@@ -582,7 +582,7 @@ class ShopModel @@ -582,7 +582,7 @@ class ShopModel
582 'title' => $resource['productName'], 582 'title' => $resource['productName'],
583 'productSkn' => $resource['productSkn'], 583 'productSkn' => $resource['productSkn'],
584 'price' => '¥' . number_format(trim($resource['salesPrice'], '¥'), 2, '.', ''), 584 'price' => '¥' . number_format(trim($resource['salesPrice'], '¥'), 2, '.', ''),
585 - 'img' => self::imageView2($resource['src'], 250, 340), 585 + 'img' => self::imageView2($resource['src'], 250, 250),
586 'url' => Helpers::getProductUrl($resource['productId'], $resource['productSkn'], $resource['productName']), 586 'url' => Helpers::getProductUrl($resource['productId'], $resource['productSkn'], $resource['productName']),
587 'index' => $key + 1 587 'index' => $key + 1
588 ); 588 );