[new feature] Card: add origin-price slot (#2588)

This commit is contained in:
neverland
2019-01-22 21:53:47 +08:00
committed by GitHub
parent 11cb38b65c
commit d9da76677c
3 changed files with 18 additions and 9 deletions
+3 -1
View File
@@ -22,7 +22,8 @@ Vue.use(Card);
```
#### Advanced Usage
Use `slot` to custom content.
Use slot to custom content.
```html
<van-card
@@ -64,6 +65,7 @@ Use `slot` to custom content.
| desc | Custom description |
| num | Custom num |
| price | Custom price |
| origin-price | Custom origin price |
| thumb | Custom thumb |
| tags | Custom tags |
| footer | Custom footer |