...
|
...
|
@@ -444,6 +444,10 @@ class HelperSearch |
|
|
if (self::checkSearch('brand')) {
|
|
|
return array();
|
|
|
}
|
|
|
//品牌数量小于等于10,隐藏更多按钮
|
|
|
if (count($result['brandsShow']) < 11) {
|
|
|
$result['hideMore'] = true;
|
|
|
}
|
|
|
return $result;
|
|
|
}
|
|
|
/**
|
...
|
...
|
@@ -996,7 +1000,7 @@ class HelperSearch |
|
|
*/
|
|
|
public static function current()
|
|
|
{
|
|
|
$url = explode('?', $_SERVER['REQUEST_URI']);
|
|
|
$url = explode('?', 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
|
|
|
self::$listNav[0]['href'] = $url[0];
|
|
|
return $url[0];
|
|
|
}
|
...
|
...
|
@@ -1358,7 +1362,9 @@ class HelperSearch |
|
|
//清除选中
|
|
|
$result['checkedConditions']['clearUrl'] = self::current();
|
|
|
//频道
|
|
|
$result['channel'] = self::gender(self::$filter);
|
|
|
$result['channel'] = array();
|
|
|
//性别
|
|
|
$result['gender'] = self::gender(self::$filter);
|
|
|
//品牌
|
|
|
$result['brand'] = self::brand(self::$filter);
|
|
|
//价格
|
...
|
...
|
|