本地选取的图片无法显示在模拟器中?
发布于 5 年前 作者 lipeng 6298 次浏览 来自 官方Issues

不知道是哪里出现了问题,试了一下午,图片都无法显示

2 回复
<image style="width: 200px; height: 200px; background-color: #eeeeee;" mode="{{item.mode}}" src="{{src}}"></image>

参考:

image | 微信开放文档
https://developers.weixin.qq.com/miniprogram/dev/component/image.html

这是什么写法?

回到顶部