微信小程序 Image 图片实现宽度100%,高度自适应 做法如下: 样式设置宽度100%, .img{ 100%;} 添加属性 mode="widthFix", <image class="img" src="../../images/hello.png" mode="widthFix">