feat(Card): Card 组件样式调整添加 price 上方的插槽 (#5134)

This commit is contained in:
Lindy
2019-11-29 14:29:42 +08:00
committed by neverland
parent a7ae694dbb
commit abbee1062b
8 changed files with 97 additions and 27 deletions
+2 -1
View File
@@ -45,7 +45,7 @@ Use slot to custom content.
<van-card
num="2"
title="Title"
desc="Description"
desc="Description"
price="2.00"
thumb="https://img.yzcdn.cn/vant/t-thirt.jpg"
>
@@ -94,6 +94,7 @@ Use slot to custom content.
| num | Custom num |
| price | Custom price |
| origin-price | Custom origin price |
| price-top | Custom price top |
| bottom | Custom price bottom |
| thumb | Custom thumb |
| tag | Custom thumb tag |