php 代码:

$result = $jjModel->where($wheres)->paginate(10,false,['query' => ['peytype'=>$peytypes]]); (查询10条数据,get参数'paytype',根据自己情况来)

$this->assign('page', $page);

$this->assign('list',$result);

return $this->view->fetch();

 

html代码:

{volist name="list" >
{$page}
</div>

简直不要太简单。。。。

相关文章:

  • 2022-12-23
  • 2021-10-19
  • 2022-03-08
  • 2021-09-14
  • 2021-09-29
  • 2022-12-23
  • 2021-07-22
  • 2022-01-19
猜你喜欢
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
  • 2021-09-06
相关资源
相似解决方案