[Doc] Icon: update demo (#1530)

This commit is contained in:
neverland 2019-04-16 17:23:17 +08:00 committed by GitHub
parent 85aa2c6b3b
commit 6d46f25051
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View File

@ -1,5 +1,6 @@
<van-tabs
active="{{ active }}"
color="#1989fa"
bind:change="onSwitch"
>
<van-tab title="基础图标" custom-class="demo-tab-pane">

View File

@ -8,16 +8,18 @@
.icon {
display: block;
margin: 15px 0;
color: #455a64;
color: #323233;
margin: 20px 0 10px;
}
.text {
font-size: 12px;
padding: 0 5px;
line-height: 14px;
color: #7d7e80;
}
.demo-tab-pane {
padding-top: 10px;
margin: 20px;
background-color: #fff;
}