Avatar 头像
<view class="page__hd">
<view class="page__title">Avatar</view>
<view class="page__desc">头像</view>
</view>
<view class="page__bd page__bd_spacing">
<view>
<wux-avatar size="small">U</wux-avatar>
<wux-avatar>U</wux-avatar>
<wux-avatar size="large">U</wux-avatar>
</view>
<view class="sub-title">Shape = square</view>
<view>
<wux-avatar shape="square">U</wux-avatar>
<wux-avatar shape="square" size="large">U</wux-avatar>
</view>
<view class="sub-title">Custom Style</view>
<view>
<wux-avatar wux-class="wux-avatar--custom" size="small">U</wux-avatar>
<wux-avatar body-style="background-color: #33cd5f" size="large">U</wux-avatar>
</view>
<view class="sub-title">Scale</view>
<view>
<wux-avatar scale size="small">Wux</wux-avatar>
<wux-avatar scale>Weapp</wux-avatar>
</view>
<view class="sub-title">Src</view>
<view>
<wux-avatar size="small" src="https://wux.cdn.cloverstd.com/logo.png" />
<wux-avatar src="https://wux.cdn.cloverstd.com/logo.png" />
<wux-avatar size="large" src="https://wux.cdn.cloverstd.com/logo.png" />
</view>
</view>
Avatar