控制器端代码:
$_page=I('page'); $user = D('salary'); $list = $user->page(5,5,$_page)->select(); $page = $user->getPage(); parent::assign('list',$list); parent::assign('page',$page); parent::display();
页面文件当中如何使用分页?