mirror of
https://github.com/Cola-Echo/Cola.git
synced 2026-06-06 03:35:50 +00:00
Add files via upload
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user