组件/Timeline 时间线
通用组件

Timeline 时间线

用于展示事件流

该页面由 AI 迁移生成,请谨慎使用

内容已迁移完成,但仍建议结合源码和人工评审结果使用。

Timeline 时间线

按时间顺序展示事件记录。

基础用法

时间线

展示近期动态。

示例即将加载...
<template>
  <TxTimeline>
    <TxTimelineItem title="设计阶段" time="09:30" color="primary" />
    <TxTimelineItem title="开发构建" time="12:00" color="success" />
    <TxTimelineItem title="上线发布" time="16:10" color="warning" />
  </TxTimeline>
</template>

API(Lite)

TxTimeline Props

属性名类型默认值说明
layoutverticalhorizontal布局方向