目录
uniapp image 的mode常用属性
uniapp当中,在image外面包view,进行设置,可以使用mode解决image图片跑偏的问题。
<view v-for="(item,index) in pics1" class="cu-bar bg-white" style="">
<image :src="BaseUrl+'/'+item" mode="widthFix" style="width: 100%;"></image>
</view>
uniapp当中,在image外面包view,进行设置,可以使用mode解决image图片跑偏的问题。
<view v-for="(item,index) in pics1" class="cu-bar bg-white" style="">
<image :src="BaseUrl+'/'+item" mode="widthFix" style="width: 100%;"></image>
</view>