...
|
...
|
@@ -120,13 +120,13 @@ class IndexController extends AbstractAction |
|
|
// 从搜索页过来的,显示搜索框, 和进入品牌引导信息
|
|
|
if ($from === 'search') {
|
|
|
$data['goodList'] = array();
|
|
|
$data['goodList']['brandWay'] = Product\ListModel::getBrandLogoByIds($brandIds[0], $title);
|
|
|
$data['goodList']['brandWay'] = \Product\ListModel::getBrandLogoByIds($brandIds[0], $title);
|
|
|
$data['goodList']['search']['default'] = $query;
|
|
|
$data['goodList']['search']['url'] = Helpers::url('', null, 'search');
|
|
|
}
|
|
|
// 品牌一览过来的展示品牌介绍和LOGO
|
|
|
else {
|
|
|
$data['brandHome'] = Product\ListModel::getBrandIntro($brandIds[0], $uid, $title);
|
|
|
$data['brandHome'] = \Product\ListModel::getBrandIntro($brandIds[0], $uid, $title);
|
|
|
$data['goodList'] = array();
|
|
|
}
|
|
|
$data['goodList'] += $condition;
|
...
|
...
|
|