|
@@ -81,33 +81,61 @@
|
|
|
<navigator hover-class="none" url="../detail/detail?id={{item.id}}" wx:for="{{notices}}">{{item.name}}</navigator>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
-<view class="up-down-view">
|
|
|
- <view class="up-title">
|
|
|
- {{winLost.match_name}}<label wx:if="{{match_day >= 0}}">开赛第{{match_day}}天</label>
|
|
|
- <navigator url="../winlost/winlost">历届<image class="more-image" mode="widthFix" src="../../images/right_icon.png"></image></navigator>
|
|
|
+<view class="up-down-view" style="padding: 0 25rpx;">
|
|
|
+ <view class="article-title" style="padding: 20rpx 0;">
|
|
|
+ <navigator url="">每天
|
|
|
+ <image class="more-image" mode="widthFix" src="../../images/right_icon.png"></image>
|
|
|
+ </navigator>
|
|
|
+ 短线盈亏效应
|
|
|
</view>
|
|
|
- <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" data-index='{{index}}' bind:tap="tapGroup">
|
|
|
+ <view class="group_list" wx:if='{{groups.today_win_lose_avg}}'>
|
|
|
+ <view class="g_list" data-index='0' bind:tap="tapGroup">
|
|
|
+ <image mode="widthFix" wx:if="{{groups.today_win_lose_avg[0]=='-'}}" src="../../images/indexlose@2x.png"></image>
|
|
|
+ <image mode="widthFix" wx:else src="../../images/indexwin@2x.png"></image>
|
|
|
+ <view>全体选手</view>
|
|
|
+ <text class="fund {{groups.today_win_lose_avg[0]=='-' ?'down':'up'}}">{{filters.toFix2(groups.total_fund)}}</text>
|
|
|
+ <text class="{{groups.today_win_lose_avg[0]=='-' ?'down':'up'}}">{{groups.today_win_lose_avg}}</text>
|
|
|
+ </view>
|
|
|
+ <view wx:for='{{groups.group_win_lose_list}}' class="g_list" data-index='{{index+1}}' bind:tap="tapGroup">
|
|
|
<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.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">
|
|
|
+</view>
|
|
|
+<view class="up-down-view" style="padding: 25rpx;">
|
|
|
+ <view class="article-title" > 选手人均盈亏</view>
|
|
|
+ <view wx:if='{{days.length>0}}' class=" ">
|
|
|
+ <view wx:for='{{days}}' wx:if='{{item.data.length>0}}' class="yk">
|
|
|
+ <view class="week_name">{{item.name}}</view>
|
|
|
+ <view class="week_incom">
|
|
|
+ <view wx:for='{{item.data}}' wx:for-item='week' class="{{week.today_income=='0.0%' ?'none':''}} {{week.today_income[0]=='-' ?'down':'up'}}">
|
|
|
+ {{week.date}}
|
|
|
+ <text>{{week.today_income}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="week_total">
|
|
|
+ 周收益
|
|
|
+ <text class="{{item.total < 0 ?'down':'up'}}">{{item.total}}%</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+</view>
|
|
|
+
|
|
|
+<view class="up-down-view" style="padding: 0 25rpx;">
|
|
|
+ <view class="today" wx:if='{{0}}'>
|
|
|
今日盈亏人数比 <text class="up" style="font-weight: 500;">{{groups.win_cnt}}</text> : <text class="down" style="font-weight: 500;">{{groups.lose_cnt}} </text>
|
|
|
今日人均收益(算数平均)
|
|
|
<!-- <text class="{{groups.today_win_lose_avg[0]=='-' ?'down':'up'}}" style="font-weight: 500;">{{groups.today_win_lose_avg}}</text> -->
|
|
|
<text class="{{groups.today_win_lose_avg[0]=='-' ?'down':'up'}}" style="font-weight: 500;text-decoration: underline;" bind:tap="tapAvg">{{groups.today_win_lose_avg}}</text>
|
|
|
</view>
|
|
|
-
|
|
|
+ <view class="up-title">
|
|
|
+ {{winLost.match_name}}<label wx:if="{{match_day >= 0}}">开赛第{{match_day}}天</label>
|
|
|
+ <navigator url="../winlost/winlost">历届<image class="more-image" mode="widthFix" src="../../images/right_icon.png"></image></navigator>
|
|
|
+ <view style="color: #999;font-size: 24rpx;margin-top: 5px;">比赛日期:{{winLost.start_time}}至{{winLost.end_time}}</view>
|
|
|
+ </view>
|
|
|
<view class="tab">
|
|
|
<view wx:for='{{tabs1}}' bindtap="tabChange1" data-id='{{index}}' class="{{index==cur1?'act':''}}">{{item}}</view>
|
|
|
</view>
|