<!--component/tabSort/tabSort.wxml-->
<view class="tab-sort" wx:if="{{navData}}">
	<scroll-view scroll-x class="scroll-view_H" scroll-with-animation="{{true}}">
		<block
		 wx:for="{{navData}}"
		 wx:for-index="idx"
		 wx:for-item="navItem"
		 wx:key="idx"
		>
			<view
			 class="scroll-view-item {{currentTab == idx ?'active':''}}"
			 style="width:{{navItemWidth}}%"
			 data-current="{{idx}}"
			 data-startTimeStr="{{navItem.startTimeStr}}"
			 data-endTimeStr="{{navItem.endTimeStr}}"
			 data-btnText="{{navItem.buttonText}}"
			 data-id="{{navItem.id}}"
			 bindtap="switchNav"
			>
				<view>{{navItem.label}}</view>
			</view>
		</block>
	</scroll-view>
	<view class="scroll-view-right">
    <image class="right-img" src="./../../assets/imgs/7_1_0/scancode.png" mode="widthFix" lazy-load="false" binderror="" bindload="" />
    <text class="active vip-text" selectable="false" space="false" decode="false">会员码</text>
  </view>
</view>
<!-- 页面内容 -->
<!--<view>
	<swiper
	 current="{{currentTab}}"
	 duration="300"
	 bindchange="switchTab"
	>
		<swiper-item
		 wx:for="{{navData}}"
		 wx:for-item="navItem"
		 wx:for-index="idx"
		 wx:key="idx"
		 class="tab-content-clock"
		>
			<view>{{navItem.label}}</view>
		</swiper-item>
	</swiper>
</view>-->

