From 7a44ed3265e418baa6d53ed5d19bf197056d8c38 Mon Sep 17 00:00:00 2001 From: linxi <957440651@qq.com> Date: Sat, 22 Nov 2025 16:24:49 +0800 Subject: [PATCH] =?UTF-8?q?Fix:4004=20=E3=80=90=E5=95=86=E5=9F=8E=E5=B0=8F?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E3=80=91=E5=9C=A8=E4=BA=92=E5=8A=A8=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E5=88=97=E8=A1=A8=E5=9B=9E=E5=A4=8D=E8=B5=84=E8=AE=AF?= =?UTF-8?q?=E8=AF=84=E8=AE=BA=EF=BC=8C=E5=86=85=E5=AE=B9=E8=A2=AB=E9=A1=B6?= =?UTF-8?q?=E8=87=B3=E5=B1=8F=E5=B9=95=E4=B9=8B=E5=A4=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg_common/views/message.vue | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/pkg_common/views/message.vue b/pkg_common/views/message.vue index b092519..366bf97 100644 --- a/pkg_common/views/message.vue +++ b/pkg_common/views/message.vue @@ -71,10 +71,11 @@ - + { + if (res.height) { + this.onKeyboardShow(res.height) + } else { + this.onKeyboardHide() + } + }) + }, onShow() { this.fetchList() }, methods: { + + onKeyboardShow(height) { + this.inputBoxBottom = height + }, + onKeyboardHide() { + // 处理键盘收起逻辑 + this.inputBoxBottom = 0 + }, toInfo(comment) { if(!comment.contentAvailable) { // 该内容已删除