From 68922ebf02a51f42787682b1372c504bc91bad81 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 17 May 2026 10:36:01 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(im):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E7=BE=A4=E9=82=80=E8=AF=B7=E7=9A=84=20incoming=E3=80=81invitin?= =?UTF-8?q?g=20=E7=9A=84=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../home/components/rtc/RtcCallIncoming.vue | 115 +++++++++++++++++ .../home/components/rtc/RtcCallInviting.vue | 122 ++++++++++++++++++ src/views/im/home/store/rtcStore.ts | 2 + 3 files changed, 239 insertions(+) create mode 100644 src/views/im/home/components/rtc/RtcCallIncoming.vue create mode 100644 src/views/im/home/components/rtc/RtcCallInviting.vue diff --git a/src/views/im/home/components/rtc/RtcCallIncoming.vue b/src/views/im/home/components/rtc/RtcCallIncoming.vue new file mode 100644 index 000000000..24ea80476 --- /dev/null +++ b/src/views/im/home/components/rtc/RtcCallIncoming.vue @@ -0,0 +1,115 @@ + + + diff --git a/src/views/im/home/components/rtc/RtcCallInviting.vue b/src/views/im/home/components/rtc/RtcCallInviting.vue new file mode 100644 index 000000000..be9ce6b4d --- /dev/null +++ b/src/views/im/home/components/rtc/RtcCallInviting.vue @@ -0,0 +1,122 @@ + + + diff --git a/src/views/im/home/store/rtcStore.ts b/src/views/im/home/store/rtcStore.ts index f4141b045..b7e679b27 100644 --- a/src/views/im/home/store/rtcStore.ts +++ b/src/views/im/home/store/rtcStore.ts @@ -27,6 +27,8 @@ export interface ImRtcCallNotification { inviterUserId?: number inviterNickname?: string inviterAvatar?: string + // INVITE 专属:本次被邀请人列表;包含收件人自身,前端来电小条按需过滤展示「邀请的其他人」 + inviteeIds?: number[] // REJECT 专属:操作者展示信息(其它子类型走 RTC_CALL_END) operatorUserId?: number operatorNickname?: string