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,42 @@
|
||||
/** 决策线程列表页 — 按状态/企业筛选 + 线程卡片。 */
|
||||
|
||||
import { GitBranch } from "lucide-react";
|
||||
|
||||
/** 决策线程列表页面。 */
|
||||
export default function ThreadsPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<div className="flex items-center gap-2">
|
||||
<GitBranch 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">
|
||||
决策线程将风险、建议、任务串联为可追踪的决策链路,支持状态机驱动的时间线视图。
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{/* 线程卡片占位 */}
|
||||
<div className="space-y-3">
|
||||
{[
|
||||
{ title: "云栈数据 A+轮融资时机选择", status: "分析中", company: "云栈数据" },
|
||||
{ title: "深瞳智能 CTO retention 策略", status: "已识别", company: "深瞳智能" },
|
||||
{ title: "量子芯微 融资策略:天使+ vs Pre-A", status: "已行动", company: "量子芯微" },
|
||||
].map((thread) => (
|
||||
<div key={thread.title} className="rounded-lg border bg-white p-4 shadow-sm">
|
||||
<div className="flex items-center justify-between">
|
||||
<div>
|
||||
<h3 className="font-medium">{thread.title}</h3>
|
||||
<p className="mt-1 text-sm text-muted-foreground">{thread.company}</p>
|
||||
</div>
|
||||
<span className="rounded-full bg-indigo-50 px-3 py-1 text-xs text-indigo-600">
|
||||
{thread.status}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user