这里确认按钮是fixed布局 bottom:0 弹出键盘之后按钮被顶到了键盘上面
一、显示隐藏处理
监听页面高度
data() {
return {
docmHeight: document.documentElement.clientHeight ||document.body.clientHeight,
showHeight: document.documentElement.clientHeight ||document.body.clientHeight,
hideshow:true //显示或者隐藏footer
}
},
mounted() {
//监听事件
window.onresize = ()=>{
return