image 组件 宽高无效
发布于 5 年前 作者 taomao 19771 次浏览 来自 问答

不知道为啥,为组件设置的 width,height 无效,麻烦来看看

<image src=’…/…/images/dele.png’ mode=‘scaleToFill’ style=‘width:36rpx;height:36rpx;background:red’></image>

不是方形,变成长方形

2 回复

不知道哪里的问题

代码片段  wechatide://minicode/t65YCumB7B6q

这么厉害的吗?方便做个代码片段让我体验一下不~

回到顶部