From caf4742dd8a87d8a95b07a39d32d4e1c630bbf8b Mon Sep 17 00:00:00 2001 From: lkddi Date: Thu, 2 Apr 2026 17:01:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E7=A7=BB=E9=99=A4?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E5=AF=B9=20headface=20=E5=B1=9E=E6=80=A7?= =?UTF-8?q?=E7=9A=84=E5=BC=BA=E5=88=B6=E5=B0=8F=E5=86=99=E8=BD=AC=E6=8D=A2?= =?UTF-8?q?=EF=BC=8C=E9=81=BF=E5=85=8D=E8=87=AA=E5=AE=9A=E4=B9=89=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0=E5=A4=B4=E5=83=8F=EF=BC=88=E5=B8=A6=E6=9C=89=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F=E5=86=99=E5=AD=97=E7=AC=A6=EF=BC=89=E5=87=BA=E7=8E=B0?= =?UTF-8?q?404=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/chat/partials/scripts.blade.php | 4 ++-- resources/views/chat/partials/user-actions.blade.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/chat/partials/scripts.blade.php b/resources/views/chat/partials/scripts.blade.php index 78e3c28..f9936dc 100644 --- a/resources/views/chat/partials/scripts.blade.php +++ b/resources/views/chat/partials/scripts.blade.php @@ -284,7 +284,7 @@ item.className = 'user-item'; item.dataset.username = username; - const headface = (user.headface || '1.gif').toLowerCase(); + const headface = (user.headface || '1.gif'); const headImgSrc = headface.startsWith('storage/') ? '/' + headface : '/images/headface/' + headface; @@ -516,7 +516,7 @@ // 普通用户(包括 AI小班长)用数据库头像,播报类用特殊喇叭图标 const senderInfo = onlineUsers[msg.from_user]; - const senderHead = ((senderInfo && senderInfo.headface) || '1.gif').toLowerCase(); + const senderHead = ((senderInfo && senderInfo.headface) || '1.gif'); let headImgSrc = senderHead.startsWith('storage/') ? '/' + senderHead : `/images/headface/${senderHead}`; if (msg.from_user.endsWith('播报') || msg.from_user === '星海小博士' || msg.from_user === '系统传音' || msg.from_user === '系统公告') { headImgSrc = '/images/bugle.png'; diff --git a/resources/views/chat/partials/user-actions.blade.php b/resources/views/chat/partials/user-actions.blade.php index f4b7a1b..b11b370 100644 --- a/resources/views/chat/partials/user-actions.blade.php +++ b/resources/views/chat/partials/user-actions.blade.php @@ -604,7 +604,7 @@