优化按钮
This commit is contained in:
@@ -108,7 +108,7 @@ $welcomeMessages = [
|
||||
<input type="file" id="chat_image" name="image" accept="image/jpeg,image/png,image/gif,image/webp" style="display:none;"
|
||||
onchange="handleChatImageSelected(this)">
|
||||
<button type="button" onclick="document.getElementById('chat_image')?.click()"
|
||||
style="font-size: 11px; padding: 3px 8px; background: #0f766e; color: #fff; border: none; border-radius: 3px; cursor: pointer;">
|
||||
style="font-size: 11px; padding: 1px 6px; background: #0f766e; color: #fff; border: none; border-radius: 2px; cursor: pointer;">
|
||||
📷 图片
|
||||
</button>
|
||||
|
||||
@@ -125,9 +125,9 @@ $welcomeMessages = [
|
||||
<div id="admin-menu"
|
||||
style="display:none;position:absolute;bottom:calc(100% + 6px);left:0;z-index:10020;min-width:244px;max-width:min(80vw,288px);max-height:min(62vh,460px);overflow-y:auto;padding:10px;background:#fffaf0;border:1px solid #fdba74;border-radius:10px;box-shadow:0 10px 24px rgba(15,23,42,.18);">
|
||||
@if (
|
||||
$user->user_level >= (int) \App\Models\Sysparam::getValue('level_announcement', '10') ||
|
||||
$room->master == $user->username
|
||||
)
|
||||
$user->user_level >= (int) \App\Models\Sysparam::getValue('level_announcement', '10') ||
|
||||
$room->master == $user->username
|
||||
)
|
||||
<div style="font-size:10px;color:#9a3412;padding:0 2px 6px;">房间管理</div>
|
||||
<div style="display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;">
|
||||
<button type="button" onclick="runAdminAction('announcement')"
|
||||
|
||||
Reference in New Issue
Block a user