docs: make document more compact

This commit is contained in:
陈嘉涵
2020-01-19 19:52:46 +08:00
parent bb53c3c758
commit 3a4107ef49
40 changed files with 56 additions and 162 deletions
-3
View File
@@ -15,7 +15,6 @@ Vue.use(Popup);
```html
<van-cell is-link @click="showPopup">Show Popup</van-cell>
<van-popup v-model="show">Content</van-popup>
```
@@ -56,7 +55,6 @@ Use `position` prop to set popup display position
position="bottom"
:style="{ height: '20%' }"
/>
<!-- Custom Icon -->
<van-popup
v-model="show"
@@ -65,7 +63,6 @@ Use `position` prop to set popup display position
position="bottom"
:style="{ height: '20%' }"
/>
<!-- Icon Position -->
<van-popup
v-model="show"
-3
View File
@@ -21,7 +21,6 @@ Vue.use(Popup);
```html
<van-cell is-link @click="showPopup">展示弹出层</van-cell>
<van-popup v-model="show">内容</van-popup>
```
@@ -64,7 +63,6 @@ export default {
position="bottom"
:style="{ height: '20%' }"
/>
<!-- 自定义图标 -->
<van-popup
v-model="show"
@@ -73,7 +71,6 @@ export default {
position="bottom"
:style="{ height: '20%' }"
/>
<!-- 图标位置 -->
<van-popup
v-model="show"