...
|
...
|
@@ -35,6 +35,7 @@ class SaleModel |
|
|
$data = HelperSearch::getList($result, $searchCondition['options']);
|
|
|
|
|
|
//组织sale数据
|
|
|
$special = array();
|
|
|
if (isset($specialInfo['data']) && !empty($specialInfo['data']['banner_img'])) {
|
|
|
$banner = json_decode($specialInfo['data']['banner_img'], true);
|
|
|
foreach ($banner as $k => $v) {
|
...
|
...
|
@@ -43,6 +44,7 @@ class SaleModel |
|
|
}
|
|
|
$special = $specialInfo['data'];
|
|
|
}
|
|
|
|
|
|
//Sale首页 banner数据
|
|
|
$data['saleBanner']['bannerHeight'] = $special['banner'][0]['height'];
|
|
|
$data['saleBanner']['img'] = $special['banner'][0]['img'];
|
...
|
...
|
@@ -51,7 +53,7 @@ class SaleModel |
|
|
|
|
|
//获取广告位数据
|
|
|
if (isset($special['left_ad_code'])) {
|
|
|
$nodeContent = HelperSearch::formatNodeContent($special['left_ad_code']);
|
|
|
$nodeContent = HelperSearch::getNodeContent($special['left_ad_code']);
|
|
|
$data['leftContent'][]['picLink']['list'] = $nodeContent;
|
|
|
}
|
|
|
|
...
|
...
|
|