From a252d42b62413cc7ea66867dd8bba365db2bbb24 Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Wed, 13 May 2026 16:38:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(ai-chat):=20=E6=B6=88=E9=99=A4=E9=94=AE?= =?UTF-8?q?=E7=9B=98=E5=BC=B9=E5=87=BA=E6=97=B6=E8=BE=93=E5=85=A5=E6=A1=86?= =?UTF-8?q?=E9=97=AA=E7=83=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 键盘垫高层不再使用 v-if 突然插入,改为始终存在(高度默认为0) - 添加 CSS transition: height 0.25s ease 平滑过渡动画 --- pages_tool/ai-chat/ai-chat-message.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pages_tool/ai-chat/ai-chat-message.vue b/pages_tool/ai-chat/ai-chat-message.vue index 207633e..55ae522 100644 --- a/pages_tool/ai-chat/ai-chat-message.vue +++ b/pages_tool/ai-chat/ai-chat-message.vue @@ -329,8 +329,8 @@ - - + + @@ -2895,6 +2895,12 @@ $radius-lg: 36rpx; } } + /* 键盘垫高层:高度变化时平滑过渡 */ + .keyboard-spacer { + flex-shrink: 0; + transition: height 0.25s ease; + } + /* 输入区域 */ .input-area { background: white; /* 白色 */