1 |
- <view class="u-tabs data-v-035e7744"><view class="u-tabs__wrapper data-v-035e7744"><slot name="left"/><view class="u-tabs__wrapper__scroll-view-wrapper data-v-035e7744"><scroll-view scroll-x="{{e}}" scroll-left="{{f}}" scroll-with-animation enable-flex class="u-tabs__wrapper__scroll-view white-space data-v-035e7744" show-scrollbar="{{false}}" ref="u-tabs__wrapper__scroll-view"><view class="u-tabs__wrapper__nav data-v-035e7744" ref="u-tabs__wrapper__nav"><view wx:for="{{a}}" wx:for-item="item" wx:key="j" bindtap="{{item.k}}" ref="{{item.l}}" style="{{b + ';' + c}}" class="{{['u-tabs__wrapper__nav__item', 'data-v-035e7744', item.m, item.n]}}"><uni-badge wx:if="{{item.a}}" u-s="{{['d']}}" class="uni-badge-left-margin data-v-035e7744" u-i="{{item.e}}" bind:__l="__l" u-p="{{item.f}}"><text class="{{[item.c, 'u-tabs__wrapper__nav__item__text', 'data-v-035e7744']}}" style="{{item.d}}">{{item.b}}</text></uni-badge><text wx:else class="{{[item.h, 'u-tabs__wrapper__nav__item__text', 'data-v-035e7744']}}" style="{{item.i}}">{{item.g}}</text></view><view class="u-tabs__wrapper__nav__line data-v-035e7744" ref="u-tabs__wrapper__nav__line" style="{{d}}"></view></view></scroll-view></view><slot name="right"/></view></view>
|