Add files via upload

This commit is contained in:
Cola-Echo
2025-12-31 04:04:45 +08:00
committed by GitHub
parent 713f2211d2
commit fa1b9c111b
14 changed files with 3800 additions and 60 deletions

View File

@@ -106,6 +106,11 @@ function showCallPage() {
if (chatEl) {
chatEl.classList.add('hidden');
}
// 隐藏输入框
const inputAreaEl = document.getElementById('wechat-voice-call-input-area');
if (inputAreaEl) {
inputAreaEl.classList.add('hidden');
}
const messagesEl = document.getElementById('wechat-voice-call-messages');
if (messagesEl) {
messagesEl.innerHTML = '';
@@ -243,6 +248,11 @@ function onCallConnected() {
if (chatEl) {
chatEl.classList.remove('hidden');
}
// 显示输入框
const inputAreaEl = document.getElementById('wechat-voice-call-input-area');
if (inputAreaEl) {
inputAreaEl.classList.remove('hidden');
}
// 切换到通话中按钮(隐藏来电按钮,显示通话控制按钮)
const incomingActionsEl = document.getElementById('wechat-voice-call-incoming-actions');