From cfb82e2c3821b9835e9ccbb9d4aec3eef4d3d3c6 Mon Sep 17 00:00:00 2001 From: taoshihan1991 <630892807@qq.com> Date: Sat, 20 Feb 2021 10:39:35 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=A1=86=E9=81=AE=E6=8C=A1?= =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/html/chat_page.html | 2 +- static/js/chat-page.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/static/html/chat_page.html b/static/html/chat_page.html index 23fa1e9..fc2f7ac 100644 --- a/static/html/chat_page.html +++ b/static/html/chat_page.html @@ -76,5 +76,5 @@ var LANG=checkLang(); - + diff --git a/static/js/chat-page.js b/static/js/chat-page.js index 3ed6551..40291e3 100644 --- a/static/js/chat-page.js +++ b/static/js/chat-page.js @@ -318,7 +318,8 @@ new Vue({ $(window).resize(function(){ var docheight = $(window).height(); /*唤起键盘时当前窗口高度*/ console.log(docheight,windheight); - _this.scrollBottom(); + //_this.scrollBottom(); + $('body').scrollTop(99999999); // if(docheight < windheight){ /*当唤起键盘高度小于未唤起键盘高度时执行*/ // $(".chatBoxSend").css("position","static"); // }else{