2021-12-30 00:44:43 +08:00
|
|
|
|
::: anchor
|
|
|
|
|
:::
|
|
|
|
|
|
2022-02-06 03:19:24 +08:00
|
|
|
|
::: title 基本介绍
|
|
|
|
|
:::
|
|
|
|
|
|
|
|
|
|
::: describe 将时间抽象到二维平面,垂直呈现一段从过去到现在的故事。
|
|
|
|
|
:::
|
|
|
|
|
|
2021-10-26 01:13:23 +08:00
|
|
|
|
::: title 基础使用
|
2021-10-19 22:28:44 +08:00
|
|
|
|
:::
|
|
|
|
|
|
2021-09-28 10:35:58 +08:00
|
|
|
|
::: demo
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<lay-timeline>
|
|
|
|
|
<lay-timeline-item title="8月18日">
|
|
|
|
|
<p>
|
2022-02-19 00:25:16 +08:00
|
|
|
|
layui vue 的一切准备工作似乎都已到位。发布之弦,一触即发。
|
2021-09-28 10:35:58 +08:00
|
|
|
|
<br>不枉近百个日日夜夜与之为伴。因小而大,因弱而强。
|
|
|
|
|
<br>无论它能走多远,抑或如何支撑?至少我曾倾注全心,无怨无悔 <i class="layui-icon"></i>
|
|
|
|
|
</p>
|
|
|
|
|
</lay-timeline-item>
|
|
|
|
|
<lay-timeline-item title="8月16日">
|
|
|
|
|
<p>杜甫的思想核心是儒家的仁政思想,他有<em>“致君尧舜上,再使风俗淳”</em>的宏伟抱负。</p>
|
|
|
|
|
<ul>
|
|
|
|
|
<li>《登高》</li>
|
|
|
|
|
<li>《茅屋为秋风所破歌》</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</lay-timeline-item>
|
|
|
|
|
<lay-timeline-item title="8月15日">
|
|
|
|
|
<p>
|
|
|
|
|
中国人民抗日战争胜利日
|
|
|
|
|
<br>铭记、感恩
|
|
|
|
|
<br>所有为中华民族浴血奋战的英雄将士
|
|
|
|
|
<br>永垂不朽
|
|
|
|
|
</p>
|
|
|
|
|
</lay-timeline-item>
|
|
|
|
|
</lay-timeline>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import { ref } from 'vue'
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
setup() {
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
:::
|
|
|
|
|
|
2021-10-26 01:13:23 +08:00
|
|
|
|
::: title 简单模式
|
2021-10-19 22:28:44 +08:00
|
|
|
|
:::
|
|
|
|
|
|
2021-09-28 10:35:58 +08:00
|
|
|
|
::: demo
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<lay-timeline>
|
2021-09-30 13:54:04 +08:00
|
|
|
|
<lay-timeline-item title="2021年,layui vue 里程碑版本 1.0 发布" simple></lay-timeline-item>
|
2021-09-28 15:01:12 +08:00
|
|
|
|
<lay-timeline-item title="2017年,layui 里程碑版本 2.0 发布" simple></lay-timeline-item>
|
|
|
|
|
<lay-timeline-item title="2016年,layui 首个版本发布" simple></lay-timeline-item>
|
|
|
|
|
<lay-timeline-item title="2015年,layui 孵化" simple></lay-timeline-item>
|
2021-09-28 10:35:58 +08:00
|
|
|
|
</lay-timeline>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import { ref } from 'vue'
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
setup() {
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
:::
|
2021-10-12 18:00:09 +08:00
|
|
|
|
|
2022-01-04 22:32:48 +08:00
|
|
|
|
|
|
|
|
|
::: title 节点插槽
|
|
|
|
|
:::
|
|
|
|
|
|
|
|
|
|
::: demo
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<lay-timeline>
|
|
|
|
|
<lay-timeline-item title="2021年,layui vue 里程碑版本 1.0 发布" simple></lay-timeline-item>
|
|
|
|
|
<lay-timeline-item title="2017年,layui 里程碑版本 2.0 发布" simple></lay-timeline-item>
|
|
|
|
|
<lay-timeline-item title="2016年,layui 首个版本发布" simple></lay-timeline-item>
|
|
|
|
|
<lay-timeline-item title="2015年,layui 孵化" simple>
|
|
|
|
|
<template #dot>
|
|
|
|
|
<lay-icon type="layui-icon-face-smile" color="red"></lay-icon>
|
|
|
|
|
</template>
|
|
|
|
|
</lay-timeline-item>
|
|
|
|
|
</lay-timeline>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import { ref } from 'vue'
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
setup() {
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
:::
|
|
|
|
|
|
|
|
|
|
::: title Timeline Item 属性
|
2021-10-13 10:19:38 +08:00
|
|
|
|
:::
|
2021-10-12 18:00:09 +08:00
|
|
|
|
|
2021-11-07 15:55:08 +08:00
|
|
|
|
::: table
|
|
|
|
|
|
2021-10-26 01:14:17 +08:00
|
|
|
|
| | | |
|
|
|
|
|
| ------ | -------- | --- |
|
|
|
|
|
| simple | 简单模式 | -- |
|
|
|
|
|
| title | 标题 | -- |
|
2021-11-07 15:55:08 +08:00
|
|
|
|
|
2021-11-07 15:56:24 +08:00
|
|
|
|
:::
|
2021-12-16 17:57:59 +08:00
|
|
|
|
|
2022-01-10 01:17:03 +08:00
|
|
|
|
::: title Timeline Item 插槽
|
2022-01-04 22:32:48 +08:00
|
|
|
|
:::
|
|
|
|
|
|
|
|
|
|
::: table
|
|
|
|
|
|
|
|
|
|
| | | |
|
|
|
|
|
| ------ | -------- | --- |
|
|
|
|
|
| dot | 节点 | -- |
|
|
|
|
|
|
|
|
|
|
:::
|
|
|
|
|
|
2021-12-16 17:57:59 +08:00
|
|
|
|
::: comment
|
2022-01-12 14:19:06 +08:00
|
|
|
|
:::
|
|
|
|
|
|
|
|
|
|
::: previousNext timeline
|
2021-12-16 17:57:59 +08:00
|
|
|
|
:::
|