hotuser.wxml 1.5 KB

123456789101112131415161718192021222324252627
  1. <scroll-view scroll-y='{{true}}' bindscrolltolower='next'>
  2. <view class="item3">
  3. <navigator hover-class="none" class="win" wx:for='{{list}}' url="../homepage/homepage?id={{item.match_id}}&user_id={{item.id}}">
  4. <image wx:if="{{index<3}}" class="number" mode="widthFix" src="../../xiao/{{index+1}}.png"></image>
  5. <text wx:else class="number">{{index+1}}</text>
  6. <view class="name">
  7. {{item.player_name}} <text>{{item.badge}}</text>
  8. <view>关注
  9. <text>{{item.count}}</text>
  10. </view>
  11. </view>
  12. <view class="info" wx:if='{{item.style.length>0}}'>风格:
  13. <label class="tag" wx:for='{{item.style}}' wx:for-item='i'>{{i}}</label></view>
  14. <view class="info">
  15. 资产
  16. <label style="margin-right: 10rpx;">{{item.today_fund}}w</label>总收益
  17. <text class="{{item.total_income[0]=='-' ?'down':'up'}}" > {{item.total_income}} </text>
  18. <text style="margin-left: 10rpx;">胜率</text>
  19. <text class="{{item.win_rate[0]=='-' ?'down':'up'}}"> {{item.win_rate}} </text>
  20. </view>
  21. </navigator>
  22. </view>
  23. <block wx:if='{{total >= 20}}'>
  24. <view class='loading' wx:if='{{list.length < total}}'>上拉加载更多...</view>
  25. </block>
  26. </scroll-view>