We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e697c50 commit 293ee79Copy full SHA for 293ee79
uview-ui/components/u-tabs/u-tabs.vue
@@ -3,9 +3,9 @@
3
background: bgColor
4
}">
5
<!-- $u.getRect()对组件根节点无效,因为写了.in(this),故这里获取内层接点尺寸 -->
6
- <view :id="id">
+ <view>
7
<scroll-view scroll-x class="u-scroll-view" :scroll-left="scrollLeft" scroll-with-animation>
8
- <view class="u-scroll-box" :class="{'u-tabs-scorll-flex': !isScroll}">
+ <view class="u-scroll-box" :id="id" :class="{'u-tabs-scorll-flex': !isScroll}">
9
<view class="u-tab-item u-line-1" :id="'u-tab-item-' + index" v-for="(item, index) in list" :key="index" @tap="clickTab(index)"
10
:style="[tabItemStyle(index)]">
11
<u-badge :count="item[count] || item['count'] || 0" :offset="offset" size="mini"></u-badge>
0 commit comments