<wxs module="filters" src="../../utils/toFixed.wxs" />
<view class="up-down-view" wx:for="{{winLost}}" wx:for-item="list">
  <view class="up-title">
        {{list.match_name}}
  </view>
  <scroll-view 	scroll-x='{{true}}' >
    <view class="content-list">
      <view class="up-down">
        <text>盈利榜</text>
        <navigator wx:for="{{list.total_income_up}}"   hover-class="none"  url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
            <image wx:if="{{index<3}}" class="number" mode="widthFix" src="../../xiao/{{index+1}}.png"></image>
            <text wx:else class="number">{{index+1}}</text>
            <image class="avatar"   src="{{filters.defaultImg(item.avatar)}}"></image>
            <text class="usm">{{item.username}}</text>
            <text class="up">{{ filters.toFix2(item.total_income*100)}}%</text>
        </navigator>
      </view>
      <view class="up-down">
        <text>赚钱榜</text>
        <navigator wx:for="{{list.total_win_up}}" hover-class="none"  url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
            <image wx:if="{{index<3}}" class="number" mode="widthFix" src="../../xiao/{{index+1}}.png"></image>
            <text wx:else class="number">{{index+1}}</text>
            <image class="avatar"  src="{{filters.defaultImg(item.avatar)}}"></image>
            <text class="usm">{{item.username}}</text>
            <text class="up">{{ filters.toFix2(item.total_win)}}w</text>
        </navigator>
      </view>
      <view class="up-down">
        <text>亏损榜</text>
        <navigator wx:for="{{list.total_income_down}}" hover-class="none"  url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
            <image wx:if="{{index<3}}" class="number" mode="widthFix" src="../../xiao/{{index+1}}.png"></image>
            <text wx:else class="number">{{index+1}}</text>
            <image class="avatar"   src="{{filters.defaultImg(item.avatar)}}"></image>
            <text class="usm">{{item.username}}</text>
            <text class="down">{{ filters.toFix2(item.total_income*100)}}%</text>
        </navigator>
      </view>
      <view class="up-down">
        <text>亏钱榜</text>
        <navigator wx:for="{{list.total_win_down}}" hover-class="none"  url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
            <image wx:if="{{index<3}}" class="number" mode="widthFix" src="../../xiao/{{index+1}}.png"></image>
            <text wx:else class="number">{{index+1}}</text>
            <image class="avatar"   src="{{filters.defaultImg(item.avatar)}}"></image>
            <text class="usm">{{item.username}}</text>
            <text class="down">{{ filters.toFix2(item.total_win)}}w</text>
        </navigator>
      </view>
    </view>
  </scroll-view>
</view>
<view wx:if="{{winLost.length>0}}" class="end">~END~</view>
<view style="margin-top: 100rpx;" wx:else class="end">~正在加载~</view>