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