|
|
@@ -1,46 +1,46 @@
|
|
|
-
|
|
|
-<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>
|
|
|
- <view class="infos">
|
|
|
- <view class="info" wx:if='{{datas.today_record.style.length>0}}'>风格:
|
|
|
- <label wx:for='{{datas.today_record.style}}' class="tag">{{item}}</label>
|
|
|
- </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">
|
|
|
- 胜率: <view>{{datas.today_record.win_rate}}(最大回撤 <text class="{{datas.today_record.badest_income[0]=='-' ?'down':'up'}}"> {{datas.today_record.badest_income}} </text>)</view>
|
|
|
- </view>
|
|
|
- <view class="info">
|
|
|
- 日期: <view>{{datas.today_record.stock_date}}(今日收益
|
|
|
- <text class="{{datas.today_record.today_income[0]=='-' ?'down':'up'}}">{{datas.today_record.today_income}}</text>)</view>
|
|
|
- </view>
|
|
|
- <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">初始资产:
|
|
|
- <label>{{datas.today_record.init_fund}}w</label>
|
|
|
- </view>
|
|
|
- <view class="bottom" wx:if='{{datas.today_record.today_record.is_markt}}'>
|
|
|
+<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>
|
|
|
+ <navigator>Ta的主页</navigator>
|
|
|
+</view>
|
|
|
+<view class="per_info">
|
|
|
+ <view class="rank">
|
|
|
+ <view class="jp"><image src="../../images/jp.png" ></image></view>
|
|
|
+ <view class="num">{{datas.today_record.group_rank}}</view>
|
|
|
+ 排名
|
|
|
+ </view>
|
|
|
+ <view class="today_income">{{datas.today_record.today_fund}}
|
|
|
+ <text class="{{datas.today_record.today_income[0]=='-' ?'down':'up'}}">{{datas.today_record.today_income}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="label">今日收益</view>
|
|
|
+ <view class="data" style="padding-right:30rpx;border-right: 1px solid rgba(245, 245, 245, 1);">
|
|
|
+ <text class="label">日期</text><text>{{datas.today_record.stock_date}}</text>
|
|
|
+ <text class="label">今日资产</text><text>{{datas.today_record.today_fund}}W</text>
|
|
|
+ <view wx:if='{{datas.today_record.today_record.is_markt}}'>
|
|
|
开超市
|
|
|
- </view>
|
|
|
- <view class="bottom" wx:elif='{{datas.today_record.today_stock_total>0}}'>
|
|
|
-
|
|
|
- 今日持仓 <text>{{datas.today_record.today_stock_total}}W</text>
|
|
|
- 仓位 <text>{{datas.today_record.cangwei}}</text>
|
|
|
- </view>
|
|
|
- <view class="bottom" wx:else>
|
|
|
+ </view>
|
|
|
+ <block wx:elif='{{datas.today_record.today_stock_total>0}}'>
|
|
|
+ <text class="label">今日持仓</text><text>{{datas.today_record.today_stock_total}}W</text>
|
|
|
+ </block>
|
|
|
+ <view wx:else>
|
|
|
空仓
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="data" style="padding-left:30rpx;">
|
|
|
+ <text class="label">胜率</text><text>{{datas.today_record.win_rate}}</text>
|
|
|
+ <text class="label">总收益</text><text class="{{datas.today_record.total_income[0]=='-' ?'down':'up'}}"> {{datas.today_record.total_income}}</text>
|
|
|
+ <block wx:if='{{datas.today_record.today_stock_total>0}}'>
|
|
|
+ <text class="label">仓位</text><text>{{datas.today_record.cangwei}}</text>
|
|
|
+ </block>
|
|
|
+ </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>
|
|
|
@@ -64,83 +64,39 @@
|
|
|
<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="container" wx:if='{{datas.records.length>0}}'>
|
|
|
- <ec-canvas ec="{{ ec }}">
|
|
|
- </ec-canvas>
|
|
|
- </view>
|
|
|
+
|
|
|
+<view class="tab">
|
|
|
+ <view bindtap="tab" data-id='0' class="{{page==0?'act':''}}">评论 123 <text></text></view>
|
|
|
+ <view bindtap="tab" data-id='1' class="{{page==1?'act':''}}">点赞 123<text></text></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 class="list">
|
|
|
+ <image src="../../images/page1.png" ></image>
|
|
|
+ <view class="msg">
|
|
|
+ <text class="_name">茂名哥</text>
|
|
|
+ <view class="_content">北交所11月12日宣布,目前各项准备工作均已就绪,定于11月15日正式开市。截至11月12日,累计有210万户投资者预约开通北交所合格投资者权限,开市后合计可参与北交所交易的投资者超400万户。</view>
|
|
|
+ <view class="answer">
|
|
|
+ <text>湖南顽主:</text>一定要注意我的回复我的回复我的
|
|
|
+ 回复我的回复我的回复我的回复我的回复我的
|
|
|
+ 回复我的回复我的回复
|
|
|
+ </view>
|
|
|
+ <view class="addr">
|
|
|
+ <text>04-29 18:12</text><text>来自北京</text>
|
|
|
+ <image bindtap="answer" mode="widthFix" src="../../images/msg.png"></image>
|
|
|
+ </view>
|
|
|
</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>{{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 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="post">
|
|
|
+ <image mode="widthFix" src="../../images/zan.png"></image>
|
|
|
+ <input focus='{{focus}}' type="text" placeholder="留言"/>
|
|
|
+ <button>提交</button>
|
|
|
</view>
|
|
|
|
|
|
+
|