判断第几页的公式

count//总共的数量

maxCount//每页放的最大个数

当前页数:(count + maxCount - 1)/maxCount

这个公式很好用

原文地址:https://www.cnblogs.com/yintingting/p/4565677.html