refactor: 仅彻底移除废弃的聊天室表情图片贴图,保留酷库动作功能
This commit is contained in:
@@ -18,7 +18,24 @@
|
||||
说:
|
||||
</label>
|
||||
|
||||
|
||||
<label>动作:
|
||||
<select id="action" name="action">
|
||||
<option value="">无</option>
|
||||
<option value="微笑">微笑</option>
|
||||
<option value="大笑">大笑</option>
|
||||
<option value="愤怒">愤怒</option>
|
||||
<option value="哭泣">哭泣</option>
|
||||
<option value="害羞">害羞</option>
|
||||
<option value="鄙视">鄙视</option>
|
||||
<option value="得意">得意</option>
|
||||
<option value="疑惑">疑惑</option>
|
||||
<option value="同情">同情</option>
|
||||
<option value="无奈">无奈</option>
|
||||
<option value="拳打">拳打</option>
|
||||
<option value="飞吻">飞吻</option>
|
||||
<option value="偷看">偷看</option>
|
||||
</select>
|
||||
</label>
|
||||
|
||||
<label>字色:
|
||||
<input type="color" id="font_color" name="font_color" value="{{ $user->s_color ?? '#000000' }}"
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
<div class="right-tabs">
|
||||
<button class="tab-btn active" id="tab-users" onclick="switchTab('users')">名单</button>
|
||||
<button class="tab-btn" id="tab-rooms" onclick="switchTab('rooms')">房间</button>
|
||||
<button class="tab-btn" id="tab-action" onclick="switchTab('action')">酷库</button>
|
||||
</div>
|
||||
|
||||
{{-- 用户列表面板 --}}
|
||||
@@ -68,6 +69,16 @@
|
||||
|
||||
|
||||
|
||||
{{-- 酷库面板 --}}
|
||||
<div class="user-list-content" id="panel-action" style="display: none; padding: 6px;">
|
||||
<div style="font-size: 11px; color: #666; line-height: 2;">
|
||||
@foreach (['微笑', '大笑', '愤怒', '哭泣', '害羞', '鄙视', '得意', '疑惑', '同情', '无奈', '拳打', '飞吻', '偷看', '战战兢兢'] as $act)
|
||||
<a href="#" onclick="setAction('{{ $act }}'); return false;"
|
||||
style="display: inline-block; padding: 2px 6px; background: #f0f6ff; border: 1px solid #dde8ff; border-radius: 3px; margin: 1px; color: #336699; font-size: 11px;">{{ $act }}</a>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{-- 底部在线统计 --}}
|
||||
<div class="online-stats">
|
||||
在线: <strong id="online-count-footer">0</strong> 人
|
||||
|
||||
@@ -127,6 +127,13 @@
|
||||
|
||||
|
||||
|
||||
// ── 动作选择 ──────────────────────────────────────
|
||||
function setAction(act) {
|
||||
document.getElementById('action').value = act;
|
||||
switchTab('users');
|
||||
document.getElementById('content').focus();
|
||||
}
|
||||
|
||||
// ── 自动滚屏 ──────────────────────────────────────
|
||||
const autoScrollEl = document.getElementById('auto_scroll');
|
||||
if (autoScrollEl) {
|
||||
|
||||
Reference in New Issue
Block a user