抖音c端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
673 B

  1. <view class="i-class i-tabs-tab {{ scroll ? 'i-tabs-tab-scroll' : '' }} {{ current ? 'i-tabs-tab-current' : '' }}" bindtap="handleClickItem">
  2. <i-badge dot="{{ dot }}" count="{{ dot ? 0 : count }}">
  3. <view>
  4. <view class="i-tabs-tab-title {{ current ? 'i-tabs-tab-title-current' : '' }}" tt:if="{{ current && currentColor }}" style="color: {{ currentColor }}">{{
  5. title }}</view>
  6. <view class="i-tabs-tab-title {{ current ? 'i-tabs-tab-title-current' : '' }}" tt:else>{{ title }}</view>
  7. </view>
  8. </i-badge>
  9. <view class="i-tabs-tab-bar" tt:if="{{ current }}" style="background: {{ currentColor }}"></view>
  10. </view>