- var client_h = document.documentElement.clientHeight;
- $(window).on("resize",function(){
- var body_h = document.body.scrollHeight;
- if(body_h < client_h){
- $(".operate").removeClass("fixed");
- console.log("小了");
- }else{
- console.log("正常");
- $(".operate").addClass("fixed");
- }
- });
移动端安卓定位随键盘浮起
最新推荐文章于 2022-07-19 15:17:27 发布
1万+

被折叠的 条评论
为什么被折叠?



