摘要: 原理:通过监听window窗口的高度变化,来控制显示和隐藏按钮 注意:如果是点击键盘上的收起,可以监听到,但是如果是因为input失去焦点,则不会监听到窗口变化,所以我们需要同时判断input失去焦点 html <input type="text" class="input" @blur="focu 阅读全文
posted @ 2020-04-10 12:04 LIULIULIU666 阅读(1301) 评论(0) 推荐(1) 编辑