//适配android上absolute和input的问题var oHeight = $(document).height(); //屏幕当前的高度$(window).resize(function() {
if($(document).height() < oHeight -100) {
$(".bottombox").css("display", "none");
} else {
$(".bottombox").css("display", "block");
}
});
//适配iOS上absolute和input的问题
触发焦点和失去焦点的时候调用一下方法
function textareadiscus(){
$(".bottombox").css("display", "block");
}
function textfoucs(){
$(".bottombox").css("display", "none");
}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
  • 2021-11-16
猜你喜欢
  • 2022-01-19
  • 2021-10-07
  • 2022-12-23
  • 2022-12-23
  • 2021-04-21
  • 2021-10-10
相关资源
相似解决方案