You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
461 B
20 lines
461 B
<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>
|
|
|