<!--component/tabSort/tabSort.wxml-->
<view class="tab-sort" wx:if="{{categoryList}}">
	<!--<scroll-view scroll-x class="scroll-view_H" scroll-with-animation="{{true}}">-->
		<block
		 wx:for="{{categoryList}}"
		 wx:for-index="idx"
		 wx:for-item="item"
		 wx:key="idx"
		>
			<view
			 class="scroll-view-item {{currentTab == idx ?'active':''}}"
			 bindtap="switchTab"
			 data-current="{{idx}}"
			>
				{{item.title}}
			</view>
		</block>
	<!--</scroll-view>-->
</view>

