index.wxml 319 B

1234567
  1. <view class="l-badge" mut-bind:tap="handleTap">
  2. <slot/>
  3. <block wx:if="{{show}}">
  4. <view wx:if="{{dot}}" class="l-badge-dot l-class l-class-self l-self-class"></view>
  5. <view wx:else class="{{'l-badge-content-'+shape}} l-badge-content l-class l-class-self l-self-class">{{finalCount}}</view>
  6. </block>
  7. </view>