<view class="card_ranking">
  <view class="content">
    <van-tabs  active="{{active}}" tab-class="tag" tab-active-class="tag_active" bind:change="chooseType">
      <van-tab title="访问排名">
        <view class="header_list">
          <view class="header_box" wx:for="{{list}}" wx:key="index" data-item="{{item}}" catchtap="goToBackCard">
            <view class="order">{{ index + 1 }}、</view>
            <view class="header_name">
              <view class="header">
                <image src="{{item.card.card_avatar}}" />
              </view>
              <view class="text ul">
                <view class="name li">{{ item.card.card_name }}</view>
                <view class="grade li" wx:if="{{item.card.yz_member}}">
                  {{ item.card.yz_member.level.level_name }}
                </view>
              </view>
            </view>
            <view class="number">{{ item.visit }}</view>
          </view>
        </view>
      </van-tab>
      <van-tab title="收藏排名">
        <view class="header_list">
          <view class="header_box" wx:for="{{list}}" data-item="{{item}}" catchtap="goToBackCard" wx:key="index">
            <view class="order">{{ index + 1 }}、</view>
            <view class="header_name">
              <view class="header">
                <image src="{{item.card.card_avatar}}" />
              </view>
              <view class="text ul">
                <view class="name li">{{ item.card.card_name }}</view>
                <view class="grade li" wx:if="{{item.card.yz_member}}">
                  {{ item.card.yz_member.level.level_name }}
                </view>
              </view>
            </view>
            <view class="number">{{ item.collection }}</view>
          </view>
        </view>
      </van-tab>
      <van-tab title="靠谱排行">
        <view class="header_list">
          <view class="header_box" wx:for="{{list}}" data-item="{{item}}" catchtap="goToBackCard" wx:key="index">
            <view class="order">{{ index + 1 }}、</view>
            <view class="header_name">
              <view class="header">
                <image src="{{item.card.card_avatar}}" />
              </view>
              <view class="text ul">
                <view class="name li">{{ item.card.card_name }}</view>
                <view class="grade li" wx:if="{{item.card.yz_member}}">
                  {{ item.card.yz_member.level.level_name }}
                </view>
              </view>
            </view>
            <view class="number">{{ item.reliable }}</view>
          </view>
        </view>
      </van-tab>
    </van-tabs>
  </view>
</view>
<shopfoot></shopfoot>