...
|
...
|
@@ -153,6 +153,9 @@ class SearchController extends AbstractAction |
|
|
// 右下角的购物车链接
|
|
|
$data['goodList']['cartUrl'] = Helpers::url('/cart/index/index', null);
|
|
|
|
|
|
// 显示底部悬浮下载
|
|
|
$data['showDownloadApp'] = true;
|
|
|
|
|
|
// // 查询数据
|
|
|
// if (!isset($condition['query'])) {
|
|
|
// $data['goodList'] += Product\ListModel::getClassData($condition);
|
...
|
...
|
@@ -221,6 +224,9 @@ class SearchController extends AbstractAction |
|
|
$order = $this->get('order', 0);
|
|
|
$condition['order'] = Helpers::transOrder($order, $type);
|
|
|
|
|
|
// 过滤掉值为空的条件
|
|
|
$condition = array_filter($condition);
|
|
|
|
|
|
// /* 模糊搜索关键词 */
|
|
|
// if (isset($condition['query'])) {
|
|
|
// $data = Product\SearchModel::getSearchData($condition);
|
...
|
...
|
|