docs: type highlight (#4264)

This commit is contained in:
neverland
2019-08-27 22:09:21 +08:00
committed by GitHub
parent a79750d00c
commit ecbdc2bede
129 changed files with 1493 additions and 1484 deletions
+7 -7
View File
@@ -75,13 +75,13 @@ Vue.use(Tag);
| Attribute | Description | Type | Default | Version |
|------|------|------|------|------|
| type | Type, can be set to `primary` `success` `danger` `warning` | `string` | `default` | - |
| size | Size, can be set to `large` `medium` | `string` | - | - |
| color | Custom color | `string` | - | - |
| plain | Whether to be plain style | `boolean` | `false` | - |
| round | Whether to be round style | `boolean` | `false` | - |
| mark | Whether to be mark style | `boolean` | `false` | - |
| text-color | Text color | `string` | `white` | - |
| type | Type, can be set to `primary` `success` `danger` `warning` | *string* | `default` | - |
| size | Size, can be set to `large` `medium` | *string* | - | - |
| color | Custom color | *string* | - | - |
| plain | Whether to be plain style | *boolean* | `false` | - |
| round | Whether to be round style | *boolean* | `false` | - |
| mark | Whether to be mark style | *boolean* | `false` | - |
| text-color | Text color | *string* | `white` | - |
### Slots
+7 -7
View File
@@ -83,13 +83,13 @@ Vue.use(Tag);
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|------|------|------|------|------|
| type | 类型,可选值为`primary` `success` `danger` `warning` | `string` | `default` | - |
| size | 大小, 可选值为`large` `medium` | `string` | - | - |
| color | 标签颜色 | `string` | - | - |
| plain | 是否为空心样式 | `boolean` | `false` | - |
| round | 是否为圆角样式 | `boolean` | `false` | - |
| mark | 是否为标记样式 | `boolean` | `false` | - |
| text-color | 文本颜色,优先级高于`color`属性 | `string` | `white` | - |
| type | 类型,可选值为`primary` `success` `danger` `warning` | *string* | `default` | - |
| size | 大小, 可选值为`large` `medium` | *string* | - | - |
| color | 标签颜色 | *string* | - | - |
| plain | 是否为空心样式 | *boolean* | `false` | - |
| round | 是否为圆角样式 | *boolean* | `false` | - |
| mark | 是否为标记样式 | *boolean* | `false` | - |
| text-color | 文本颜色,优先级高于`color`属性 | *string* | `white` | - |
### Slots