<view class="meiti" style="background-color:red;"> <image src="http://10.0.0.171:9001/images/2017/0619/20170619110943813_progressive.jpg" mode="widthFix" style="width:100%;background-color:black;" ></image> </view>
小程序内图片,宽度百分之百,图片不变形
mode="widthFix"
转: https://www.jb51.net/article/116779.htm