From 52fdf0bcab20d19504ac2893bead7075a0c9744f Mon Sep 17 00:00:00 2001 From: YunaiV Date: Fri, 1 May 2026 23:04:56 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(im):=20=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E5=8F=B3=E9=94=AE=E8=8F=9C=E5=8D=95=E4=BC=98=E5=8C=96=20+=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9B=BE=E7=89=87=E5=9C=BA=E6=99=AF=E6=BB=9A?= =?UTF-8?q?=E4=B8=8D=E5=88=B0=E5=BA=95=20-=20MessageItem=EF=BC=9A=E3=80=8C?= =?UTF-8?q?=E5=9B=9E=E5=A4=8D=E3=80=8D=E2=86=92=E3=80=8C=E5=BC=95=E7=94=A8?= =?UTF-8?q?=E3=80=8D=E5=B9=B6=E5=8A=A0=E5=9B=BE=E6=A0=87=EF=BC=9B=E6=92=A4?= =?UTF-8?q?=E5=9B=9E=20/=20=E5=88=A0=E9=99=A4=E4=BA=92=E6=96=A5=EF=BC=88?= =?UTF-8?q?=E8=87=AA=E5=B7=B1=E6=B6=88=E6=81=AF=202=20=E5=88=86=E9=92=9F?= =?UTF-8?q?=E5=86=85=E6=98=BE=E7=A4=BA=E6=92=A4=E5=9B=9E=EF=BC=8C=E8=B6=85?= =?UTF-8?q?=E5=87=BA=20/=20=E5=AF=B9=E6=96=B9=E6=B6=88=E6=81=AF=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E5=88=A0=E9=99=A4=EF=BC=89=EF=BC=8C=E5=9D=87=E5=8A=A0?= =?UTF-8?q?=E5=88=86=E5=89=B2=E7=BA=BF=20+=20=E7=BA=A2=E8=89=B2=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E5=AF=B9=E9=BD=90=E5=BE=AE=E4=BF=A1=EF=BC=9BMENU=5FKE?= =?UTF-8?q?YS=20=E6=8A=BD=20const=20=E9=98=B2=20typo=EF=BC=9B=E5=BC=95?= =?UTF-8?q?=E7=94=A8=E5=9D=97=E4=BB=8E=E6=B0=94=E6=B3=A1=E4=B8=8A=E6=96=B9?= =?UTF-8?q?=E7=A7=BB=E5=88=B0=E4=B8=8B=E6=96=B9=EF=BC=8CselfSend=20?= =?UTF-8?q?=E6=97=B6=E7=AB=96=E7=BA=BF=E9=95=9C=E5=83=8F=E5=88=B0=E5=8F=B3?= =?UTF-8?q?=E4=BE=A7=20-=20MessagePanel=EF=BC=9AscrollToBottom=20=E6=94=B9?= =?UTF-8?q?=20async=20+=20waitMediaSettled=20=E7=AD=89=E5=9B=BE=E7=89=87?= =?UTF-8?q?=20/=20=E8=A7=86=E9=A2=91=E5=85=83=E6=95=B0=E6=8D=AE=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=EF=BC=9B=E7=94=A8=20expectedScrollTop=20drift=20?= =?UTF-8?q?=E6=9B=BF=E4=BB=A3=20distanceFromBottom=EF=BC=8C=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E3=80=8C=E5=9B=BE=E7=89=87=E5=8A=A0=E8=BD=BD=E5=AE=8C?= =?UTF-8?q?=E5=BA=95=E9=83=A8=E4=B8=8A=E7=A7=BB=E3=80=81=E8=AF=AF=E5=88=A4?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=B7=B2=E6=BB=9A=E8=B5=B0=E3=80=8D=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E5=88=B0=E4=B8=8D=E4=BA=86=E5=BA=95=20-=20ReplyPrevie?= =?UTF-8?q?w=EF=BC=9A=E5=88=A0=E7=AD=89=E4=BB=B7=E7=9A=84=20filePayload=20?= =?UTF-8?q?/=20voicePayload=20alias=EF=BC=8C=E7=9B=B4=E6=8E=A5=E5=A4=8D?= =?UTF-8?q?=E7=94=A8=20parsedPayload=20-=20uiStore=EF=BC=9AContextMenuItem?= =?UTF-8?q?=20=E5=8A=A0=20icon=3F=20=E5=AD=97=E6=AE=B5=EF=BC=8C=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E8=8F=9C=E5=8D=95=E9=A1=B9=E5=89=8D=E7=BD=AE=E5=9B=BE?= =?UTF-8?q?=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/im/home/components/ContextMenu.vue | 6 +- .../components/message/MessageItem.vue | 2 +- .../components/message/MessagePanel.vue | 82 +++++++++++++++---- .../components/message/ReplyPreview.vue | 18 ++-- src/views/im/home/store/uiStore.ts | 1 + 5 files changed, 80 insertions(+), 29 deletions(-) diff --git a/src/views/im/home/components/ContextMenu.vue b/src/views/im/home/components/ContextMenu.vue index f6d639041..4cf412c64 100644 --- a/src/views/im/home/components/ContextMenu.vue +++ b/src/views/im/home/components/ContextMenu.vue @@ -22,7 +22,7 @@ class="my-1 mx-2 h-[1px] bg-[var(--el-border-color-lighter)]" >
- {{ item.name }} + + {{ item.name }}
@@ -42,6 +43,7 @@