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