Skip to content

Timeline 时间轴

垂直展示的时间流信息。

基础用法

最基础的用法。

SXO Framework Switcher
🚧
This example is not yet available for .

带标签的时间轴

通过 label 属性展示额外的时间或分类信息。

SXO Framework Switcher
🚧
This example is not yet available for .

自定义节点颜色

通过 color 属性自定义圆点颜色。

SXO Framework Switcher
🚧
This example is not yet available for .

API

Timeline 属性

参数说明类型默认值
mode展现模式'left' | 'alternate' | 'right''left'

TimelineItem 属性

参数说明类型默认值
label标签文本string-
title标题string-
description描述内容string-
color节点颜色string-

TimelineItem 插槽 (Vue)

名称说明
default描述内容
title标题内容
label标签内容