diff --git a/exchange.html b/exchange.html index ebe2e70..5447e84 100644 --- a/exchange.html +++ b/exchange.html @@ -333,8 +333,9 @@ let ele = document.querySelector('.ipt-acc'); setTimeout(function () { ele.scrollIntoView(false); - document.body.scrollTop = document.body.scrollHeight; - document.documentElement.scrollTop = document.documentElement.scrollHeight; + // console.log(123,ele.scrollHeight); + document.body.scrollTop = ele.scrollHeight; + document.documentElement.scrollTop = ele.scrollHeight; }, 400); }, //关闭,关闭弹框