-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathtabs.wxml
More file actions
9 lines (9 loc) · 811 Bytes
/
tabs.wxml
File metadata and controls
9 lines (9 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
<!--component/senior/tabs/tabs.wxml-->
<scroll-view class='component cus' scroll-x="{{ isScroll }}" style='{{ scrollStyle }}'>
<view class='content'>
<view class='item' data-cus="{{ dataCus[index] }}" data-index="{{ index }}" wx:for="{{ items }}" wx:key="{{ index }}" style='min-width: {{ itemWidth }}rpx; height: {{ height }}rpx' catchtap='onItemTap' >
<text class='text' style='color: {{ mSelected == index ? selectColor : textColor }};font-size: {{ textSize }}rpx;'>{{ item }}</text>
</view>
<view class='bottom-bar {{ theme == "smallBar" ? "small" : "" }}' style='background-color: {{ selectColor }}; left: {{ left }}px; right: {{ right }}px; bottom: {{ bottom }}rpx; transition: {{ transition }}; border-shadow: 0rpx 0rpx 10rpx 0rpx {{ selectColor }};'></view>
</view>
</scroll-view>