docs(SwipeCell): add custom content demo

This commit is contained in:
陈嘉涵
2020-01-24 11:17:03 +08:00
parent e766d5d574
commit 2af7d1b209
8 changed files with 145 additions and 10 deletions
+3 -3
View File
@@ -19,7 +19,7 @@ Vue.use(Card);
price="2.00"
title="Title"
desc="Description"
thumb="https://img.yzcdn.cn/vant/cat.jpeg"
thumb="https://img.yzcdn.cn/vant/ipad.jpeg"
/>
```
@@ -33,7 +33,7 @@ Vue.use(Card);
title="Title"
desc="Description"
origin-price="10.00"
thumb="https://img.yzcdn.cn/vant/cat.jpeg"
thumb="https://img.yzcdn.cn/vant/ipad.jpeg"
/>
```
@@ -47,7 +47,7 @@ Use slot to custom content.
title="Title"
desc="Description"
price="2.00"
thumb="https://img.yzcdn.cn/vant/cat.jpeg"
thumb="https://img.yzcdn.cn/vant/ipad.jpeg"
>
<div slot="tags">
<van-tag plain type="danger">Tag</van-tag>