Skip to content
Toyar
Search
K
Main Navigation
指南
组件
GitHub
Appearance
GitHub
Menu
Return to top
On this page
Table of Contents for current page
image
基本用法
修改大小
填充方式
展示形状
属性(Attributes)
属性
描述
类型
默认
src
image的图片地址(required)
string
''
size
图片的大小
string
'100'
shape
组件的展示形状
'square'/'circle'
'square'
fit
填充形式
string
'none'/'fill'/'contain'/'cover'/'scale-down'
alt
图片失效后的文字展示形式
string
''