问题:苹果手机网页弹窗中input失去焦点的时候造成页面上移
解决:
<input type="text" class="userNameInput" v-model="username" placeholder="请输入账号或手机号" @blur="coverScroll">
<input type="password" class="passInput" v-model="password" placeholder="请输入密码" @blur="coverScroll">
//苹果手机获取焦点时屏幕上移
coverScroll(){
window.scroll(0, 0);
},
二手闲置小程序 免费信息发布系统功能源码(小程序+php后台管理)
https://blog.csdn.net/MPQ1314/article/details/87162363
电商商城小程序 小程序+php后台管理系统功能源码