...
|
...
|
@@ -101,19 +101,16 @@ class ShopModel |
|
|
array('href'=> '', 'name' => $data['brandIntro']['brandName'], 'title' => $data['brandIntro']['brandName'])
|
|
|
)
|
|
|
);
|
|
|
|
|
|
//print_r($result['opts']);
|
|
|
$sort = self::getSort($res['sort'], $parameters['options']['misort'], $shopId);
|
|
|
$searchCondition['userInput'] = empty($searchCondition['userInput']) ? array() : $searchCondition['userInput'];
|
|
|
$param = array_merge($searchCondition['userInput'], array('navBar' => 1));
|
|
|
$data['allGoods']['list'] = $result['goods'];
|
|
|
$data['allGoods']['navs'][] = array(
|
|
|
'name' => 'MORE',
|
|
|
'href' => self::$shopListUrl
|
|
|
);
|
|
|
$data['allGoods']['name'] = '全部商品 ALL';
|
|
|
$data['allGoods']['opts'] = $result['opts'];
|
|
|
$data['leftContent'] = isset($result['leftContent']) ? $result['leftContent'] : '';
|
|
|
$data['allGoods']['goodsMenu']['menuList'] = $sort;
|
|
|
$data['allGoods']['goodsMenu']['url'] = self::$shopListUrl . '?'.http_build_query($param);
|
|
|
$data['allGoods']['href'] = self::$shopListUrl . '?'.http_build_query($param);
|
|
|
|
|
|
return $data;
|
...
|
...
|
|