Skip to content

Timeline 时间线 ​

垂直时间线展示事件流,支持状态色。

基础用法 ​

vue
<template>
  <KbTimeline :items="[{ content: '事件', time: '5 分钟前' }]" />
</template>
发布 v1.0
2026-08-08
设计评审
2026-08-10
计划 v2.0
2026-09

API ​

Props ​

属性类型默认值说明
itemsTimelineItem[][]事件项(content/time/type)