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

5 lines
199 B
Plaintext

<view class="van-badge van-hairline custom-class {{ active ? 'van-badge--active' : '' }}" bind:tap="onTap">
<view wx:if="{{ info }}" class="van-badge__info">{{ info }}</view>
{{ title }}
</view>