-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: timeline style error and add
reverse
mode
- Loading branch information
1 parent
69a9649
commit 8e37cd8
Showing
9 changed files
with
209 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<cn> | ||
#### 交替展现 | ||
内容在时间轴两侧轮流出现。 | ||
</cn> | ||
|
||
<us> | ||
#### Alternate | ||
Alternate timeline. | ||
</us> | ||
|
||
```html | ||
<template> | ||
<a-timeline mode="alternate"> | ||
<a-timeline-item>Create a services site 2015-09-01</a-timeline-item> | ||
<a-timeline-item color="green">Solve initial network problems 2015-09-01</a-timeline-item> | ||
<a-timeline-item> | ||
<a-icon slot="dot" type="clock-circle-o" style="font-size: 16px;" /> | ||
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. | ||
</a-timeline-item> | ||
<a-timeline-item color="red">Network problems being solved 2015-09-01</a-timeline-item> | ||
<a-timeline-item>Create a services site 2015-09-01</a-timeline-item> | ||
<a-timeline-item> | ||
<a-icon slot="dot" type="clock-circle-o" style="font-size: 16px;" /> | ||
Technical testing 2015-09-01 | ||
</a-timeline-item> | ||
</a-timeline> | ||
</template> | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<cn> | ||
#### 右侧时间轴点 | ||
时间轴点可以在内容的右边。 | ||
</cn> | ||
|
||
<us> | ||
#### Right alternate | ||
Right alternate timeline. | ||
</us> | ||
|
||
```html | ||
<template> | ||
<a-timeline mode="right"> | ||
<a-timeline-item>Create a services site 2015-09-01</a-timeline-item> | ||
<a-timeline-item>Solve initial network problems 2015-09-01</a-timeline-item> | ||
<a-timeline-item> | ||
<a-icon slot="dot" type="clock-circle-o" style="font-size: 16px;" /> | ||
Technical testing 2015-09-01 | ||
</a-timeline-item> | ||
<a-timeline-item>Network problems being solved 2015-09-01</a-timeline-item> | ||
</a-timeline> | ||
</template> | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters