Authored by lore-w

Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop

@@ -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'],
@@ -202,6 +202,10 @@ class HomeModel @@ -202,6 +202,10 @@ class HomeModel
202 'order' => 's_t_desc', 202 'order' => 's_t_desc',
203 'shelve_time' => strtotime("-60 days") . ',' . time() 203 'shelve_time' => strtotime("-60 days") . ',' . time()
204 ); 204 );
  205 + //女首频道最新上架参数是gender=2,3
  206 + if($channel == self::COOKIE_NAME_GIRLS) {
  207 + $params['gender'] = '2,3';
  208 + }
205 // 最新上架分类 209 // 最新上架分类
206 if (isset(ChannelConfig::$newArrivalSortList[$channel])) { 210 if (isset(ChannelConfig::$newArrivalSortList[$channel])) {
207 $sortList = ChannelConfig::$newArrivalSortList[$channel]; 211 $sortList = ChannelConfig::$newArrivalSortList[$channel];