Authored by 郭成尧

'goods-new'

... ... @@ -184,6 +184,7 @@
li {
width: 50%;
height: 160px;
float: left;
text-align: center;
list-style: none;
... ...
... ... @@ -499,11 +499,12 @@ class IndexController extends AbstractAction
$data['filter'] = $filter['filter'];
/* tar add 160931 */
$data['goods'] = \Product\SearchModel::search(array(
$goods = \Product\SearchModel::search(array(
'shop' => $shopId,
'gender' => $data['gender'],
'channel' => $data['channel']
));
$data['goods'] = $goods['new'];
$this->_view->display('shop', array(
'shopIndex' => $data,
... ...