From 6ad8eb32bf51720a875591b8f130dca199a4a124 Mon Sep 17 00:00:00 2001 From: shuixiang Date: Fri, 10 Sep 2021 14:34:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=9E=E9=94=99=E5=86=8D=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/admin/pages/index.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/admin/pages/index.blade.php b/resources/views/admin/pages/index.blade.php index 02b0d91..31d2f6a 100644 --- a/resources/views/admin/pages/index.blade.php +++ b/resources/views/admin/pages/index.blade.php @@ -192,7 +192,7 @@ let offsetTop = $('.msg-list-item.active').position().top $(".msg-list").animate({ scrollTop: offsetTop - 20}, 1) - $(".msg-chat-list").animate({ scrollTop: $(".msg-chat-list")[0].scrollHeight - $('.msg-chat-list').height() + 100 }, 1) + $(".msg-chat-list").animate({ scrollTop: $(".msg-chat-list")[0].scrollHeight - $('.msg-chat-list').height() - 200 }, 1) $('.msg-image').on('click', function (e) { $('.image').click();