Skip to content

Commit 0fb3398

Browse files
committed
docs(timeline): 添加时间轴组件样式文档
- 在 docs/.vitepress/config.ts 中添加时间轴组件相关配置项 - 新建 checkpointStyle、controlStyle 和 progress 样式文档 - 详细介绍了时间轴组件中各个部分的样式设置方法
1 parent 7afde28 commit 0fb3398

4 files changed

Lines changed: 25 additions & 0 deletions

File tree

docs/.vitepress/config.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,24 @@ export default defineConfig({
465465
},
466466
],
467467
},
468+
{
469+
text: "Timeline 时间轴",
470+
collapsed: true,
471+
items: [
472+
{
473+
text: "CheckpointStyle 当前图形样式",
474+
link: "/components/common/timeline/checkpointStyle",
475+
},
476+
{
477+
text: "ControlStyle 控制按钮样式",
478+
link: "/components/common/timeline/controlStyle",
479+
},
480+
{
481+
text: "Progress 进度条样式",
482+
link: "/components/common/timeline/progress",
483+
},
484+
],
485+
},
468486
],
469487
},
470488
],
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# CheckpointStyle 当前图形样式
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# ControlStyle 控制按钮样式
2+
3+
『控制按钮』的样式。『控制按钮』包括:『播放按钮』、『前进按钮』、『后退按钮』。
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Progress 进度条样式
2+
3+
进度条中的线条,拐点,标签的样式。

0 commit comments

Comments
 (0)