Feat: 登录页添加推荐使用Edge/Chrome浏览器的提示,说明旧版浏览器不支持WebSocket

This commit is contained in:
2026-02-27 14:54:34 +08:00
parent 094181b826
commit 0e376ec1f1

View File

@@ -372,6 +372,23 @@
</div>
@endif
</div>
{{-- 推荐浏览器提示 --}}
<div
style="margin-top: 14px; padding: 7px 10px; background: #fffbea; border: 1px solid #f0d060; border-radius: 4px; font-size: 11px; color: #7a5f00; text-align: center; line-height: 1.7;">
🌐 <b>推荐使用</b>
<a href="https://www.microsoft.com/zh-cn/edge/download" target="_blank"
style="color: #1565c0; font-weight: bold; text-decoration: none;" title="下载 Microsoft Edge">
Microsoft Edge
</a>
<a href="https://www.google.com/chrome/" target="_blank"
style="color: #e53935; font-weight: bold; text-decoration: none;" title="下载 Google Chrome">
Google Chrome
</a>
浏览器,以获得最佳聊天体验<br>
<span style="color: #999; font-size: 10px;">IE / 旧版浏览器不支持 WebSocket将无法正常使用</span>
</div>
</div>
{{-- 右侧:房间列表 --}}