...
|
...
|
@@ -12,7 +12,8 @@ class ListController extends WebAction |
|
|
$condition = array();
|
|
|
$options = array(
|
|
|
'positionId' => $positionId,
|
|
|
'reviewNum' => 6
|
|
|
'reviewNum' => 6,
|
|
|
'controller' => $this->_request->controller
|
|
|
);
|
|
|
|
|
|
$indexData = Product\IndexModel::getIndexData($condition, $options);
|
...
|
...
|
@@ -41,7 +42,8 @@ class ListController extends WebAction |
|
|
$newData = Product\NewModel::getNewSearchData($condition, $options);
|
|
|
$data = array(
|
|
|
'productListPage' => true,
|
|
|
'newSale' => $newData
|
|
|
'newSale' => $newData,
|
|
|
'controller' => $this->_request->controller
|
|
|
);
|
|
|
$this->setWebNavHeader();
|
|
|
//渲染模板
|
...
|
...
|
@@ -58,7 +60,8 @@ class ListController extends WebAction |
|
|
$data = array(
|
|
|
//初始化js
|
|
|
'productListPage' => true,
|
|
|
'list' => $list
|
|
|
'list' => $list,
|
|
|
'controller' => $this->_request->controller
|
|
|
);
|
|
|
$this->setWebNavHeader();
|
|
|
$this->_view->display('list', $data);
|
...
|
...
|
|