<view>
  <view a:if="{{imgUrl}}"  style="width:{{width}};height:{{height}}">
    <image class="img-url" style="width:{{width}};height:{{height}}" mode="scaleToFill" src="{{imgUrl}}"/>
  </view>
  <view a:else  style="width:{{width}};height:{{height}}">
    <view class="img-name" style="width:{{width}};height:{{height}};line-height:{{height}};font-size:{{fSize}}">{{userName}}</view>
  </view>
</view>