<!-- packageE/others/rank/skin_result.wxml -->
<view id="skin_rank">
  <view class="self-rank">
    <view class="self-rank-child triangle-topright">
      <view class="rank-color">NO.{{member.ranking}}</view>
      <view>排名</view>
    </view>
    <view class="self-rank-child rank-member">
      <image src="{{member.member.avatar}}" alt="" class="avator" />
      <view class="nickname">{{member.member.nickname}}</view>
    </view>
    <view class="self-rank-child triangle-topleft">
      <view class="rank-color">{{member.composite_score}}</view>
      <view>颜值</view>
    </view>
  </view>
  <view class="rank-list">
    <view class="list" wx:for="{{ranking_list.data}}" wx:key="index">
      <view class="rank-num">
        <view wx:if="{{index == 0}}">
          <image class="medal" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/gold_medal.png" alt="" />
        </view>
        <view wx:if="{{index == 1}}">
          <image class="medal" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/silver_medal.png" alt="" />
        </view>
        <view wx:if="{{index == 2}}">
          <image class="medal" src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/copper_medal.png" alt="" />
        </view>
        <view wx:if="{{index > 2}}">{{ index + 1 }}</view>
      </view>
      <image src="{{item.member.avatar}}" alt="" class="avator" />
      <view class="nickname">{{item.member.nickname}}</view>
      <view class="total">颜值：{{item.composite_score}}</view>
    </view>
  </view>
  <view class="btn-box " style="{{iPnoneBottomBol?'bottom: 170rpx;':'bottom: 100rpx;'}}">
    <view class="btn" catchtap="goindex">我要测肤</view>
  </view>
</view>
<kFoot exshow="{{true}}" wx:if="{{kFootshow}}"></kFoot>
<shopfoot bindtabrshow="tabrshowbtn"></shopfoot>