Authored by tmq

每页加载个数

@@ -11,7 +11,7 @@ class Controller_Default extends Controller_Abstract @@ -11,7 +11,7 @@ class Controller_Default extends Controller_Abstract
11 public function indexAction() 11 public function indexAction()
12 { 12 {
13 $total = Facade_News::getTotal(array(), array('手机视频')); 13 $total = Facade_News::getTotal(array(), array('手机视频'));
14 - $page = new Lib_Helper_Pagination($total, 72); 14 + $page = new Lib_Helper_Pagination($total, 96);
15 $page->setOptions(array('afterAppend' => 'setLayout')); 15 $page->setOptions(array('afterAppend' => 'setLayout'));
16 list($offset, $limit) = $page->getLimit(); 16 list($offset, $limit) = $page->getLimit();
17 $this->_view['banners'] = Facade_Index::getIndex(1); 17 $this->_view['banners'] = Facade_Index::getIndex(1);