优化管理首页
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user