vant-weapp/dist/badge/index.wxml
2018-12-19 16:54:07 +08:00

11 lines
288 B
Plaintext

<view class="van-badge van-hairline custom-class {{ active ? 'van-badge--active' : '' }}" bind:tap="onClick">
<view class="van-badge__text">
<van-info
wx:if="{{ info !== null }}"
info="{{ info }}"
custom-style="right: 4px"
/>
{{ title }}
</view>
</view>