...
|
...
|
@@ -141,14 +141,14 @@ class SearchController extends AbstractAction |
|
|
}
|
|
|
// 搜索其它内容
|
|
|
else {
|
|
|
if ($haveQuery) {
|
|
|
$data['goodList']['search']['default'] = $query;
|
|
|
$from = $this->get('from');
|
|
|
if ($haveQuery || $from) {
|
|
|
$data['goodList']['search']['default'] = empty($query) ? false : $query;
|
|
|
$data['goodList']['search']['url'] = Helpers::url('', null, 'search');
|
|
|
}
|
|
|
$this->setTitle('搜索');
|
|
|
$this->setNavHeader('搜索', true, SITE_MAIN);
|
|
|
}
|
|
|
|
|
|
// 右下角的购物车链接
|
|
|
$data['goodList']['cartUrl'] = Helpers::url('/cart/index/index', null);
|
|
|
|
...
|
...
|
|