uniapp中图片宽度100%,高度自适应
<view class="headeruser-image">
<image mode='widthFix' src="http://.../boy.png"></image>
</view>
<style>
.headeruser-image{
width: 120rpx;
height: 120rpx;
border-radius: 50%;
overflow: hidden;
}
.headeruser-image>image{
width: 100%;
}
</style>