diff --git a/design-refs/mockup/components-page-7.png b/design-refs/mockup/components-page-7.png index e3f12ce..8ade63a 100644 Binary files a/design-refs/mockup/components-page-7.png and b/design-refs/mockup/components-page-7.png differ diff --git a/design-refs/mockup/components.html b/design-refs/mockup/components.html index 5142847..0e7ca7a 100644 --- a/design-refs/mockup/components.html +++ b/design-refs/mockup/components.html @@ -183,9 +183,12 @@ display: flex; align-items: center; justify-content: center; } .gedges { position: absolute; inset: 0; pointer-events: none; } + .gedges .edge { fill: none; stroke-width: 1.5; stroke-linecap: butt; stroke-dasharray: 9 4; } + .gedges .edge.pre { stroke: #9a9a98; } + .gedges .edge.rel { stroke: #c9c9c7; } .glegend { display: flex; gap: 22px; font-size: 12px; color: #555; align-items: center; } - .glegend .sw { display: inline-block; width: 34px; border-top: 2px solid #555; margin-right: 6px; vertical-align: middle; } - .glegend .sw.rel { border-top-style: dashed; border-top-color: #b9b9b9; } + .glegend .sw { display: inline-block; width: 30px; border-top: 1.5px dashed #9a9a98; margin-right: 6px; vertical-align: middle; } + .glegend .sw.rel { border-top-color: #c9c9c7; } /* P8 入口梳理 */ .profile-card { @@ -627,23 +630,19 @@
<CourseGraph />

课程关系图 · 知识是网,不是线

-
节点 = 章节卡;实线箭头 = 前置(prerequisites);虚线 = 关联(related);①②③ = 读者入口。
+
连线复刻参考稿:细长划虚线折线、小圆角、无箭头,直接抵到卡片边缘;深虚线 = 前置(左→右为学习方向),浅虚线 = 关联;①②③ = 读者入口。
- - - - - - - - - - - + + + + + + +
①🌐快速开始
②⚛️快速开始 React
@@ -652,8 +651,8 @@
🔗全栈基础
③🧠高级教程
- 前置 prerequisites - 关联 related + 前置 prerequisites(深虚线,左→右为学习方向) + 关联 related(浅虚线) ①②③读者入口(见下页)
@@ -664,8 +663,8 @@ - - + +
Prop类型说明
nodesCourse[]直接取 courses.ts,渲染为迷你章节卡
edges.prerequisites[from,to][]实线箭头,由每章 prerequisites 派生
edges.related[from,to][]虚线,由 related 派生
edges.prerequisites[from,to][]深虚线折线,由每章 prerequisites 派生
edges.related[from,to][]无向浅虚线,由 related 派生
entryPointsEntry[]①②③ 入口徽标,数据见 EntryGuide
@@ -674,7 +673,7 @@
1知识是网状:有前置也有旁路,线性目录会掩盖它。
2教程是索引:图让「我在哪、缺哪块」一眼可见。
3入口不锁死:③ 直达是合法路径(skill 死原则)。
-
4关系现为示例占位;正式关系填 courses.ts 后图自动更新。卡片 chips 与边一一对应:前置实线、关联虚线。
+
4关系现为示例占位;正式关系填 courses.ts 后图自动更新。连线无箭头,方向由布局流向(左→右)表达;卡片 chips 对应:前置实线边框、关联虚线边框。
组件设计稿 · Storybook 拆分 · stack idealjs
diff --git a/design-refs/mockup/components.pdf b/design-refs/mockup/components.pdf index 6ca61bf..c32d43b 100644 Binary files a/design-refs/mockup/components.pdf and b/design-refs/mockup/components.pdf differ