<view class="modal-container{{showSelectTabModal ? ' active' : ''}}" bindtap="hidePopup" catchtouchmove='true'/>
<view class="modal-content{{showSelectTabModal ? ' active' : ''}}" catchtouchmove='true'>

	<view class="modal-header">
		<image src="/assets/imgs/7_1_0/arrow-right.png" class="modal-to-back" mode="widthFix" bindtap="hidePopup" />
	</view>

	<view class="modal-info">
    <view class="tab-wrap">
      <view class="tab-list" wx:for="{{tabList}}" wx:key="{{index}}">
        <view class="tab-title" >
          <view class="tab-item-title">{{item.name}}</view>
          <view class="more-tab" wx:if="{{item.contentTagsList.length > 3}}">
            <text class="more-text" bindtap="getMoreTab" data-index="{{index}}">{{item.flag ? '收起' : '更多'}}</text>
            <image class="arrow-right" src="/assets/imgs/7_1_0/arrow-right.png"  mode="widthFix"></image>
          </view>
        </view>
        <view wx:if="{{idx<3}}" class="tab-item {{currentTab == tagItem.id ? 'active' : ''}}" wx:for="{{item.contentTagsList}}" wx:for-index="idx" wx:for-item="tagItem" wx:key="{{idx}}" bindtap="selectTab" data-id="{{tagItem.id}}" data-name="{{tagItem.name}}">{{tagItem.name}}</view>
        <view wx:if="{{idx>3 && item.flag}}" class="tab-item {{currentTab == tagItem.id ? 'active' : ''}}" wx:for="{{item.contentTagsList}}" wx:for-index="idx" wx:for-item="tagItem" wx:key="{{idx}}" bindtap="selectTab" data-id="{{tagItem.id}}" data-name="{{tagItem.name}}">{{tagItem.name}}</view>
        <!-- <view class="tab-item" wx:for="{{tabItems}}" wx:for-index="tabIndex" wx:for-item="moreTabItem" wx:key="{{tabIndex}}"  bindtap="selectTab" data-id="{{moreTabItem.id}}" data-name="{{moreTabItem.name}}">{{moreTabItem.name}}</view> -->
        <!-- <view class="tab-item">默认选项</view> -->
      </view>
    </view>

	</view>

	<view class="post-notes fixed-bottom0" bindtap="confirm">确认</view>
</view>


