modify goods list to ajax lazyload
Showing
1 changed file
with
5 additions
and
5 deletions
@@ -51,14 +51,14 @@ class IndexController extends AbstractAction | @@ -51,14 +51,14 @@ class IndexController extends AbstractAction | ||
51 | $this->setTitle($name); | 51 | $this->setTitle($name); |
52 | $this->setNavHeader($name, true, SITE_MAIN); | 52 | $this->setNavHeader($name, true, SITE_MAIN); |
53 | 53 | ||
54 | - $goodList = Product\ListModel::getClassData($condition); | ||
55 | - if (!empty($condition) && !empty($goodList)) { | ||
56 | - $goodList = array_merge($goodList, $condition); | ||
57 | - } | 54 | +// $goodList = Product\ListModel::getClassData($condition); |
55 | +// if (!empty($condition) && !empty($goodList)) { | ||
56 | +// $goodList = array_merge($goodList, $condition); | ||
57 | +// } | ||
58 | $this->_view->display('index', array( | 58 | $this->_view->display('index', array( |
59 | 'goodListPage' => true, | 59 | 'goodListPage' => true, |
60 | 'showDownloadApp' => true, | 60 | 'showDownloadApp' => true, |
61 | - 'goodList' => $goodList, | 61 | + 'goodList' => $condition, |
62 | )); | 62 | )); |
63 | } | 63 | } |
64 | 64 |
-
Please register or login to post a comment