rank.wxml 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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}}<label wx:if="{{match_day >= 0}}">(开赛{{match_day}}天)</label>
  33. <label wx:else>(休)</label>
  34. <image style="width:24rpx;" mode="widthFix" src="../../images/icon_down@2x.png"></image>
  35. </view>
  36. </picker>
  37. <navigator hover-class="none" class="search" url="../search/search?match_id={{match[index].id}}"><image mode="heightFix" src="../../images/ss2.png"></image></navigator>
  38. </view>
  39. <view class="top">
  40. <text>排名</text><text style="width:25%;text-align:center;">选手</text>
  41. <text>今日资产</text><text>今日收益</text><text>总盈亏</text>
  42. </view>
  43. <view class="list" wx:for="{{datas.groups}}" >
  44. <view class="title">
  45. {{item.name}}
  46. <!-- <text>({{item.players_num}}人)</text> -->
  47. <navigator hover-class="none" url="../list/list?id={{item.id}}&stock_date={{date}}">
  48. 查看全部<image mode="widthFix" src="../../images/right_icon.png"></image>
  49. </navigator>
  50. </view>
  51. <navigator hover-class="none" class="item" wx:for='{{item.players}}'
  52. 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}}">
  53. <image wx:if='{{i==0}}' mode="widthFix" src="../../images/1.png"></image>
  54. <image wx:if='{{i==1}}' mode="widthFix" src="../../images/2.png"></image>
  55. <image wx:if='{{i==2}}' mode="widthFix" src="../../images/3.png"></image>
  56. <text class="name">{{player.username}}</text>
  57. <text>{{player.today_fund}}万</text>
  58. <text class="{{player.today_income[0]=='-'?'down':'up'}}">{{player.today_income}}</text>
  59. <text class="{{player.total_income[0]=='-'?'down':'up'}}">{{player.total_income}}</text>
  60. </navigator>
  61. <view style="padding:10rpx 30rpx;position: relative;">
  62. <!-- <text class="note">日盈利<text class="up">5%</text>以上{{item.win_count}}人,日亏损<text class="down">5%</text>以上{{item.loss_count}}人</text> -->
  63. <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>
  64. <!-- <navigator hover-class="none" url="../comment/comment?id={{item.id}}" class="assess">顽主点评</navigator> -->
  65. <!-- <text class="note">点击选手,查看每日持股与交割单...</text> -->
  66. </view>
  67. </view>