优化管理首页

This commit is contained in:
2026-04-14 21:09:37 +08:00
parent 426d01d99b
commit 762caac938
3 changed files with 90 additions and 0 deletions
@@ -13,6 +13,12 @@
<h3 class="text-gray-500 text-sm font-medium mb-1">总计聊天频道数</h3>
<p class="text-3xl font-bold text-gray-800">{{ $stats['total_rooms'] }}</p>
</div>
<div class="bg-white rounded-xl shadow-sm p-6 border border-gray-100">
<h3 class="text-gray-500 text-sm font-medium mb-1">当前在线人数</h3>
<p class="text-3xl font-bold text-emerald-600">{{ $stats['online_users'] }}</p>
<p class="mt-2 text-xs text-gray-400"> Redis 在线心跳实时去重统计</p>
</div>
</div>
<div class="bg-white rounded-xl shadow-sm border border-gray-100 overflow-hidden">