From b26fc58436ebd5f02d836576afe8f4bc1ee1c97f Mon Sep 17 00:00:00 2001 From: yml2213 Date: Wed, 15 Jul 2026 12:47:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=AE=BF=E5=AE=A2=E8=81=8A?= =?UTF-8?q?=E5=A4=A9=E7=AA=97=E5=8F=A3=EF=BC=9A=E5=B1=95=E7=A4=BA=E6=B6=88?= =?UTF-8?q?=E6=81=AF=E6=97=B6=E9=97=B4=E5=B9=B6=E7=A7=BB=E9=99=A4=E8=A3=85?= =?UTF-8?q?=E9=A5=B0=E8=93=9D=E6=9D=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 访客/客服气泡下方显示发送时间 - 去掉输入区顶部无用的蓝色渐变条 --- web/src/widgets/VisitorChat.tsx | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/web/src/widgets/VisitorChat.tsx b/web/src/widgets/VisitorChat.tsx index 28672a9..5ec5ae9 100644 --- a/web/src/widgets/VisitorChat.tsx +++ b/web/src/widgets/VisitorChat.tsx @@ -466,7 +466,7 @@ const VisitorChat = ({ {messages.map(msg => ( msg.sender === 'visitor' ? ( -
+
{msg.type === 'image' ? ( @@ -474,17 +474,25 @@ const VisitorChat = ({

{msg.content}

)}
+ {msg.time && ( + {msg.time} + )}
) : (
-
- {msg.type === 'image' ? ( - - ) : ( -

{msg.content}

+
+
+ {msg.type === 'image' ? ( + + ) : ( +

{msg.content}

+ )} +
+ {msg.time && ( + {msg.time} )}
@@ -509,11 +517,7 @@ const VisitorChat = ({
-