...
|
...
|
@@ -131,6 +131,7 @@ class FloorProcess |
|
|
|
|
|
/**
|
|
|
* 女生品类
|
|
|
* 推荐(1T-12F)
|
|
|
*/
|
|
|
private static function recommend_content_three($data, $type)
|
|
|
{
|
...
|
...
|
@@ -138,7 +139,7 @@ class FloorProcess |
|
|
|
|
|
$build = array();
|
|
|
if (!empty($data['big_image'][0])) {
|
|
|
$build['img'] = Helpers::getImageUrl($data['big_image'][0]['src'], 640, 198);
|
|
|
$build['img'] = Helpers::getImageUrl($data['big_image'][0]['src'], 640, 200);
|
|
|
$build['url'] = Helpers::getFilterUrl($data['big_image'][0]['url']);
|
|
|
$result['hotCategory']['banner'] = $build;
|
|
|
}
|
...
|
...
|
@@ -228,7 +229,7 @@ class FloorProcess |
|
|
|
|
|
foreach($data as $key=>&$value){
|
|
|
if($key == 'title'){
|
|
|
$value['more_url'] = Helpers::url('', array('id' => 2, 'gender' => self::$channel[$type]), 'guang');
|
|
|
$value['more_url'] = Helpers::url('', array('id' => 3, 'gender' => self::$channel[$type]), 'guang');
|
|
|
}
|
|
|
if($key == 'article'){
|
|
|
foreach($value as &$one){
|
...
|
...
|
@@ -266,7 +267,7 @@ class FloorProcess |
|
|
|
|
|
foreach($data as $key=>&$value){
|
|
|
if($key == 'title'){
|
|
|
$value['more_url'] = Helpers::url('', array('id' => 1, 'gender' => self::$channel[$type]), 'guang');
|
|
|
$value['more_url'] = Helpers::url('', array('id' => 4, 'gender' => self::$channel[$type]), 'guang');
|
|
|
}
|
|
|
if($key == 'list'){
|
|
|
foreach ($value as &$one) {
|
...
|
...
|
@@ -300,7 +301,7 @@ class FloorProcess |
|
|
$one['img'] = Helpers::getImageUrl($one['src'], 640, 403);
|
|
|
unset($one['src']);
|
|
|
}
|
|
|
$data['banner']['list'] = $data['big_image'];
|
|
|
$result['big_image']['list'] = $data['big_image'];
|
|
|
|
|
|
foreach ($data['list'] as $kk => &$one) {
|
|
|
if ($kk == 0) {
|
...
|
...
|
@@ -337,7 +338,6 @@ class FloorProcess |
|
|
{
|
|
|
$result = array();
|
|
|
|
|
|
$data['banner'] = array();
|
|
|
foreach ($data['big_image'] as &$one) {
|
|
|
if (isset($one['url'])) {
|
|
|
$one['url'] = Helpers::getFilterUrl($one['url']);
|
...
|
...
|
|