...
|
...
|
@@ -4,9 +4,6 @@ namespace WebPlugin; |
|
|
|
|
|
use WebPlugin\Paging;
|
|
|
use LibModels\Web\Product\BrandData;
|
|
|
use LibModels\Web\Product\SearchData;
|
|
|
use Api\Yohobuy;
|
|
|
use Api\Sign;
|
|
|
use Configs\ChannelConfig;
|
|
|
use Index\HomeModel;
|
|
|
/**
|
...
|
...
|
@@ -317,7 +314,7 @@ class HelperSearch |
|
|
|
|
|
foreach ($sort as $key => $val) {
|
|
|
//是否有品牌
|
|
|
if ($options['action'] != 'brand' && $options['controller'] != 'index') {
|
|
|
if ($options['action'] != 'brand' && $options['controller'] != 'Index') {
|
|
|
//若url参数有分类,设置msort导航
|
|
|
if (isset(self::$params['msort']) && self::$params['msort'] == $val['sort_id']) {
|
|
|
self::$listNav[1] = array(
|
...
|
...
|
@@ -1299,7 +1296,7 @@ class HelperSearch |
|
|
$type = isset(self::$params['msort']) && self::$params['msort'] ? self::$params['msort'] : '';
|
|
|
}
|
|
|
//新品到着
|
|
|
elseif ($controller == 'list' && $action == 'new') {
|
|
|
elseif ($controller == 'List' && $action == 'new') {
|
|
|
if (isset(self::$params['shelve_time'])) {
|
|
|
$date = explode(',', self::$params['shelve_time']);
|
|
|
$date = date('Y-m-d', $date[0]);
|
...
|
...
|
|