//total : 总数
//pageSize : 每页显示数
//totalPage : 共页数
var totalPage = (total + pageSize - 1)/pageSize;

 

相关文章: