...
|
...
|
@@ -7,6 +7,7 @@ use LibModels\Web\Product\BrandData; |
|
|
use LibModels\Web\Product\SearchData;
|
|
|
use Api\Yohobuy;
|
|
|
use Api\Sign;
|
|
|
use Index\HomeModel;
|
|
|
/**
|
|
|
* 搜索辅助类
|
|
|
*/
|
...
|
...
|
@@ -31,7 +32,7 @@ class HelperSearch |
|
|
private static function setListNav()
|
|
|
{
|
|
|
$options = self::$options;
|
|
|
$cookieChannel = isset($_COOKIE['_Channel']) ? $_COOKIE['_Channel'] : 'boys';
|
|
|
$channel = HomeModel::getSwitchChannel();
|
|
|
if (isset($options['brandName']) && !empty($options['brandName'])) {
|
|
|
$initNav = $options['brandNameEn'] . $options['brandNameCn'];
|
|
|
}else{
|
...
|
...
|
@@ -39,7 +40,7 @@ class HelperSearch |
|
|
}
|
|
|
self::$listNav[0] = array(
|
|
|
'href' => '',
|
|
|
'name' => strtoupper($cookieChannel).'首页'
|
|
|
'name' => strtoupper($channel).'首页'
|
|
|
);
|
|
|
self::$listNav[1] = array(
|
|
|
'href' => '',
|
...
|
...
|
|