index.axml 251 B

1234567891011
  1. <import-sjs
  2. from="./index.sjs"
  3. name="utils" />
  4. <view
  5. class="ant-avatar {{ className ? className : '' }}"
  6. style="{{ style }}">
  7. <image
  8. class="ant-avatar-image {{ utils.getClass(size) }}"
  9. src="{{ src || utils.defaultSrc }}" />
  10. </view>