统一:所有图片后缀从 .GIF 改为 .gif
- headface 目录 371 个文件重命名为小写后缀 - 代码中所有 .GIF 引用改为 .gif(User.php/AuthController/channels.php/frame.blade/scripts.blade) - 新增迁移:将 users 表 usersf 列中的 .GIF 批量替换为 .gif - 解决 Linux 大小写敏感导致图片加载失败的问题
This commit is contained in:
@@ -387,7 +387,7 @@
|
||||
<div
|
||||
style="padding:10px 16px; background:#f0f6ff; border-bottom:1px solid #ddd; display:flex; align-items:center; gap:12px;">
|
||||
<span style="font-size:12px; color:#666;">当前选中:</span>
|
||||
<img id="avatar-preview" src="/images/headface/{{ $user->usersf ?: '1.GIF' }}"
|
||||
<img id="avatar-preview" src="/images/headface/{{ $user->usersf ?: '1.gif' }}"
|
||||
style="width:40px; height:40px; border:2px solid #336699; border-radius:4px;">
|
||||
<span id="avatar-selected-name"
|
||||
style="font-size:12px; color:#333;">{{ $user->usersf ?: '未设置' }}</span>
|
||||
@@ -540,7 +540,7 @@
|
||||
email: document.getElementById('set-email').value,
|
||||
question: document.getElementById('set-question').value,
|
||||
answer: document.getElementById('set-answer').value,
|
||||
headface: @json(Auth::user()->usersf ?: '1.GIF'),
|
||||
headface: @json(Auth::user()->usersf ?: '1.gif'),
|
||||
sign: @json(Auth::user()->sign ?? '')
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user