Showing
1 changed file
with
5 additions
and
0 deletions
@@ -827,13 +827,18 @@ class HomeController extends AbstractAction | @@ -827,13 +827,18 @@ class HomeController extends AbstractAction | ||
827 | { | 827 | { |
828 | $this->setTitle('YOHO币'); | 828 | $this->setTitle('YOHO币'); |
829 | $this->setNavHeader('YOHO币', true, false); | 829 | $this->setNavHeader('YOHO币', true, false); |
830 | + $data = array(); | ||
830 | $page = $this->get('page', 1); | 831 | $page = $this->get('page', 1); |
831 | $size = $this->get('size', 10); | 832 | $size = $this->get('size', 10); |
832 | //$data = UserModel::getYohoCoinLists($this->_uid,$page,$size); | 833 | //$data = UserModel::getYohoCoinLists($this->_uid,$page,$size); |
833 | $data = UserModel::getYohoCoinLists(3965746,$page,$size); | 834 | $data = UserModel::getYohoCoinLists(3965746,$page,$size); |
835 | + if(!$this->isAjax()){ | ||
836 | + $fullPage = 1; | ||
837 | + } | ||
834 | $this->_view->display('currency-detail', array( | 838 | $this->_view->display('currency-detail', array( |
835 | 'currency' => $data['list'], | 839 | 'currency' => $data['list'], |
836 | 'money' => $data['money'], | 840 | 'money' => $data['money'], |
841 | + 'fullPage' => $fullPage, | ||
837 | 'pageFooter' => true, | 842 | 'pageFooter' => true, |
838 | 'currencyDetailPage' => true | 843 | 'currencyDetailPage' => true |
839 | )); | 844 | )); |
-
Please register or login to post a comment