<!-- <view class="_top">
  <navigator hover-class="none" url="../search/search"><image class="search" mode="heightFix" src="../../images/ss.png"></image></navigator>
  <picker mode="date" value="{{date}}"  bindchange="bindDateChange">
                <view class="date-picker">
                   {{date}}
                   <image  mode="heightFix"  src="../../images/icon_rise@2x.png"></image>
                </view>
  </picker>
  
</view> -->
<view  class="marquee_container" wx:if="{{info.signup_status==1}}">
  <!-- <view class="zd"></view> -->
  <!-- <image src="../../images/lb.png" mode="widthFix" class="notice"></image> -->
    <view class="marquee_text">
      {{info.name}}正在报名中
      <text>报名时间：{{info.signup_start_time}}到{{info.signup_end_time}}</text> 
    </view>
    <navigator hover-class="none" url="../apply/apply?type=2">马上报名</navigator>
    <!-- <image class="signupPoint" mode="widthFix" src="../../images/right.png"></image> -->
</view>


<view class="game_info" wx:if='{{datas.match.name}}'>
    <!-- <image   mode="widthFix" src="../../images/jiangbei.png"></image> -->
    <!-- <text>{{datas.match.name}}</text> -->
    <picker  value="{{index}}"  range="{{match}}" range-key='name' bindchange="bindChange">
      <view class="picker">
        {{match[index].name}}
        <image style="width:24rpx;" mode="widthFix" src="../../images/icon_down@2x.png"></image>
      </view>
    </picker>
    <!-- {{datas.match.start_time}}至{{datas.match.end_time}} -->
    <picker mode="date" value="{{date}}"  bindchange="bindDateChange">
                <view class="date-picker">
                   {{date}}<label wx:if="{{match_day >= 0}}">(开赛{{match_day}}天)</label>
                   <label wx:else>(休)</label>

                   <image style="width:24rpx;" mode="widthFix" src="../../images/icon_down@2x.png"></image>
                </view>
    </picker>
    <navigator hover-class="none" class="search" url="../search/search?match_id={{match[index].id}}"><image  mode="heightFix" src="../../images/ss2.png"></image></navigator>
</view>
<view class="top">
    <text>排名</text><text style="width:25%;text-align:center;">选手</text>
    <text>今日资产</text><text>今日收益</text><text>总盈亏</text>
</view>
<view class="list" wx:for="{{datas.groups}}" >
    <view class="title">
        {{item.name}} 
        <!-- <text>（{{item.players_num}}人）</text> -->
        <navigator hover-class="none" url="../list/list?id={{item.id}}&stock_date={{date}}">
          查看全部<image mode="widthFix" src="../../images/right_icon.png"></image>
        </navigator>
    </view> 
    <navigator hover-class="none" class="item" wx:for='{{item.players}}' 
    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}}">
        <image wx:if='{{i==0}}' mode="widthFix" src="../../images/1.png"></image>
        <image wx:if='{{i==1}}' mode="widthFix" src="../../images/2.png"></image>
        <image wx:if='{{i==2}}' mode="widthFix" src="../../images/3.png"></image>
        <text class="name">{{player.username}}</text>
        <text>{{player.today_fund}}万</text>
        <text  class="{{player.today_income[0]=='-'?'down':'up'}}">{{player.today_income}}</text>
        <text  class="{{player.total_income[0]=='-'?'down':'up'}}">{{player.total_income}}</text>
    </navigator>
    <view style="padding:10rpx 30rpx;position: relative;">
      <!-- <text class="note">日盈利<text class="up">5%</text>以上{{item.win_count}}人，日亏损<text class="down">5%</text>以上{{item.loss_count}}人</text> -->
      <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>
      <!-- <navigator hover-class="none" url="../comment/comment?id={{item.id}}" class="assess">顽主点评</navigator> -->
        <!-- <text class="note">点击选手，查看每日持股与交割单...</text> -->
    </view>
</view>