<!--shoppingGuid/page/pages/selectUsers/selectUsers.wxml-->
<view class='top-tags'>
    <!-- <view class='search-box'>
      <view class='search'>
        <image src='/assets/imgs/shoppingGuide/search.png' mode='aspectFit'></image>
        <input maxlength='20' placeholder='请输入标签名称搜索'></input>
      </view>
    </view> -->
    <!-- tags -->
    <view class='tags-types'>
      <view class='tag-items {{item.isActive ? "active" : ""}}' 
      wx:for="{{navBar}}"
      wx:key="topbar"
      wx:for-index="idx"
      bindtap='onTopBarTap'
      data-index="{{idx}}"
      data-item="{{item}}"
      wx:for-item="item">{{item.name}}</view>

    </view>
    <!-- 标签s -->
    <view class='tags'>
      <view class='flex'>
        <view class='lf'>
          <view class='tag-item {{item.isActive ? "active" : ""}}' 
          wx:for="{{groups}}"
          wx:key="groups"
          wx:for-index="idx"
          bindtap='onTapSelectGroup'
          data-index="{{idx}}"
          data-item="{{item}}"
          wx:if="{{idx < 3}}"
          wx:for-item="item">{{item.name}}</view>
        </view>
        <view class='rg' bindtap='onTapExpandOrInpand'>{{isOpen ? "收起" : "展开"}}</view>
      </view>
    </view>
</view>
<!--  -->
<!-- class='hover-items {{item.isActive ? "active" : ""}}' -->
<!-- 浮层 -->
<view class='tag-hover  {{isOpen ? "show" : ""}}'>
    <view 
    class='hover-items {{item.isActive ? "active" : ""}}'
    wx:for="{{groups}}"
    wx:key="allGroups"
    bindtap='onTapSelectGroup'
    wx:for-index="idx"
    data-index="{{idx}}"
    data-item="{{item}}"
    wx:for-item="item">{{item.name}}</view>
</view>
<!-- 具体的数据 -->
<view class='list'>
  <view class='list-item' 
  wx:for="{{tags}}"
  wx:key="tags"
  wx:for-index="idx"
  data-index="{{idx}}"
  data-item="{{item}}"
  wx:for-item="item"
  bindtap='onTapToTagUserList'>
    <view class='lf-icon'>
      <image src='/assets/imgs/shoppingGuide/icon_tag.png' mode='aspectFit'></image>
    </view>
    <view class='rg-info'>
      <view class='info-top'>
        <label>{{item.name}}</label>
        <view><text>{{item.memberCount}}</text>人</view>
      </view>
      <view class='info-desc'>
        <label>{{item.desc}}</label>
      </view>
    </view>
  </view>
  <!-- empty -->
  
  <!-- 沒有更多數據啦 -->
  <!-- <view class='no-more-data' wx:if="{{!noMoreData}}">--- 到底啦 ---</view> -->
</view>
<view class='empty' wx:if="{{tags.length == 0}}">
  {{noTag ? "暂无数据~" : "数据加载中.."}}
</view>
<!-- 悬浮我的全部会员 -->
<!-- <view class='all-members' bindtap='onTapToMyMemberList'>全部</view> -->

