feat: 优化web

This commit is contained in:
2026-04-23 18:58:13 +08:00
commit 544a2f3428
160 changed files with 27327 additions and 0 deletions
@@ -0,0 +1,22 @@
'use client';
import { AppChrome } from '@/components/layout/AppChrome';
import { RequireAuth } from '@/components/layout/RequireAuth';
import { TabStrip } from '@/components/layout/TabStrip';
/** 登录后带侧栏 + 多标签主工作区布局(dashboard 与 (iam) 等业务页共用) */
export function AuthenticatedLayout({ children }: { children: React.ReactNode }) {
return (
<RequireAuth>
<AppChrome>
<div className="flex min-h-0 w-full min-w-0 flex-1 flex-col overflow-hidden">
<TabStrip />
{/* 与 TabStrip 间距及距底 12pxTailwind p-3 */}
<div className="flex min-h-0 min-w-0 flex-1 flex-col overflow-y-auto px-3 pt-3 pb-3">
{children}
</div>
</div>
</AppChrome>
</RequireAuth>
);
}