Authored by 周少峰

添加ajax 请求有货币记录

@@ -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 ));