From 5d222bdf48e8ccd06ae5e0598628ad9d81d776c3 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 17 May 2026 17:37:37 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(im):=20=E9=80=9A=E8=AF=9D?= =?UTF-8?q?=E7=AA=97=E6=89=AC=E5=A3=B0=E5=99=A8=E5=BC=80=E5=85=B3=20+=20?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E5=85=B3=E9=97=AD=E6=80=81=E7=BB=9F=E4=B8=80?= =?UTF-8?q?=E6=B7=B1=E8=89=B2=E6=A0=B7=E5=BC=8F=20+=20=E7=BE=A4=E9=80=9A?= =?UTF-8?q?=E8=AF=9D=E6=94=AF=E6=8C=81=E5=88=B7=E6=96=B0=E5=90=8E=E9=87=8D?= =?UTF-8?q?=E6=96=B0=E5=8A=A0=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - useLiveKitRoom 增加 speakerEnabled 状态 + setSpeakerEnabled;audio 元素 :muted 联动,实现扬声器实际开关 - mic / speaker / camera / 屏幕共享 4 个按钮关闭态统一 bg-white/15 深色(之前一直 bg-white 像「开」) - speaker / camera / 屏幕共享 关闭态 icon 借用 tabler:volume-off / video-off / device-laptop-off 显斜线(ant-design 缺 muted 变体) - RtcGroupCallBanner 修复刷新后无法重新加入:按钮文案改为「已在通话中 / 重新加入 / 加入」三态;按钮文字色锁定深色防暗色主题不可见 - RtcCallIncoming 对齐微信样式:右上角小条 + 横排(头像 / 名 / 按钮);群聊带「通话成员」头像行 - RtcCallRunning UnoCSS 重写 + 接收 isGroup prop(去 conversationType 派生) - RtcCallParticipantTile UnoCSS 重写 + speakerEnabled 透传静音 - 注释 / UI 文案半角省略号 → 全角……;watcher 参数 hidden → suppressTick --- .../home/components/rtc/RtcCallIncoming.vue | 43 ++++++++++--------- .../home/components/rtc/RtcCallInviting.vue | 30 +++++++------ .../im/home/components/rtc/RtcCallRunning.vue | 19 ++++---- .../components/rtc/RtcGroupCallBanner.vue | 42 +++++++++++++----- .../im/home/composables/useLiveKitRoom.ts | 14 +++++- 5 files changed, 94 insertions(+), 54 deletions(-) diff --git a/src/views/im/home/components/rtc/RtcCallIncoming.vue b/src/views/im/home/components/rtc/RtcCallIncoming.vue index 24ea80476..1154adaa7 100644 --- a/src/views/im/home/components/rtc/RtcCallIncoming.vue +++ b/src/views/im/home/components/rtc/RtcCallIncoming.vue @@ -18,32 +18,33 @@ class="self-start" /> - +
- + +
+ {{ payload?.inviterNickname || '对方' }} + {{ tipText }} +
+ + +
diff --git a/src/views/im/home/components/rtc/RtcCallInviting.vue b/src/views/im/home/components/rtc/RtcCallInviting.vue index be9ce6b4d..9e94f9588 100644 --- a/src/views/im/home/components/rtc/RtcCallInviting.vue +++ b/src/views/im/home/components/rtc/RtcCallInviting.vue @@ -1,7 +1,7 @@