Merge branch 'test' of git.dev.yoho.cn:web/yohobuy into test
Showing
1 changed file
with
6 additions
and
0 deletions
@@ -151,6 +151,9 @@ class SearchController extends AbstractAction | @@ -151,6 +151,9 @@ class SearchController extends AbstractAction | ||
151 | 151 | ||
152 | // 右下角的购物车链接 | 152 | // 右下角的购物车链接 |
153 | $data['goodList']['cartUrl'] = Helpers::url('/cart/index/index', null); | 153 | $data['goodList']['cartUrl'] = Helpers::url('/cart/index/index', null); |
154 | + | ||
155 | + // 显示底部悬浮下载 | ||
156 | + $data['showDownloadApp'] = true; | ||
154 | 157 | ||
155 | // // 查询数据 | 158 | // // 查询数据 |
156 | // if (!isset($condition['query'])) { | 159 | // if (!isset($condition['query'])) { |
@@ -219,6 +222,9 @@ class SearchController extends AbstractAction | @@ -219,6 +222,9 @@ class SearchController extends AbstractAction | ||
219 | $type = $this->get('type', ''); | 222 | $type = $this->get('type', ''); |
220 | $order = $this->get('order', 0); | 223 | $order = $this->get('order', 0); |
221 | $condition['order'] = Helpers::transOrder($order, $type); | 224 | $condition['order'] = Helpers::transOrder($order, $type); |
225 | + | ||
226 | + // 过滤掉值为空的条件 | ||
227 | + $condition = array_filter($condition); | ||
222 | 228 | ||
223 | // /* 模糊搜索关键词 */ | 229 | // /* 模糊搜索关键词 */ |
224 | // if (isset($condition['query'])) { | 230 | // if (isset($condition['query'])) { |
-
Please register or login to post a comment