# Timeline 时间轴
新增了<ep-timeline>
和<ep-timeline-item>
时间轴组件。
# 基本用法
展示用法。
- Create a services site 2015-09-01
- Solve initial network problems 2015-09-01
- Technical testing 2015-09-01
- Network problems being solved 2015-09-01
复制代码
# 圆圈颜色
展示用法。
- Create a services site 2015-09-01
- Create a services site 2015-09-01
Solve initial network problems 1
Solve initial network problems 2
Solve initial network problems 3 2015-09-01
Technical testing 1
Technical testing 2
Technical testing 3 2015-09-01
Technical testing 1
Technical testing 2
Technical testing 3 2015-09-01
Technical testing 1
Technical testing 2
Technical testing 3 2015-09-01
复制代码
# 最后一个及排序
当任务状态正在发生,可用幽灵节点来表示当前的时间节点,可控制节点排序。
- Technical testing 2015-09-01
- Create a services site 2015-10-01
- Network problems being solved 2015-11-01
- Network problems being solved 2015-12-01
- Recording...
复制代码
# 自定义时间轴点
展示用法。
- Create a services site 2015-09-01
- Solve initial network problems 2015-09-01
- Technical testing 2015-09-01
- Network problems being solved 2015-09-01
复制代码
# 排列方式
- Create a services site 2015-09-01
- Solve initial network problems 2015-09-01
- Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.
- Network problems being solved 2015-09-01
- Create a services site 2015-09-01
- Technical testing 2015-09-01
复制代码
# API
# Timeline Attributes
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
pending | 指定最后一个幽灵节点是否存在或内容 | boolean | string | slot | — | false |
pending-dot | 当最后一个幽灵节点存在時,指定其时间图点 | string | slot | — | <i class="el-icon-loading"></i> |
reverse | 节点排序 | boolean | true | false | false |
mode | 通过设置 mode 可以改变时间轴和内容的相对位置 | String | left | alternate | right | — |
# TimelineItem Attributes
参数 | 说明 | 类型 | 可选值 | 默认值 |
---|---|---|---|---|
color | 指定圆圈颜色 | string | blue | red | green | gray | 或自定义的色值 | blue |
dot | 自定义时间轴点 | string | slot | — | — |
position | 自定义节点位置 | String | left | right | — |