123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- <view class="per_top">
- <image src="{{datas.today_record.avatar}}" ></image>
- <view class="name">
- {{datas.today_record.username}}
- <view class="fans">
- <text>2626</text>粉丝
- <text style="margin-left: 20rpx;">2626</text>关注
- </view>
- </view>
- <block wx:if='{{type!=1}}'>
- <view class="follow" style="width:140rpx;" wx:if='{{is_follow}}' data-action='cancel' bindtap="followPlayer">取消关注</view>
- <view class="follow" wx:else bindtap="followPlayer">+ 关注</view>
- </block>
- <navigator class="follow" url="../change/change" wx:else>编辑</navigator>
- </view>
- <view class="style">
- <view wx:if='{{datas.today_record.style.length>0}}'>
- <text>风格</text><label wx:for='{{datas.today_record.style}}' class="tag">{{item}}</label>
- </view>
- <view>
- <text>股龄</text>6年
- </view>
- <view>
- <text>城市</text>重庆
- </view>
- <view>
- <text>跟踪股票</text>金刚玻璃、国机汽车、华夏银行
- </view>
- </view>
- <view class="style" style="margin: 0;">
- <view class="game">参赛 <picker>第49届顽主杯实盘大赛</picker></view>
- <view>
- <text>时间</text>{{datas.today_record.stock_date}}
- </view>
- <view>
- <text>排名</text>{{datas.today_record.group_rank}}({{datas.today_record.match_group_name}})
- </view>
- <view>
- <text>初始资产</text>{{datas.today_record.today_fund}}W
- </view>
- <view>
- <text>结束资产</text>{{datas.today_record.today_fund}}W( 收益<label class="{{datas.today_record.today_income[0]=='-' ?'down':'up'}}">{{datas.today_record.today_income}}</label>)
- </view>
- <view>
- <text>胜率</text>{{datas.today_record.win_rate}}(最大回撤 <label class="{{datas.today_record.badest_income[0]=='-' ?'down':'up'}}"> {{datas.today_record.badest_income}} </label>)
- </view>
- </view>
- <view class="content">
- <!-- <view class="title">收益曲线</view> -->
- <view class="container" wx:if='{{datas.records.length>0}}'>
- <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>
- <view wx:else class="{{item.income[0]=='-' ? 'down1':'up1'}}">
- {{item.day}}
- <text>{{item.income}}</text>
- </view>
- </view>
- </view>
- </view>
- <view class="days_stock">
- <view class="title">每日持股
- </view>
- <view class="stock" wx:for='{{stockList}}' wx:if="{{index<3}}">
- <navigator hover-class="none">
- <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">
- 持仓:
- <view wx:if='{{item.is_markt}}'>开超市</view>
- <view wx:elif='{{item.today_stock.length>0}}'>
- <block wx:for="{{item.today_stock}}" wx:for-item='i'> {{i.name}}({{i.fund}}w) </block>
- </view>
- <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 class="imgs">
- <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>
- <!-- <view class="look_all">
- <navigator hover-class="none" url="../day/day?id={{id}}&player_id={{player_id}}">
- 查看全部
- </navigator>
- </view> -->
- </view>
- <view wx:if="type==1" class="content" style="margin-top: 100rpx;"><view bindtap="logout" class="logout">退出登录</view></view>
|