Skip to content

image 图片

图片容器,保留原生 img 的一些特性

基础用法

设置宽高

通过设置widthheight属性改变大小

设置头像

  • 通过设置round属性
  • 通过默认插槽可以显示文本头像

缩放

鼠标移入缩放效果,通过设置scale属性