<view class="search">
    <image mode="heightFix" src="../../images/ss1.png"></image>
    <input bindinput="inputChange" placeholder-style="color:#999;" placeholder="选手名"></input>
    <text bindtap="search">搜索</text>
</view>
<view class="picker_tab">
  <picker  value="{{index1}}"  range="{{arr1}}" data-item='zq' data-id='1' bindchange="bindDateChange">
    <view class="picker">
      <text wx:if='{{index1<0}}'>周期</text>
      {{arr1[index1]}}
      <image mode="heightFix" src="../../images/icon_down@2x.png"></image>
    </view>
  </picker>
  <picker  value="{{index2}}"  range="{{arr2}}" data-item='cw'  data-id='2' bindchange="bindDateChange">
    <view class="picker">
    <text wx:if='{{index2<0}}'>仓位</text>
      {{arr2[index2]}}
      <image mode="heightFix" src="../../images/icon_down@2x.png"></image>
    </view>
  </picker>
  <picker  value="{{index3}}"  range="{{arr3}}" data-item='df' data-id='3' bindchange="bindDateChange">
    <view class="picker">
    <text wx:if='{{index3<0}}'>打法</text>
      {{arr3[index3]}}
      <image mode="heightFix" src="../../images/icon_down@2x.png"></image>
    </view>
  </picker>
</view>
<scroll-view scroll-y='{{true}}' bindscrolltolower='next'>
  <navigator hover-class="none" url="../homepage/homepage?user_id={{item.user_id}}" class="player" wx:for='{{list}}'>
    <view class="name">{{item.username}}  <text>{{item.badge}}</text></view>
    <view class="info" wx:if='{{item.style.length>0}}'>风格：
                <label class="tag" wx:for='{{item.style}}' wx:for-item='i'>{{i}}</label>
    </view>
    <view class="info">资产：
        <view><label>{{item.fund}}w</label> 
        （今日收益 <text  class="{{item.today_income[0]=='-' ?'down':'up'}}">{{item.today_income}}</text>
          总收益<text  class="{{item.total_income[0]=='-' ?'down':'up'}}">{{item.total_income}}</text>）
        </view>
    </view>
  </navigator>
  <block wx:if='{{total >= 20}}'>
    <view class='loading' wx:if='{{list.length < total}}'>上拉加载更多...</view>
  </block>
  <view wx:if="{{list.length<=0&&show}}" class="not_data">-暂无数据-</view>
</scroll-view>


