<!--components/avatar/avatar.wxml-->
<view class="avatar" style="width:{{size}}rpx;height:{{size}}rpx">
	<image class="avatar-image" src='{{src}}' style="width:{{size - 22}}rpx;height:{{size - 22}}rpx"></image>
</view>