移動端的文本框獲取焦點時致使fixed或absolute定位失效解決

var windowHeight = $(window).height();
window.addEventListener('resize', function () {
    $(window).height() < windowHeight ? $('.wx_box').hide() : $('.wx_box').show();
});
相關文章
相關標籤/搜索