Fork me on GitHub

软键盘遮挡问题

方法一: 

//软键盘挡住问题 $(window).resize(function(){ if($(window).height()<400){ $("#bottom_footer").hide(); $(".native-scroll-bottom").css("margin-bottom",0) }else{ $("#bottom_footer").show(); $(".native-scroll-bottom").css("margin-bottom","3rem") } })
方法二:
https://blog.csdn.net/qq_33769914/article/details/78062685

 

posted @ 2018-10-05 10:08  森海轮回  阅读(115)  评论(0编辑  收藏  举报