电话咨询

This commit is contained in:
duoaohui
2026-06-04 15:35:19 +08:00
parent e426357850
commit 495f0aae1b
2 changed files with 17 additions and 4 deletions

View File

@@ -274,8 +274,8 @@ const emitIf = (name) => {
.icon { .icon {
position: relative; position: relative;
width: 72rpx; width: 88rpx;
height: 72rpx; height: 88rpx;
border-radius: 50%; border-radius: 50%;
background: linear-gradient(180deg, rgba(71, 85, 105, 0.95), rgba(51, 65, 81, 0.95)); background: linear-gradient(180deg, rgba(71, 85, 105, 0.95), rgba(51, 65, 81, 0.95));
display: flex; display: flex;
@@ -373,8 +373,8 @@ const emitIf = (name) => {
display: flex; display: flex;
} }
.icon { .icon {
width: 64rpx; width: 80rpx;
height: 64rpx; height: 80rpx;
background: linear-gradient(180deg, rgba(71, 85, 105, 0.95), rgba(44, 56, 78, 0.96)); 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); box-shadow: inset 0 1rpx 0 rgba(255, 255, 255, 0.12), 0 6rpx 16rpx rgba(0, 0, 0, 0.36);
} }

View File

@@ -1004,6 +1004,19 @@ const minimizeToMiniProgram = () => {
stopCommandPolling() stopCommandPolling()
meetingStore.leave().catch(() => {}) meetingStore.leave().catch(() => {})
const mp = getMiniProgram() 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 { try {
if (mp && typeof mp.navigateBack === 'function') { if (mp && typeof mp.navigateBack === 'function') {
mp.navigateBack({ delta: 1 }) mp.navigateBack({ delta: 1 })