123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- <!--pages/matchdetail/matchdetail.wxml-->
- <wxs module="filters" src="../../utils/toFixed.wxs" />
- <view class="{{total_money[0]=='-' ?'head_loss':'head'}}">
- <view class="head_title">{{datas.match.name}}</view>
- <view class="head_bsyk">比赛盈亏</view>
- <view class="head_money">{{total_money}}</view>
- <view class="head_ratio" >
- 收益: <label>{{datas.today_record.total_income}}</label>
- 排名: <label wx:if="{{datas.today_record.stock_date==datas.match.end_time}}">第{{datas.today_record.group_rank}}名</label>
- <label wx:else > 未完赛</label>
- </view>
- </view>
- <view class="style" style="margin: 0;">
- <view>
- 比赛日期: {{datas.match.start_time}} 至 {{datas.match.end_time}}
- </view>
- <view>
- 我的分组: {{datas.match_group_info.name}}
- </view>
- <view>
- 初始资产: {{datas.today_record.init_fund}}w
- </view>
- <view>
- 结束资产: {{datas.today_record.today_fund}}w
- </view>
- </view>
- <view wx:if='{{datas.records.length>1}}'>
- <view class="title">收益曲线</view>
- </view>
- <view class="content">
- <view class="container" wx:if='{{datas.records.length>1}}'>
- <ec-canvas ec="{{ ec }}">
- </ec-canvas>
- </view>
- </view>
- <view class="title">每日收益</view>
- <view class="week_view">
- <view wx:if='{{days.length>0}}'>
- <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 ?'week_incom down':'up'}}">{{item.total}}%</text>
- </view>
- </view>
- </view>
- </view>
- <view class="title">每日持股</view>
- <view class="days_stock">
- <view class="stock" wx:for='{{datas.records}}'>
- <navigator hover-class="none" bind:tap="pushToday" data-match_id="{{item.match_id}}" data-record_id="{{item.id}}" data-user_id = "{{item.user_id}}">
- <view class="relist">
- <image src="{{filters.defaultImg(item.avatar)}}"></image>
- <view class="msg">
- <text class="name">{{item.username}}</text>
- </view>
- <view class="msg">
- <text class="date">{{item.stock_date}}</text>
- </view>
- </view>
- <view class="item_money"><label class="item_money_title">资产 </label>{{item.today_fund}}w <label class="item_money_title"> 总收益 </label> <label class="{{item.total_income[0]=='-' ?'down':'up'}}">{{item.total_income}}</label> <label class="item_money_title"> 今日收益 </label><label class="{{item.today_income[0]=='-' ?'down':'up'}}">{{item.today_income}}</label>
- </view>
- <view class="experience" wx:if="{{item.experience}}">{{item.experience}}</view>
- <view class="info" wx:if='{{item.wanzhu_comment}}'>
- 顽主点评:{{item.wanzhu_comment}}
- </view>
- <view class="imgs" wx:if="{{role != 0}}">
- <image wx:for='{{item.today_stock_img}}' wx:for-item='i' bindtap="preview" data-src='{{i}}' data-urls='{{item.today_stock_img}}'
- class="img" src="{{i}}"></image>
- </view>
- <view class="recomment">
- <image mode="widthFix" src="../../images/msg.png"></image>
- <text>{{item.comments_count}}</text>
- <image mode="widthFix" src="../../images/zan.png"></image>
- <text>{{item.zans}}</text>
- </view>
- </navigator>
- <!-- <navigator hover-class="none" bind:tap="pushToday" data-match_id="{{item.match_id}}" data-record_id="{{item.id}}" data-user_id = "{{user_id}}" >
- <view class="info">
- <view class="date"> {{item.stock_date}}(今日收益 <text class="{{item.today_income[0]=='-' ?'down':'up'}}">{{item.today_income}}</text>)</view>
- </view>
- <view class="info">
- <view>资产: <label>{{item.today_fund}}w</label> (总收益 <text class="{{item.total_income[0]=='-' ?'down':'up'}}">{{item.total_income}}</text>)</view>
- </view>
-
- <view class="info">
- 持仓:<label wx:if='{{item.is_markt}}'>开超市</label>
- <label wx:elif='{{item.today_stock.length>0}}'>
- <block wx:for="{{item.today_stock}}" wx:for-item='i'>{{i.name}}({{i.fund}}w) </block>
- </label>
- <view wx:else>空仓</view>
- </view>
- <view class="info" wx:if='{{item.experience}}'>
- 今日反思:{{item.experience}}
- </view>
- <view class="info" wx:if='{{item.wanzhu_comment}}'>
- 顽主点评:{{item.wanzhu_comment}}
- </view>
- </navigator> -->
-
-
- </view>
- </view>
|