[new feature] Card: add tag slot (#2636)

This commit is contained in:
neverland
2019-01-27 17:27:38 +08:00
committed by GitHub
parent e4327a3ebd
commit d42f866cd8
4 changed files with 16 additions and 7 deletions
+3 -2
View File
@@ -49,7 +49,7 @@ Vue.use(Card);
| thumb | 左侧图片 URL | `String` | - | - |
| title | 标题 | `String` | - | - |
| desc | 描述 | `String` | - | - |
| tag | 标 | `String` | - | 1.3.4 |
| tag | 图片角标 | `String` | - | 1.3.4 |
| num | 商品数量 | `String | Number` | - | - |
| price | 商品价格 | `String | Number` | - | - |
| origin-price | 商品划线原价 | `String | Number` | - | 1.3.6 |
@@ -68,5 +68,6 @@ Vue.use(Card);
| price | 自定义价格 |
| origin-price | 自定义商品原价 |
| thumb | 自定义图片 |
| tags | 自定义描述下方的内容 |
| tag | 自定义图片角标 |
| tags | 自定义描述下方标签区域 |
| footer | 自定义右下角内容 |