count()) ->description('总浏览量 '.number_format(Post::sum('views'))) ->icon('heroicon-o-document-text'), Stat::make('评论', Comment::query()->where('status', 'published')->count()) ->description('待审核 '.Comment::query()->where('status', 'pending')->count()) ->icon('heroicon-o-chat-bubble-left-right'), Stat::make('用户', User::count()) ->icon('heroicon-o-users'), ]; } }