docs: type highlight (#4264)
This commit is contained in:
+11
-11
@@ -66,17 +66,17 @@ Use slot to custom content.
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| thumb | Left thumb image URL | `string` | - | - |
|
||||
| title | Title | `string` | - | - |
|
||||
| desc | Description | `string` | - | - |
|
||||
| tag | Tag | `string` | - | - |
|
||||
| num | number | `string | number` | - | - |
|
||||
| price | Price | `string | number` | - | - |
|
||||
| origin-price | Origin price | `string | number` | - | - |
|
||||
| centered | Whether content vertical centered | `boolean` | `false` | - |
|
||||
| currency | Currency symbol | `string` | `¥` | - |
|
||||
| thumb-link | Thumb link URL | `string` | - | - |
|
||||
| lazy-load | Whether to enable thumb lazy load,should register [Lazyload](#/en-US/lazyload) component | `boolean` | `false` | - |
|
||||
| thumb | Left thumb image URL | *string* | - | - |
|
||||
| title | Title | *string* | - | - |
|
||||
| desc | Description | *string* | - | - |
|
||||
| tag | Tag | *string* | - | - |
|
||||
| num | number | *string \| number* | - | - |
|
||||
| price | Price | *string \| number* | - | - |
|
||||
| origin-price | Origin price | *string \| number* | - | - |
|
||||
| centered | Whether content vertical centered | *boolean* | `false` | - |
|
||||
| currency | Currency symbol | *string* | `¥` | - |
|
||||
| thumb-link | Thumb link URL | *string* | - | - |
|
||||
| lazy-load | Whether to enable thumb lazy load,should register [Lazyload](#/en-US/lazyload) component | *boolean* | `false` | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
+11
-11
@@ -68,17 +68,17 @@ Vue.use(Card);
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
|------|------|------|------|------|
|
||||
| thumb | 左侧图片 URL | `string` | - | - |
|
||||
| title | 标题 | `string` | - | - |
|
||||
| desc | 描述 | `string` | - | - |
|
||||
| tag | 图片角标 | `string` | - | - |
|
||||
| num | 商品数量 | `string | number` | - | - |
|
||||
| price | 商品价格 | `string | number` | - | - |
|
||||
| origin-price | 商品划线原价 | `string | number` | - | - |
|
||||
| centered | 内容是否垂直居中 | `boolean` | `false` | - |
|
||||
| currency | 货币符号 | `string` | `¥` | - |
|
||||
| thumb-link | 点击左侧图片后的跳转链接 | `string` | - | - |
|
||||
| lazy-load | 是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用 | `boolean` | `false` | - |
|
||||
| thumb | 左侧图片 URL | *string* | - | - |
|
||||
| title | 标题 | *string* | - | - |
|
||||
| desc | 描述 | *string* | - | - |
|
||||
| tag | 图片角标 | *string* | - | - |
|
||||
| num | 商品数量 | *string \| number* | - | - |
|
||||
| price | 商品价格 | *string \| number* | - | - |
|
||||
| origin-price | 商品划线原价 | *string \| number* | - | - |
|
||||
| centered | 内容是否垂直居中 | *boolean* | `false` | - |
|
||||
| currency | 货币符号 | *string* | `¥` | - |
|
||||
| thumb-link | 点击左侧图片后的跳转链接 | *string* | - | - |
|
||||
| lazy-load | 是否开启图片懒加载,须配合 [Lazyload](#/zh-CN/lazyload) 组件使用 | *boolean* | `false` | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user