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 @@ + + + + + + + + + + + {{ payload?.inviterNickname || '对方' }} + {{ tipText }} + + + 通话成员 + + + + + + + {{ payload?.inviterNickname || '对方' }} + {{ tipText }} + + + + + + + + + + + + + + + + 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 @@ + + + + + + + + + {{ peerNickname || '对方' }} + 等待对方接受邀请... + + + + + + + + + + + {{ micEnabled ? '麦克风已开' : '麦克风已关' }} + + + + + + + 取消 + + + + + + + {{ cameraEnabled ? '摄像头已开' : '摄像头已关' }} + + + + + + + 扬声器已开 + + + + + + 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