Showing
1 changed file
with
6 additions
and
2 deletions
@@ -642,8 +642,12 @@ class Process | @@ -642,8 +642,12 @@ class Process | ||
642 | $result['category']['navs'] = self::mergeNavProcess($data[$key + 1], $type); | 642 | $result['category']['navs'] = self::mergeNavProcess($data[$key + 1], $type); |
643 | } | 643 | } |
644 | // floor模版 | 644 | // floor模版 |
645 | - foreach ($data[$key + 2]['data'] as $val) { | ||
646 | - $val['src'] = Images::getImageUrl($val['src'], 185, 510, 2); | 645 | + foreach ($data[$key + 2]['data'] as $pos => $val) { |
646 | + $width = 185; $height = 510; | ||
647 | + if($pos == 1) { | ||
648 | + $width = 377; $height = 504; | ||
649 | + } | ||
650 | + $val['src'] = Images::getImageUrl($val['src'], $width, $height, 2); | ||
647 | $val['url'] = Helpers::transUrl($val['url'], $type); | 651 | $val['url'] = Helpers::transUrl($val['url'], $type); |
648 | $result['category']['list'][] = array( | 652 | $result['category']['list'][] = array( |
649 | 'href' => $val['url'], | 653 | 'href' => $val['url'], |
-
Please register or login to post a comment