...
|
...
|
@@ -56,7 +56,7 @@ class HelperSearch |
|
|
);
|
|
|
self::$listNav[1] = array(
|
|
|
'href' => '',
|
|
|
'name' => '列表'
|
|
|
'name' => $options['action'] == 'new' ? '新品到着' : '列表'
|
|
|
);
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -1005,10 +1005,12 @@ class HelperSearch |
|
|
$query['p_d'] = $k;
|
|
|
$list[$k]['href'] = self::buildUrl($query);
|
|
|
$list[$k]['active'] = isset($params['p_d']) && $params['p_d'] == $k ? true : false;
|
|
|
$list[$k]['name'] = $v['name'] . '折';
|
|
|
}
|
|
|
$result = array(
|
|
|
'list' => array_values($list)
|
|
|
);
|
|
|
//print_r($result);
|
|
|
return $result;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -1208,8 +1210,8 @@ class HelperSearch |
|
|
{
|
|
|
// 根据品牌Id获取品牌banner图
|
|
|
$bannerImg = Helpers::getImageUrl($brandBanner, '', 150);
|
|
|
$brandHome = Helpers::url('/product/index/brand', '', $brand['brand_domain']);
|
|
|
$brandIntro = Helpers::url('/product/index/brandIntro', '', $brand['brand_domain']);
|
|
|
$brandHome = Helpers::url('', '', $brand['brand_domain']);
|
|
|
$brandIntro = Helpers::url('/about', '', $brand['brand_domain']);
|
|
|
$is_favorite = false;
|
|
|
if(isset($brand['is_favorite'])){
|
|
|
// 获取是否收藏
|
...
|
...
|
|