...
|
...
|
@@ -2,6 +2,7 @@ |
|
|
|
|
|
use Action\AbstractAction;
|
|
|
use LibModels\Wap\Home\IndexData;
|
|
|
use LibModels\Wap\Product\RecomData;
|
|
|
use Plugin\Helpers;
|
|
|
use Plugin\FloorProcess;
|
|
|
/**
|
...
|
...
|
@@ -18,8 +19,8 @@ class GirlsController extends AbstractAction |
|
|
$data = array(
|
|
|
'headerDownload' => $this->getHeaderDownload(),
|
|
|
'homeHeader' => array(
|
|
|
'bgColor' => '#FF88AE',
|
|
|
'searchUrl' => ''
|
|
|
'bgColor' => '#FF88AE',
|
|
|
'searchUrl' => ''
|
|
|
),
|
|
|
'searchUrl' => '',
|
|
|
'sideNav' => array(),
|
...
|
...
|
@@ -42,7 +43,7 @@ class GirlsController extends AbstractAction |
|
|
$iconsEnter = array();
|
|
|
$singleImage = array();
|
|
|
$hotCategory = array();
|
|
|
$hotBrandsScroll = array();
|
|
|
$hotBrands = array();
|
|
|
$trendColloaction = array();
|
|
|
$trendTopics = array();
|
|
|
$goodsCategory = array();
|
...
|
...
|
@@ -72,7 +73,7 @@ class GirlsController extends AbstractAction |
|
|
break;
|
|
|
case 'app_hot_brands': // 推荐品牌
|
|
|
$oneHotBrand = FloorProcess::$template($floorData);
|
|
|
$hotBrandsScroll[] = $oneHotBrand;
|
|
|
$hotBrands[] = $oneHotBrand;
|
|
|
break;
|
|
|
case 'trendsetter_collocation': // 潮人·搭配
|
|
|
$oneTrendSetter = FloorProcess::$template($floorData);
|
...
|
...
|
@@ -103,7 +104,7 @@ class GirlsController extends AbstractAction |
|
|
'bannerTop' => $bannerTop,
|
|
|
'iconsEnter' => $iconsEnter,
|
|
|
'hotCategory' => $hotCategory,
|
|
|
'hotBrandsScroll' => $hotBrandsScroll,
|
|
|
'hotBrands' => $hotBrands,
|
|
|
'trendColloaction' => $trendColloaction,
|
|
|
'trendTopics' => $trendTopics,
|
|
|
'goodsCategory' => $goodsCategory
|
...
|
...
|
@@ -111,10 +112,16 @@ class GirlsController extends AbstractAction |
|
|
|
|
|
$data['content'] = $content;
|
|
|
}
|
|
|
echo '<pre>';
|
|
|
print_r($data);exit;
|
|
|
|
|
|
$data = array(
|
|
|
// 也许喜欢
|
|
|
$maybeLikeData = RecomData::mayLike('2,3', 2);
|
|
|
$maybeLike = array();
|
|
|
if($maybeLike['code'] == 200)
|
|
|
{
|
|
|
$maybeLike = $maybeLike['data']['product_list'];
|
|
|
}
|
|
|
|
|
|
/*$data = array(
|
|
|
'headerDownload' => array(
|
|
|
'img' => 'http://img11.static.yhbimg.com/adpic/2015/02/28/18/01d83bfad41c8fca8fd1ad334216d7d733.jpg?imageView/2/w/640/h/480',
|
|
|
'url' => 'http://www.baidu.com'
|
...
|
...
|
@@ -592,7 +599,7 @@ class GirlsController extends AbstractAction |
|
|
'url' => ''
|
|
|
)
|
|
|
|
|
|
));
|
|
|
));*/
|
|
|
|
|
|
$this->_view->assign('title', 'YOHO!有货');
|
|
|
$this->_view->display('index', $data);
|
...
|
...
|
|