标记待开发功能范围

This commit is contained in:
hectorzhao
2026-07-01 09:44:10 +08:00
parent 47e603d7d3
commit 2675fafb28
9 changed files with 48 additions and 19 deletions
+4 -2
View File
@@ -16,6 +16,7 @@ export type ShellNavItem = {
label: string;
to: string;
icon: ComponentType<{ size?: number; strokeWidth?: number }>;
pending?: boolean;
};
export type ShellNavSection = {
@@ -84,9 +85,10 @@ export function AppShell({
const Icon = item.icon;
return (
<NavLink key={item.to} to={item.to} end title={item.label}>
<NavLink key={item.to} to={item.to} end title={item.pending ? `${item.label}(待开发)` : item.label}>
<Icon size={17} strokeWidth={2.1} />
<span>{item.label}</span>
<span className="side-nav-label">{item.label}</span>
{item.pending ? <span className="dev-status-badge"></span> : null}
</NavLink>
);
})}