mirror of
https://github.com/youzan/vant.git
synced 2026-05-05 01:00:55 +08:00
[new feature] Icon: name can be URL (#2149)
This commit is contained in:
@@ -62,8 +62,8 @@ export default {
|
||||
| size | 图标大小 (px) | `Number` | `20` | - |
|
||||
| color | 选中时的颜色 | `String` | `#ffd21e` | - |
|
||||
| void-color | 未选中时的颜色 | `String` | `#c7c7c7` | - |
|
||||
| icon | 选中时的图标,可选值见 Icon 组件 | `String` | `star` | 1.4.7 |
|
||||
| void-icon | 未选中时的图标,可选值见 Icon 组件 | `String` | `star-o` | 1.4.7 |
|
||||
| icon | 选中时的图标名称或图片链接,可选值见 Icon 组件 | `String` | `star` | 1.4.7 |
|
||||
| void-icon | 未选中时的图标名称或图片链接,可选值见 Icon 组件 | `String` | `star-o` | 1.4.7 |
|
||||
| readonly | 是否为只读状态 | `Boolean` | `false` | 1.3.0 |
|
||||
| disabled | 是否禁用评分 | `Boolean` | `false` | - |
|
||||
| disabled-color | 禁用时的颜色 | `String` | `#bdbdbd` | - |
|
||||
|
||||
Reference in New Issue
Block a user