123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- <!--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>第{{datas.today_record.group_rank}}名</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="content">
- <view class="title">每月盈亏</view>
- <view class="month">
- <image bindtap="prev" mode="heightFix" src="../../images/left.png"></image>
- <picker mode="date" fields="month" value="{{date}}" bindchange="bindDateChange">
- <view class="date-picker">
- {{date}}
- <image mode="heightFix" src="../../images/icon_down@2x.png"></image>
- </view>
- </picker>
- <image bindtap="next" mode="heightFix" src="../../images/right.png"></image>
- </view>
- <view class="day">
- <text>日</text><text>一</text><text>二</text>
- <text>三</text><text>四</text><text>五</text><text>六</text>
- </view>
- <view class="days">
- <view wx:for='{{days}}'>
- <view wx:if='{{!item.income}}' style="color:#999;">
- {{item.day}}
- <text>{{item.income}}</text>
- </view>
- <navigator wx:else bind:tap="pushToday" data-match_id="{{match_id}}" data-record_id="{{item.record_id}}" data-user_id = "{{user_id}}" >
- <view class="{{item.income[0]=='-' ? 'down1':'up1'}}">
- {{item.day}}
- <text>{{item.income}}</text>
- </view>
- </navigator>
- </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>
|