//浏览器当前的高度
var oHeight = $(document).height();
$(window).resize(function(){
if( $(document).height() < oHeight){
$("#footer").css(“position”,“static”);
}else{
$("#footer").css(“position”,“absolute”);
}
});
手机端底部输入框被键盘挡住的问题
最新推荐文章于 2025-06-15 16:00:52 发布