调试商品详情页虚拟键盘弹出
This commit is contained in:
parent
a43a4d0d78
commit
fd39f90451
|
@ -333,8 +333,9 @@
|
||||||
let ele = document.querySelector('.ipt-acc');
|
let ele = document.querySelector('.ipt-acc');
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
ele.scrollIntoView(false);
|
ele.scrollIntoView(false);
|
||||||
document.body.scrollTop = document.body.scrollHeight;
|
// console.log(123,ele.scrollHeight);
|
||||||
document.documentElement.scrollTop = document.documentElement.scrollHeight;
|
document.body.scrollTop = ele.scrollHeight;
|
||||||
|
document.documentElement.scrollTop = ele.scrollHeight;
|
||||||
}, 400);
|
}, 400);
|
||||||
},
|
},
|
||||||
//关闭,关闭弹框
|
//关闭,关闭弹框
|
||||||
|
|
Loading…
Reference in New Issue