摘要: var all=15; var item=2; var pages=all%item==0?(all/item):(Math.floor(all/item)+1); console.log(pages) 阅读全文
posted @ 2018-06-04 14:01 宋宇 阅读(1144) 评论(0) 推荐(1) 编辑