Image组件可以在小程序中展示图片,支持外链。

Image组件可以调用API,进行三种缩放,九种裁剪。

Image组件有默认值:300*225

属性:

src:图片资源地址。

mode:图片裁剪缩放。默认:scaleToFill

binderror:当错误发生时,发布到 AppService 的事件名。

bindload:当图片加载完毕,发布到 AppService 的事件名。

相关文章:

  • 2021-07-11
  • 2022-12-23
  • 2021-05-14
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
  • 2021-11-20
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-22
  • 2021-11-21
  • 2022-01-08
  • 2021-06-28
相关资源
相似解决方案