feat: 添加遮罩筛选

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-25 13:02:05 +08:00
co-authored by Copilot
parent d1c5b818d9
commit d82872ad18
7 changed files with 109 additions and 6 deletions
@@ -141,9 +141,6 @@ export default function ScreenTimeTab({ hostname }: ScreenTimeTabProps) {
<h2 className="mt-2 text-2xl font-semibold text-gray-900 dark:text-white">
{periodLabel}
</h2>
<p className="mt-1 text-sm text-gray-500 dark:text-gray-400">
切换日期时会自动取消上一条请求,图表与排行保持同步刷新。
</p>
</div>
<div className="flex flex-col gap-3 sm:flex-row sm:items-center">
@@ -296,6 +293,10 @@ export default function ScreenTimeTab({ hostname }: ScreenTimeTabProps) {
<span>{app.percentage}%</span>
</div>
<div className="mt-2 truncate text-xs text-gray-500 dark:text-gray-400" title={app.processPath || '路径未知'}>
路径: {app.processPath || '路径未知'}
</div>
<div className="mt-3 h-2 overflow-hidden rounded-full bg-gray-100 dark:bg-gray-700">
<div
className="h-full rounded-full bg-blue-600 dark:bg-blue-500"