Authored by whb

修改bug

... ... @@ -97,7 +97,7 @@ class Controller_News extends Controller_Abstract
}
$this->_view['current_tag'] = $requestTag;
$this->_view['isAjax'] = $this->_request->isAjax();
$this->_view['total'] = $total;
$this->_view['pageTotal'] = $total;
$this->_view['limit'] = $limit;
$this->_view['page'] = $page->getCurrentPage();
}
... ...
... ... @@ -19,7 +19,7 @@
</div>
<div class="news-main content-main current">
<div class="news-content">
<div class="main-layout clearfix" total="<?php echo $this->view->total;?>" page="<?php echo $this->view->page;?>"
<div class="main-layout clearfix" total="<?php echo $this->view->pageTotal;?>" page="<?php echo $this->view->page;?>"
total_times="3" current_tag="<?php echo $this->view->current_tag;?>" limit="<?php echo $this->view->limit;?>">
<?php $this->_widget('news_listmobile', array('list'=> $this->view->list));?>
</div>
... ...