摘要: 1. offset fetch next 方式 offset 0 表示跳过 0 行,类似 C# .Skip() 函数; next 10 row noly 表示获取10行数据,类似 C# .Take() 函数; 这种方式分页必须先排序,没有排序运行时直接报错 select * from Goods o 阅读全文
posted @ 2021-11-16 17:18 浩叔 阅读(644) 评论(0) 推荐(0) 编辑
摘要: 获取窗口/对象宽高的方法 //取的是屏幕的宽高,单位是是css像素。 screen.width/heihgt //取的是网页区域的宽高(浏览器高度),单位是css像素。 window.innerWidth/innerHeight //页面向上滚动的高度 document.documentElemen 阅读全文
posted @ 2021-11-16 16:45 浩叔 阅读(44) 评论(0) 推荐(0) 编辑