From 8fbe24ebe296f12de8224d3445c4c9798d19dfa0 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 10 Feb 2026 14:15:08 +0800
Subject: [PATCH] feat:修改默认

---
 applications/mobile-web-view/src/appPages/voiceCallDetail/index.vue |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/applications/mobile-web-view/src/appPages/voiceCallDetail/index.vue b/applications/mobile-web-view/src/appPages/voiceCallDetail/index.vue
index d918e96..cf9c835 100644
--- a/applications/mobile-web-view/src/appPages/voiceCallDetail/index.vue
+++ b/applications/mobile-web-view/src/appPages/voiceCallDetail/index.vue
@@ -69,6 +69,9 @@
 				state.value = 'ringing';
 				log('📞 收到来电 call,来自', incomingFrom);
 
+				// 开始来电提示(铃声和震动)
+				playRingtone();
+				startVibration();
 			}
 		} catch (e) {
 			log('❌ 解析voiceparams参数失败:', String(e));
@@ -102,11 +105,11 @@
 	if (userId) {
 		return userId
 	}
-	return '3' // 默认值
+	return '8' // 默认值
 }
 
-const uid = ref('3')
-const peerUid = ref('2')
+const uid = ref('8')
+const peerUid = ref('7')
 // 联系人名称
 const contactName = ref('张三')
 
@@ -494,7 +497,9 @@
 	} catch {}
 
 	stopTimer()
-
+	// 停止来电提示
+	stopRingtone()
+	stopVibration()
 	if (pc) {
 		pc.getSenders().forEach(s => s.track && s.track.stop())
 		pc.close()

--
Gitblit v1.9.3