...
|
...
|
@@ -35,14 +35,16 @@ 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) {
|
|
|
$v['img'] = Images::getSourceUrl($v['img'], 'couponImg');
|
|
|
$specialInfo['data']['banner'][] = $v;
|
|
|
}
|
|
|
$special = $specialInfo['data'];
|
|
|
$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;
|
|
|
}
|
|
|
|
...
|
...
|
|