Authored by whb

category模版修改

... ... @@ -642,8 +642,12 @@ class Process
$result['category']['navs'] = self::mergeNavProcess($data[$key + 1], $type);
}
// floor模版
foreach ($data[$key + 2]['data'] as $val) {
$val['src'] = Images::getImageUrl($val['src'], 185, 510, 2);
foreach ($data[$key + 2]['data'] as $pos => $val) {
$width = 185; $height = 510;
if($pos == 1) {
$width = 377; $height = 504;
}
$val['src'] = Images::getImageUrl($val['src'], $width, $height, 2);
$val['url'] = Helpers::transUrl($val['url'], $type);
$result['category']['list'][] = array(
'href' => $val['url'],
... ...