123456789101112131415161718192021 |
- <wxs src="./index.wxs" module="computed" />
-
- <view
- class="{{ computed.rootClass({ classPrefix, name }) }}"
- style="{{ computed.rootStyle({ customStyle, color, size }) }}"
- bindtap="onClick"
- >
- <van-info
- wx:if="{{ info !== null || dot }}"
- dot="{{ dot }}"
- info="{{ info }}"
- custom-class="van-icon__info"
- />
- <image
- wx:if="{{ computed.isImage(name) }}"
- src="{{ name }}"
- mode="aspectFit"
- class="van-icon__image"
- />
- </view>
|