From 495f0aae1bf028f01bd66815cf4ef16e71d3f03d Mon Sep 17 00:00:00 2001 From: duoaohui <928970622@qq.com> Date: Thu, 4 Jun 2026 15:35:19 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B5=E8=AF=9D=E5=92=A8=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/meeting/MeetingToolbar.vue | 8 ++++---- frontend/src/pages/cloud-law/video-call.vue | 13 +++++++++++++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/frontend/src/components/meeting/MeetingToolbar.vue b/frontend/src/components/meeting/MeetingToolbar.vue index 151879d..9540b7c 100644 --- a/frontend/src/components/meeting/MeetingToolbar.vue +++ b/frontend/src/components/meeting/MeetingToolbar.vue @@ -274,8 +274,8 @@ const emitIf = (name) => { .icon { position: relative; - width: 72rpx; - height: 72rpx; + width: 88rpx; + height: 88rpx; border-radius: 50%; background: linear-gradient(180deg, rgba(71, 85, 105, 0.95), rgba(51, 65, 81, 0.95)); display: flex; @@ -373,8 +373,8 @@ const emitIf = (name) => { display: flex; } .icon { - width: 64rpx; - height: 64rpx; + width: 80rpx; + height: 80rpx; background: linear-gradient(180deg, rgba(71, 85, 105, 0.95), rgba(44, 56, 78, 0.96)); box-shadow: inset 0 1rpx 0 rgba(255, 255, 255, 0.12), 0 6rpx 16rpx rgba(0, 0, 0, 0.36); } diff --git a/frontend/src/pages/cloud-law/video-call.vue b/frontend/src/pages/cloud-law/video-call.vue index d12661f..bb81ebc 100644 --- a/frontend/src/pages/cloud-law/video-call.vue +++ b/frontend/src/pages/cloud-law/video-call.vue @@ -1004,6 +1004,19 @@ const minimizeToMiniProgram = () => { stopCommandPolling() meetingStore.leave().catch(() => {}) const mp = getMiniProgram() + try { + if (mp && typeof mp.postMessage === 'function') { + mp.postMessage({ + data: { + type: 'cloudLawMinimized', + action: 'cloudLawMinimized', + callId: callId.value + } + }) + } + } catch (e) { + console.warn('[CloudLawVideoCall] minimize postMessage failed', e) + } try { if (mp && typeof mp.navigateBack === 'function') { mp.navigateBack({ delta: 1 })