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