From f37530fa0efa5e094dda3155795690998e568cf4 Mon Sep 17 00:00:00 2001 From: lkddi Date: Fri, 27 Feb 2026 16:33:40 +0800 Subject: [PATCH] =?UTF-8?q?UI=EF=BC=9A=E8=81=8A=E5=A4=A9=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E7=A1=AC=E7=BC=96=E7=A0=81=20font-size?= =?UTF-8?q?=EF=BC=8C=E7=BB=9F=E4=B8=80=E7=BB=A7=E6=89=BF=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E7=9A=84=E5=AD=97=E4=BD=93=E5=A4=A7=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/chat/partials/scripts.blade.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/views/chat/partials/scripts.blade.php b/resources/views/chat/partials/scripts.blade.php index 6fc332d..e5aa196 100644 --- a/resources/views/chat/partials/scripts.blade.php +++ b/resources/views/chat/partials/scripts.blade.php @@ -313,18 +313,18 @@ div.style.cssText = 'background: linear-gradient(135deg, #fef2f2, #fff1f2); border: 2px solid #ef4444; border-radius: 6px; padding: 8px 12px; margin: 4px 0; box-shadow: 0 2px 4px rgba(239,68,68,0.15);'; html = - `
${msg.content} (${timeStr})
`; + `
${msg.content} (${timeStr})
`; timeStrOverride = true; } else if (msg.from_user === '系统传音') { - // 自动升级播报:金色左边框,轻量提示样式,不喧宾夺主 + // 自动升级播报 / 赠礼通知:金色左边框,轻量提示样式,不喧宾夺主 div.style.cssText = 'background: #fffbeb; border-left: 3px solid #d97706; border-radius: 4px; padding: 4px 10px; margin: 2px 0;'; html = - `🌟 ${msg.content}`; + `🌟 ${msg.content}`; } else if (msg.from_user === '系统' && msg.to_user && msg.to_user !== '大家') { // 系统私人通知(自动存点等):无头像,绿色左边框简洁条形样式 div.style.cssText = - 'background:#f0fdf4;border-left:3px solid #16a34a;border-radius:4px;padding:3px 8px;margin:2px 0;font-size:12px;'; + 'background:#f0fdf4;border-left:3px solid #16a34a;border-radius:4px;padding:3px 8px;margin:2px 0;'; html = `📢 系统:${msg.content}`; } else {