实现代码 var total=15; var item=4; var page=total%item==0?(total/item):(Math.floor(total/item)+1); console.log(page) 相关文章: 2022-02-10 2021-10-24 2022-12-23 2021-07-20 2021-08-02 2022-12-23 2021-11-05 2022-12-23