|
@@ -18,15 +18,15 @@
|
|
|
<scroll-view scroll-y='{{true}}' bindscrolltolower='next'>
|
|
<scroll-view scroll-y='{{true}}' bindscrolltolower='next'>
|
|
|
<view class="item1" wx:for='{{followList}}'>
|
|
<view class="item1" wx:for='{{followList}}'>
|
|
|
<navigator url="../today/today?id={{item.match_id}}&record_id={{item.id}}&player_id={{item.player_id}}">
|
|
<navigator url="../today/today?id={{item.match_id}}&record_id={{item.id}}&player_id={{item.player_id}}">
|
|
|
- <view class="name">{{item.username}} <text>选手</text>
|
|
|
|
|
- <view>TOP <text>{{item.match_group}}</text></view></view>
|
|
|
|
|
|
|
+ <view class="name">{{item.username}} <text>{{item.badge}}</text>
|
|
|
|
|
+ <view>TOP <text>{{item.group_rank}}</text></view></view>
|
|
|
<view class="info">
|
|
<view class="info">
|
|
|
日期: <view>{{item.stock_date}}(收益
|
|
日期: <view>{{item.stock_date}}(收益
|
|
|
- <text class="{{item.today_income<0 ?'down':'up'}}">{{item.today_income}}%</text>)</view>
|
|
|
|
|
|
|
+ <text class="{{item.today_income[0]=='-' ?'down':'up'}}">{{item.today_income}}</text>)</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="info">
|
|
<view class="info">
|
|
|
资产: <view><label>{{item.today_fund}}w</label> (收益
|
|
资产: <view><label>{{item.today_fund}}w</label> (收益
|
|
|
- <text class="{{item.total_income<0 ?'down':'up'}}">{{item.total_income}}%</text>)</view>
|
|
|
|
|
|
|
+ <text class="{{item.total_income[0]=='-' ?'down':'up'}}">{{item.total_income}}</text>)</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="info">
|
|
<view class="info">
|
|
|
持仓: <view>
|
|
持仓: <view>
|
|
@@ -64,7 +64,7 @@
|
|
|
<view class="gp-name">{{item.stock_name}}</view>
|
|
<view class="gp-name">{{item.stock_name}}</view>
|
|
|
<view class="num">持仓 <text>{{item.count}}</text> 人</view>
|
|
<view class="num">持仓 <text>{{item.count}}</text> 人</view>
|
|
|
</navigator>
|
|
</navigator>
|
|
|
- <navigator class="more">查看更多 <image mode="widthFix" src="../../images/right_icon.png"></image></navigator>
|
|
|
|
|
|
|
+ <navigator url="../stock/stock" class="more">查看更多 <image mode="widthFix" src="../../images/right_icon.png"></image></navigator>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="hot">
|
|
<view class="hot">
|
|
|
<view class="tab2">热门清仓</view>
|
|
<view class="tab2">热门清仓</view>
|
|
@@ -89,17 +89,19 @@
|
|
|
<image wx:if='{{index==2}}' mode="widthFix" src="../../images/3.png"></image>
|
|
<image wx:if='{{index==2}}' mode="widthFix" src="../../images/3.png"></image>
|
|
|
<text class="rank" wx:if='{{index>2}}'>{{index+1}}</text>
|
|
<text class="rank" wx:if='{{index>2}}'>{{index+1}}</text>
|
|
|
<view class="name">
|
|
<view class="name">
|
|
|
- {{item.username}} <text>选手</text>
|
|
|
|
|
- <view>胜率 <text>{{item.win_rate}}%</text></view>
|
|
|
|
|
|
|
+ {{item.username}} <text>{{item.badge}}</text>
|
|
|
|
|
+ <view>胜率
|
|
|
|
|
+ <text class="{{item.win_rate[0]=='-' ?'down':'up'}}">{{item.win_rate}}</text>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="info">风格:
|
|
<view class="info">风格:
|
|
|
<label class="tag" wx:for='{{item.style}}' wx:for-item='i'>{{i}}</label></view>
|
|
<label class="tag" wx:for='{{item.style}}' wx:for-item='i'>{{i}}</label></view>
|
|
|
<view class="info">
|
|
<view class="info">
|
|
|
资产:
|
|
资产:
|
|
|
- <view><label>{{item.total_income}}w</label> (总收益 <text class='up'> +8% </text>
|
|
|
|
|
|
|
+ <view><label>{{item.init_fund}}w</label> (总收益 <text class='up'> {{item.total_income}} </text>
|
|
|
<text style="color:#F5F5F5;"> | </text>
|
|
<text style="color:#F5F5F5;"> | </text>
|
|
|
<text style="font-weight:500;color:#666;">最大回撤</text>
|
|
<text style="font-weight:500;color:#666;">最大回撤</text>
|
|
|
- <text class='down'> {{badest_income}}% </text>)
|
|
|
|
|
|
|
+ <text class="{{item.badest_income[0]=='-' ?'down':'up'}}"> {{item.badest_income}} </text>)
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</navigator>
|
|
</navigator>
|
|
@@ -115,18 +117,19 @@
|
|
|
<image wx:if='{{index==2}}' mode="widthFix" src="../../images/3.png"></image>
|
|
<image wx:if='{{index==2}}' mode="widthFix" src="../../images/3.png"></image>
|
|
|
<text class="rank" wx:if='{{index>2}}'>{{index+1}}</text>
|
|
<text class="rank" wx:if='{{index>2}}'>{{index+1}}</text>
|
|
|
<view class="name">
|
|
<view class="name">
|
|
|
- {{item.username}} <text>选手</text>
|
|
|
|
|
- <view>最大回撤 <text>{{item.badest_income}}%</text></view>
|
|
|
|
|
|
|
+ {{item.username}} <text>{{item.badge}}</text>
|
|
|
|
|
+ <view>最大回撤
|
|
|
|
|
+ <text class="{{item.badest_income[0]=='-' ?'down':'up'}}">{{item.badest_income}}</text></view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="info">风格:
|
|
<view class="info">风格:
|
|
|
<label class="tag" wx:for='{{item.style}}' wx:for-item='i'>{{i}}</label></view>
|
|
<label class="tag" wx:for='{{item.style}}' wx:for-item='i'>{{i}}</label></view>
|
|
|
<view class="info">
|
|
<view class="info">
|
|
|
资产:
|
|
资产:
|
|
|
- <view><label>{{item.total_income}}w</label>
|
|
|
|
|
- (总收益 <text class='up'> +8% </text>
|
|
|
|
|
|
|
+ <view><label>{{item.init_fund}}w</label>
|
|
|
|
|
+ (总收益 <text class="{{item.total_income[0]=='-' ?'down':'up'}}">{{item.total_income}}</text>
|
|
|
<text style="color:#F5F5F5;"> | </text>
|
|
<text style="color:#F5F5F5;"> | </text>
|
|
|
胜率
|
|
胜率
|
|
|
- <text class='down'> -8% </text>)
|
|
|
|
|
|
|
+ <text class="{{item.win_rate[0]=='-' ?'down':'up'}}">{{item.win_rate}}</text> )
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</navigator>
|
|
</navigator>
|