|
|
@@ -1,5 +1,48 @@
|
|
|
-
|
|
|
-<view class="player">
|
|
|
+<view class="per_top">
|
|
|
+ <image src="../../images/page1.png" ></image>
|
|
|
+ <view class="name">
|
|
|
+ {{datas.today_record.username}}
|
|
|
+ <view class="fans">
|
|
|
+ <text>2626</text>粉丝
|
|
|
+ <text style="margin-left: 20rpx;">2626</text>关注
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="follow" style="width:140rpx;" wx:if='{{is_follow}}' data-action='cancel' bindtap="followPlayer">取消关注</view>
|
|
|
+ <view class="follow" wx:else bindtap="followPlayer">+ 关注</view>
|
|
|
+</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="player">
|
|
|
<view class="name">{{datas.today_record.username}} <text>{{datas.today_record.badge}}</text>
|
|
|
<view style="width:140rpx;" wx:if='{{is_follow}}' data-action='cancel' bindtap="followPlayer">取消关注</view>
|
|
|
<view wx:else bindtap="followPlayer">+关注</view></view>
|
|
|
@@ -9,7 +52,6 @@
|
|
|
</view>
|
|
|
<view class="info">
|
|
|
排名: <view>{{datas.today_record.group_rank}}
|
|
|
- <!-- /{{datas.today_record.players_num}} -->
|
|
|
({{datas.today_record.match_group_name}})</view>
|
|
|
</view>
|
|
|
<view class="info">
|
|
|
@@ -22,7 +64,6 @@
|
|
|
<view class="info">
|
|
|
今日资产:
|
|
|
<label> {{datas.today_record.today_fund}}w</label>
|
|
|
- <!-- <text style="color:#F5F5F5;display:block;height:0;"> </text> -->
|
|
|
(总收益<text class="{{datas.today_record.total_income[0]=='-' ?'down':'up'}}"> {{datas.today_record.total_income}}</text>)
|
|
|
</view>
|
|
|
<view class="info">初始资产:
|
|
|
@@ -40,36 +81,10 @@
|
|
|
空仓
|
|
|
</view>
|
|
|
</view>
|
|
|
-</view>
|
|
|
-<view class="page_top">
|
|
|
- <view wx:if='{{datas.today_record.today_stock.length>0&&datas.today_record.today_stock.length<9}}' class="container" style="height:400rpx;">
|
|
|
- <ec-canvas id="mychart-dom-pie" canvas-id="mychart-pie" ec="{{ ec1 }}"></ec-canvas>
|
|
|
- </view>
|
|
|
- <view wx:if='{{datas.today_record.today_stock.length>8}}' class="container" style="height:550rpx;">
|
|
|
- <ec-canvas id="mychart-dom-pie" canvas-id="mychart-pie" ec="{{ ec1 }}"></ec-canvas>
|
|
|
- </view>
|
|
|
- <!-- <view class="legend">
|
|
|
- <view>久盛电气 80w</view>
|
|
|
- <view>久盛电气 80w</view>
|
|
|
- <view>久盛电气 80w</view>
|
|
|
- </view> -->
|
|
|
-</view>
|
|
|
+</view> -->
|
|
|
|
|
|
-<view class="imgs" wx:if='{{datas.today_record.today_stock_img.length>0}}'>
|
|
|
- <view class="title">交割单</view>
|
|
|
- <image wx:for='{{datas.today_record.today_stock_img}}' wx:for-item='i' bindtap="preview" data-src='{{i}}' data-urls='{{datas.today_record.today_stock_img}}'
|
|
|
- class="img" src="{{i}}"></image>
|
|
|
-</view>
|
|
|
-<view class="content" wx:if='{{datas.today_record.experience}}'>
|
|
|
- <view class="title">今日反思</view>
|
|
|
- {{datas.today_record.experience?datas.today_record.experience:'无'}}
|
|
|
-</view>
|
|
|
-<view class="content" wx:if='{{datas.today_record.wanzhu_comment}}'>
|
|
|
- <view class="title">顽主点评</view>
|
|
|
- {{datas.today_record.wanzhu_comment?datas.today_record.wanzhu_comment:'无'}}
|
|
|
-</view>
|
|
|
<view class="content">
|
|
|
- <view class="title">收益曲线</view>
|
|
|
+ <!-- <view class="title">收益曲线</view> -->
|
|
|
<view class="container" wx:if='{{datas.records.length>0}}'>
|
|
|
<ec-canvas ec="{{ ec }}">
|
|
|
</ec-canvas>
|
|
|
@@ -111,7 +126,7 @@
|
|
|
<view class="stock" wx:for='{{stockList}}' wx:if="{{index<3}}">
|
|
|
<navigator hover-class="none">
|
|
|
<view class="info">
|
|
|
- <view>{{item.stock_date}}(今日收益 <text class="{{item.today_income[0]=='-' ?'down':'up'}}">{{item.today_income}}</text>)</view>
|
|
|
+ <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>
|
|
|
@@ -128,9 +143,9 @@
|
|
|
<view class="info" wx:if='{{item.experience}}'>
|
|
|
今日反思:{{item.experience}}
|
|
|
</view>
|
|
|
- <view class="info" wx:if='{{item.wanzhu_comment}}'>
|
|
|
+ <!-- <view class="info" wx:if='{{item.wanzhu_comment}}'>
|
|
|
顽主点评:{{item.wanzhu_comment}}
|
|
|
- </view>
|
|
|
+ </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}}'
|