feat(frontend): P0 导航架构重构 — 6 业务域 + 角色化排序 + 新路由
- 投资人 Sidebar: 5 扁平分组 → 6 业务域(今日/组合/工作/增长/洞察/报告) - 角色化导航: GP→组合优先, 投后负责人→今日优先, 投资经理→今日+组合 - 新增路由: /today /compare /threads /threads/[id] /workspace - Admin: 单页标签 → 6 管理域 Sidebar(租户/用户/审计/数据源/安全/设置) - 创始人: 3 底部导航 → 6 域(今日/经营/月报/Copilot/通知/我的) - 新增 navConfig.ts 统一管理导航配置
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
/** 多企业对比工作区 — 2-5 家企业并排对比。 */
|
||||
|
||||
import { GitCompareArrows } from "lucide-react";
|
||||
|
||||
/** 多企业对比页面。 */
|
||||
export default function ComparePage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<div className="flex items-center gap-2">
|
||||
<GitCompareArrows className="text-[var(--investor-primary)]" size={24} />
|
||||
<h1 className="text-2xl font-bold">多企业对比</h1>
|
||||
</div>
|
||||
|
||||
<div className="rounded-lg border bg-white p-4 shadow-sm">
|
||||
<p className="text-sm text-muted-foreground">
|
||||
选择 2-5 家企业进行并排对比,支持指标选择、差异高亮和趋势对比。
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* 对比卡片占位 */}
|
||||
<div className="grid grid-cols-1 gap-4 md:grid-cols-3">
|
||||
{["智链科技", "云栈数据", "深瞳智能"].map((name) => (
|
||||
<div key={name} className="rounded-lg border bg-white p-4 shadow-sm">
|
||||
<h3 className="mb-3 font-medium">{name}</h3>
|
||||
<div className="space-y-2 text-sm">
|
||||
<div className="flex justify-between">
|
||||
<span className="text-muted-foreground">健康度</span>
|
||||
<span className="font-medium">78.5</span>
|
||||
</div>
|
||||
<div className="flex justify-between">
|
||||
<span className="text-muted-foreground">月营收</span>
|
||||
<span className="font-medium">800万</span>
|
||||
</div>
|
||||
<div className="flex justify-between">
|
||||
<span className="text-muted-foreground">Runway</span>
|
||||
<span className="font-medium">12月</span>
|
||||
</div>
|
||||
<div className="flex justify-between">
|
||||
<span className="text-muted-foreground">高风险</span>
|
||||
<span className="font-medium">0</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user