<img style=“max-width: 100px;max-height: 100px;” src=“xxx.jpg”>
web页面上的这种图片自适应方式怎么在小程序上实现
不行,
就aspectFit能自适应最大的宽高,不过会产生留白。
image 组件 mode 属性是否能满足需求?
https://mp.weixin.qq.com/debug/wxadoc/dev/component/image.html