refactor(frontend): 移除对话控制面板及相关功能代码
移除不再需要的对话控制面板HTML结构、CSS样式和JavaScript功能代码
This commit is contained in:
@@ -22,9 +22,6 @@
|
||||
<button id="toggleConfigBtn" class="toolbar-btn" title="连接配置">
|
||||
⚙️
|
||||
</button>
|
||||
<button id="toggleControlBtn" class="toolbar-btn" title="对话控制">
|
||||
🎮
|
||||
</button>
|
||||
<button id="toggleLogBtn" class="toolbar-btn" title="事件日志">
|
||||
📜
|
||||
</button>
|
||||
@@ -71,61 +68,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 浮动面板:对话控制 -->
|
||||
<div id="controlPanel" class="floating-panel control-panel">
|
||||
<div class="panel-header">
|
||||
<h2>🎮 对话控制</h2>
|
||||
<button class="panel-close" data-panel="controlPanel">×</button>
|
||||
</div>
|
||||
<div class="panel-content">
|
||||
<div class="control-group">
|
||||
<h3>对话控制</h3>
|
||||
<div class="button-row">
|
||||
<button id="startChatBtn" class="btn btn-success" disabled>
|
||||
<span class="icon">▶️</span> 开始对话
|
||||
</button>
|
||||
<button id="stopChatBtn" class="btn btn-warning" disabled>
|
||||
<span class="icon">⏹️</span> 停止对话
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<h3>语音交互</h3>
|
||||
<div class="button-row">
|
||||
<button id="startSpeakBtn" class="btn btn-info" disabled>
|
||||
<span class="icon">🎤</span> 开始说话
|
||||
</button>
|
||||
<button id="stopSpeakBtn" class="btn btn-secondary" disabled>
|
||||
<span class="icon">🛑</span> 停止说话
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<h3>文本交互</h3>
|
||||
<div class="text-input-row">
|
||||
<input type="text" id="textInput" placeholder="输入文本消息..." disabled>
|
||||
<button id="sendTextBtn" class="btn btn-primary" disabled>
|
||||
<span class="icon">📤</span> 发送
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<h3>其他控制</h3>
|
||||
<div class="button-row">
|
||||
<button id="interruptBtn" class="btn btn-warning" disabled>
|
||||
<span class="icon">⚡</span> 打断说话
|
||||
</button>
|
||||
<button id="toggleAudioBtn" class="btn btn-secondary" disabled>
|
||||
<span class="icon">🔊</span> 静音
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 浮动面板:事件日志 -->
|
||||
<div id="logPanel" class="floating-panel log-panel">
|
||||
<div class="panel-header">
|
||||
|
||||
Reference in New Issue
Block a user