123456789101112131415161718192021222324 |
- <view class="top">
- <text>排名</text><text style="width:25%;text-align:center;">选手</text><text>初始资产</text>
- <text>今日资产</text><text>总盈亏</text>
- </view>
- <scroll-view scroll-y="true" class="list" bindscrolltolower='next'>
- <navigator class="item" wx:for='{{list}}' url="../gameDetail/gameDetail?id={{item.match_id}}&record_id={{item.id}}">
- <image wx:if='{{item.group_rank==1}}' mode="widthFix" src="../images/1.png"></image>
- <image wx:if='{{item.group_rank==2}}' mode="widthFix" src="../images/2.png"></image>
- <image wx:if='{{item.group_rank==3}}' mode="widthFix" src="../images/3.png"></image>
- <text style="width:36rpx;text-align:center;" wx:if='{{item.group_rank>3}}'>{{item.group_rank}}</text>
- <text class="name">{{item.username}}</text>
- <text>{{item.fund}}w</text>
- <text>{{item.today_fund}}w</text>
- <text class="{{item.total_income[0]=='-'?'down':'up'}}">{{item.total_income}}</text>
- </navigator>
-
- <block wx:if='{{total >= 20}}'>
- <view class='more' wx:if='{{list.length < total}}'>上拉加载更多...</view>
- <!-- <view class='more' wx:else>已加载全部数据!</view> -->
- </block>
- <view>
- <text class="note">点击选手,查看每日持股与交割单...</text>
- </view>
- </scroll-view>
|