vant-weapp/dist/icon/index.wxml
2018-08-07 15:10:21 +08:00

7 lines
232 B
Plaintext

<view
class="custom-class van-icon van-icon-{{ name }}"
style="{{ color ? 'color: ' + color : '' }}; {{ size ? 'font-size: ' + size : '' }}"
>
<view wx:if="{{ info !== null }}" class="van-icon__info">{{ info }}</view>
</view>