rank.wxml 4.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <!-- <view class="_top">
  2. <navigator hover-class="none" url="../search/search"><image class="search" mode="heightFix" src="../../images/ss.png"></image></navigator>
  3. <picker mode="date" value="{{date}}" bindchange="bindDateChange">
  4. <view class="date-picker">
  5. {{date}}
  6. <image mode="heightFix" src="../../images/icon_rise@2x.png"></image>
  7. </view>
  8. </picker>
  9. </view> -->
  10. <view class="marquee_container" wx:if="{{info.signup_status==1}}">
  11. <!-- <view class="zd"></view> -->
  12. <!-- <image src="../../images/lb.png" mode="widthFix" class="notice"></image> -->
  13. <view class="marquee_text">
  14. {{info.name}}正在报名中
  15. <text>报名时间:{{info.signup_start_time}}到{{info.signup_end_time}}</text>
  16. </view>
  17. <navigator hover-class="none" url="../apply/apply?type=2">马上报名</navigator>
  18. <!-- <image class="signupPoint" mode="widthFix" src="../../images/right.png"></image> -->
  19. </view>
  20. <view class="game_info" wx:if='{{datas.match.name}}'>
  21. <!-- <image mode="widthFix" src="../../images/jiangbei.png"></image> -->
  22. <!-- <text>{{datas.match.name}}</text> -->
  23. <picker value="{{index}}" range="{{match}}" range-key='name' bindchange="bindChange">
  24. <view class="picker">
  25. {{match[index].name}}
  26. <image style="width:24rpx;" mode="widthFix" src="../../images/icon_down@2x.png"></image>
  27. </view>
  28. </picker>
  29. <!-- {{datas.match.start_time}}至{{datas.match.end_time}} -->
  30. <picker mode="date" value="{{date}}" bindchange="bindDateChange">
  31. <view class="date-picker">
  32. {{date}}
  33. <label wx:if="{{datas.match.end_time == date}}">
  34. (结束日)
  35. </label>
  36. <label wx:elif="{{match_day==0}}">(初始日)</label>
  37. <label wx:elif="{{match_day > 0}}">(开赛{{match_day}}天)</label>
  38. <label wx:else>(休)</label>
  39. <image style="width:24rpx;" mode="widthFix" src="../../images/icon_down@2x.png"></image>
  40. </view>
  41. </picker>
  42. <navigator hover-class="none" class="search" url="../search/search?match_id={{match[index].id}}"><image mode="heightFix" src="../../images/ss2.png"></image></navigator>
  43. </view>
  44. <view class="top">
  45. <text>排名</text><text style="width:25%;text-align:center;">选手</text>
  46. <text>今日资产</text><text>今日收益</text><text>总盈亏</text>
  47. </view>
  48. <view class="list" wx:for="{{datas.groups}}" >
  49. <view class="title">
  50. {{item.name}}
  51. <!-- <text>({{item.players_num}}人)</text> -->
  52. <navigator hover-class="none" url="../list/list?id={{item.id}}&stock_date={{date}}">
  53. 查看全部<image mode="widthFix" src="../../images/right_icon.png"></image>
  54. </navigator>
  55. </view>
  56. <navigator hover-class="none" class="item" wx:for='{{item.players}}'
  57. wx:for-index='i' wx:for-item='player' bind:tap="pushToday" data-match_id="{{item.match_id}}" data-record_id="{{player.id}}" data-user_id = "{{player.user_id}}">
  58. <image wx:if='{{i==0}}' mode="widthFix" src="../../images/1.png"></image>
  59. <image wx:if='{{i==1}}' mode="widthFix" src="../../images/2.png"></image>
  60. <image wx:if='{{i==2}}' mode="widthFix" src="../../images/3.png"></image>
  61. <text class="name">{{player.username}}</text>
  62. <text>{{player.today_fund}}w</text>
  63. <text class="{{player.today_income[0]=='-'?'down':'up'}}">{{player.today_income}}</text>
  64. <text class="{{player.total_income[0]=='-'?'down':'up'}}">{{player.total_income}}</text>
  65. </navigator>
  66. <view style="padding:10rpx 30rpx;position: relative;">
  67. <!-- <text class="note">日盈利<text class="up">5%</text>以上{{item.win_count}}人,日亏损<text class="down">5%</text>以上{{item.loss_count}}人</text> -->
  68. <text class="note">总盈亏人数比 <text class="up">{{item.total_income_win}}</text> : <text class="down">{{item.total_income_lose}}</text> 今日盈亏人数比 <text class="up">{{item.today_income_win}}</text> : <text class="down">{{item.today_income_lose}}</text> 缺席率 {{item.out_rate}}</text>
  69. <!-- <navigator hover-class="none" url="../comment/comment?id={{item.id}}" class="assess">顽主点评</navigator> -->
  70. <!-- <text class="note">点击选手,查看每日持股与交割单...</text> -->
  71. </view>
  72. </view>