canyin-project/ybcy/miniApp/components/custom-tabs-page-linkge/u-tabs-swiper/custom-tabs-swiper.wxml
2024-11-01 16:07:54 +08:00

1 line
1.1 KiB
Plaintext

<view class="u-tabs data-v-79048b0a" style="{{'z-index:'+(zIndex)+';'+('background:'+(bgColor)+';')+('padding:'+(BgPaddings)+';')}}"><scroll-view class="u-scroll-view data-v-79048b0a" style="{{'z-index:'+(zIndex+1)+';'+('width:'+(width)+';')}}" scroll-x="{{true}}" scroll-left="{{scrollLeft}}" scroll-with-animation="{{true}}"><view class="{{['u-tabs-scroll-box data-v-79048b0a',(!isScroll)?'u-tabs-scorll-flex':'']}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['emit',[index]]]]]}}" class="{{['u-tabs-item data-v-79048b0a',preId+index]}}" style="{{item.s0}}" bindtap="__e"><u-badge vue-id="{{'0cec2958-1-'+index}}" count="{{item.$orig[count]||item.$orig['count']||0}}" offset="{{offset}}" size="mini" class="data-v-79048b0a" bind:__l="__l"></u-badge>{{''+(item.$orig[name]||item.$orig['name'])+''}}</view></block><block wx:if="{{showBar}}"><view class="u-scroll-bar data-v-79048b0a" style="{{('height:'+activeItemStyle.height+';'+'line-height:'+activeItemStyle.lineHeight+';')}}"></view></block></view></scroll-view></view>