feat(Image): add icon-size prop (#8395)

This commit is contained in:
neverland
2021-03-23 17:15:08 +08:00
committed by GitHub
parent 49430a1ef6
commit 6d428345d7
4 changed files with 31 additions and 1 deletions
+1
View File
@@ -113,6 +113,7 @@ app.use(Lazyload);
| show-loading | 是否展示图片加载中提示 | _boolean_ | `true` |
| error-icon | 失败时提示的[图标名称](#/zh-CN/icon)或图片链接 | _string_ | `photo-fail` |
| loading-icon | 加载时提示的[图标名称](#/zh-CN/icon)或图片链接 | _string_ | `photo` |
| icon-size `v3.0.11` | 加载图标和失败图标的大小 | _number \| string_ | `32px` |
| icon-prefix | 图标类名前缀,同 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props) | _string_ | `van-icon` |
### 图片填充模式