-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
269 additions
and
138 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
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,11 @@ | ||
# Segment | ||
|
||
Tabs of segment type. | ||
|
||
```html | ||
<n-tabs type="segment"> | ||
<n-tab-pane name="oasis" tab="Oasis">Wonderwall</n-tab-pane> | ||
<n-tab-pane name="the beatles" tab="the Beatles">Hey Jude</n-tab-pane> | ||
<n-tab-pane name="jay chou" tab="Jay Chou">Qilixiang</n-tab-pane> | ||
</n-tabs> | ||
``` |
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,32 @@ | ||
# 分段 | ||
|
||
分段类型的标签页。 | ||
|
||
```html | ||
<n-divider /> | ||
<n-h3 style="text-align: center;">五美金的礼品卡</n-h3> | ||
<n-tabs type="segment"> | ||
<n-tab-pane name="chap1" tab="第一章"> | ||
当我是 Amazon 的软件工程师的时候,发生过一件最疯狂的事,故事是这样的:<br /><br /> | ||
那时我正在家里远程工作,我和女朋友住在一起。忽然我的同事给我发来了紧急消息:”我们的服务出现了 | ||
SEV 2 级别的故障!我们需要所有的人马上协助!“我们组的应用都挂掉了。<br /><br /> | ||
当我还在费力的寻找修复方法的时候,我忽然闻到隔壁房间的的焦味,防火报警器开始鸣叫。 | ||
</n-tab-pane> | ||
<n-tab-pane name="chap2" tab="第二章"> | ||
“威尔!着火了!快来帮忙!”我听到女朋友大喊。我现在遇到了一个难题,是恢复一个重要的 | ||
Amazon 服务,还是救公寓的火。<br /><br /> | ||
那时我忽然记起了亚马逊著名的领导力准则”客户至上“,有很多的客户还依赖我们的服务,我不能让他们失望!所以着火也不管了,女朋友喊我也无所谓,我开始 | ||
debug 这个线上问题。 | ||
</n-tab-pane> | ||
<n-tab-pane name="chap3" tab="第三章"> | ||
但是忽然,公寓的烟味消失,火警也停了。我的女朋友走进了我的房间,让我震惊的是,她摘下了自己的假发,她是 | ||
Jeff Bezos(Amazon CEO)假扮的!<br /><br /> | ||
“我对你坚持顾客至上感到十分骄傲”,他说,然后递给我一张 5 | ||
美金的亚马逊礼品卡,从我家窗户翻了出去,跳上了一辆 Amazon | ||
会员服务的小货车,一溜烟的离开了。<br /><br />虽然现在我已经不在 Amazon | ||
了,我还是非常感激我在哪里学的到的经验,这些经验我终身难忘。你也是这么想的么? | ||
</n-tab-pane> | ||
</n-tabs> | ||
``` | ||
|
||
<!-- https://www.teamblind.com/post/Amazon-Customer-Obsession-Story-cRec2KVi --> |
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
Oops, something went wrong.