Skip to content
双端兼容 · 桌面 + 移动

Timeline 时间线

EwTimeline 以竖向时间线展示更新日志、版本历史或里程碑。最新条目的圆点默认着主色并带 光晕,tag 字段直接复用 EwTag 的色调体系标注条目类型。

基础用法

更新日志
date + tag + 标题 + 描述四要素;首条高亮表示最新。
2026-09-01新功能

团队空间上线

共享文档、评论协作与权限管理一步到位。

2026-08-15优化

同步引擎提速

增量同步,平均耗时降低 60%。

2026-07-30修复

离线冲突处理

修复多端同时编辑时的极小概率冲突。

vue
<EwTimeline :items="[
  { date: '2026-09-01', tag: '新功能', title: '团队空间上线', description: '…' },
  { date: '2026-08-15', tag: '优化', tagTone: 'success', title: '同步引擎提速' },
]" />

API

Props

属性说明类型默认值
items条目 [{ date?, tag?, tagTone?, title, description? }]array[]
highlight-latest最新条目圆点着主色booleantrue

插槽

插槽说明
title标题覆写(作用域插槽:{ item, index }
description描述覆写(作用域插槽:{ item, index }

基于 MIT 许可证发布