1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <!--pages/avg/avg.wxml-->
- <view class="title"><text>{{match_name}}</text></view>
- <view wx:if="{{cur >= 0}}" class="tab">
- <view wx:for='{{list}}' bindtap="tabChange" data-id='{{index}}' class="{{index==cur?'act':''}}">
- {{index==0 ? '全体选手':item.name}}
- </view>
- </view>
- <view class="title_1">
- 总收益
- </view>
- <view class="info">
- 当日提交作业选手的单日平均盈亏累积,不含当日缺席选手
- </view>
- <view class="content">
- <view class="container" wx:if="{{days.length > 1}}">
- <ec-canvas ec="{{ ec }}">
- </ec-canvas>
- </view>
- </view>
- <view class="title_1">当日人均盈亏
- </view>
- <view class="info">算数平均
- </view>
- <view class="week_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>
|