|
@@ -85,9 +85,73 @@
|
|
|
<view class="up-down-view">
|
|
|
<view class="up-title">
|
|
|
{{winLost.match_name}}
|
|
|
- <navigator url="../winlost/winlost">历届最高<image class="more-image" mode="widthFix" src="../../images/right_icon.png"></image></navigator>
|
|
|
+ <navigator url="../winlost/winlost">历届<image class="more-image" mode="widthFix" src="../../images/right_icon.png"></image></navigator>
|
|
|
</view>
|
|
|
- <scroll-view scroll-x='{{true}}' >
|
|
|
+ <scroll-view style="height: 200rpx;" scroll-x='{{true}}' wx:if='{{groups}}'>
|
|
|
+ <view class="group_list">
|
|
|
+ <view wx:for='{{groups.group_win_lose_list}}' class="g_list">
|
|
|
+ <image mode="widthFix" wx:if="{{item.today_income_avg[0]=='-'}}" src="../../images/indexlose@2x.png"></image>
|
|
|
+ <image mode="widthFix" wx:else src="../../images/indexwin@2x.png"></image>
|
|
|
+ <view>{{item.match_group_name}}</view>
|
|
|
+ <text class="fund {{item.today_income_avg[0]=='-' ?'down':'up'}}">{{item.today_fund}}</text>
|
|
|
+ <text class="{{item.today_income_avg[0]=='-' ?'down':'up'}}">{{item.today_income_avg}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </scroll-view>
|
|
|
+ <view class="today">
|
|
|
+ 今日盈亏人数比 <text class="up">{{groups.win_cnt}}</text>:{{groups.lose_cnt}}
|
|
|
+ 今日人均收益(算数平均) <text class="{{groups.today_win_lose_avg[0]=='-' ?'down':'up'}}">{{groups.today_win_lose_avg}}</text>
|
|
|
+ </view>
|
|
|
+
|
|
|
+ <view class="tab">
|
|
|
+ <view wx:for='{{tabs1}}' bindtap="tabChange1" data-id='{{index}}' class="{{index==cur1?'act':''}}">{{item}}</view>
|
|
|
+</view>
|
|
|
+
|
|
|
+<swiper class="swiper-content" style="padding:10rpx 25rpx;" current='{{cur1}}' bindchange='curChange1'>
|
|
|
+ <swiper-item class="up-down">
|
|
|
+ <view class="title_1">
|
|
|
+ <text>涨幅</text><text>资产(w)</text><text>收益(w)</text>
|
|
|
+ </view>
|
|
|
+ <navigator wx:for="{{winLost.total_win_up}}" hover-class="none" url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
|
|
|
+ <image wx:if="{{index<3}}" class="number" mode="widthFix" src="../../xiao/{{index+1}}.png"></image>
|
|
|
+ <text wx:else class="number">{{index+1}}</text>
|
|
|
+ <text class="usm">{{item.username}}</text>
|
|
|
+
|
|
|
+ <text class="text up">{{ filters.toFix2(item.total_income*100)}}%</text>
|
|
|
+ <text class="text">{{item.today_fund}}</text>
|
|
|
+ <text class="text up">{{item.today_fund}}</text>
|
|
|
+ </navigator>
|
|
|
+ </swiper-item>
|
|
|
+ <swiper-item class="up-down">
|
|
|
+ <view class="title_1">
|
|
|
+ <text>涨幅</text><text>资产(w)</text><text>收益(w)</text>
|
|
|
+ </view>
|
|
|
+ <navigator wx:for="{{winLost.total_income_up}}" hover-class="none" url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
|
|
|
+ <image wx:if="{{index<3}}" class="number" mode="widthFix" src="../../xiao/{{index+1}}.png"></image>
|
|
|
+ <text wx:else class="number">{{index+1}}</text>
|
|
|
+ <text class="usm">{{item.username}}</text>
|
|
|
+
|
|
|
+ <text class="text up">{{ filters.toFix2(item.total_income*100)}}%</text>
|
|
|
+ <text class="text">{{item.today_fund}}</text>
|
|
|
+ <text class="text up">{{item.today_fund}}</text>
|
|
|
+ </navigator>
|
|
|
+ </swiper-item>
|
|
|
+ <swiper-item class="up-down">
|
|
|
+ <view class="title_1">
|
|
|
+ <text>涨幅</text><text>资产(w)</text><text>收益(w)</text>
|
|
|
+ </view>
|
|
|
+ <navigator wx:for="{{winLost.total_income_down}}" hover-class="none" url="../today/today?id={{item.match_id}}&record_id={{item.id}}&user_id={{item.user_id}}">
|
|
|
+ <image wx:if="{{index<3}}" class="number" mode="widthFix" src="../../xiao/{{index+1}}.png"></image>
|
|
|
+ <text wx:else class="number">{{index+1}}</text>
|
|
|
+ <text class="usm">{{item.username}}</text>
|
|
|
+
|
|
|
+ <text class="text down">{{ filters.toFix2(item.total_income*100)}}%</text>
|
|
|
+ <text class="text">{{item.today_fund}}</text>
|
|
|
+ <text class="text down">{{item.today_fund}}</text>
|
|
|
+ </navigator>
|
|
|
+ </swiper-item>
|
|
|
+</swiper>
|
|
|
+ <scroll-view style="display: none;" scroll-x='{{true}}' >
|
|
|
<view class="content-list">
|
|
|
<view class="up-down">
|
|
|
<text>盈利榜</text>
|