index.wxml 211 B

12345
  1. <view class="i-class i-badge">
  2. <slot></slot>
  3. <view class="i-badge-dot" wx:if="{{ dot }}"></view>
  4. <view class="i-badge-count i-class-alone" wx:elif="{{ count !== 0 }}">{{ finalCount }}</view>
  5. </view>