1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <view class="per_top">
- <image src="{{datas.avatar}}" ></image>
- <view class="name">
- {{datas.username}}
- <view class="fans">
-
- <navigator url="../follow/follow?id={{user_id}}&type=2" style="display: inline-block;"><text>{{datas.fans}}</text>粉丝</navigator>
- <navigator url="../follow/follow?id={{user_id}}&type=1" style="display: inline-block;"><text style="margin-left: 20rpx;">{{datas.followers}}</text>关注</navigator>
- </view>
- </view>
- <view class="follow_black">
- <block wx:if='{{is_auth_user}}'>
- <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 class="lahei" wx:if='{{is_black}}' bindtap="cancelBlack">取消拉黑</view>
- <view class="lahei" wx:else bindtap="black">+ 拉黑</view>
- </block>
- <block wx:else>
- <navigator class="follow" url="../style/style" >编辑</navigator>
- <navigator class="lahei" url="../black/black" >黑名单</navigator>
- </block>
- </view>
- </view>
- <view class="style">
- <view wx:if='{{datas.style.length>0}}' style="padding-bottom: 0;">
- <text>风格</text>
- <view style="display: inline-block;width: 70%;vertical-align: top;"><label wx:for='{{datas.style}}' class="tag">{{item}}</label></view>
- </view>
- <view>
- <text>股龄</text>{{age}}年
- </view>
- </view>
- <view class="match">
- <view class="match_title">我的比赛</view>
- <view class="match_list" wx:for="{{matchlist}}" wx:key="item">
- <navigator hover-class="none" url='../matchdetail/matchdetail?user_id={{item.user_id}}&match_id={{item.match_id}}'>
- <view>
- <label class="match_name">{{item.match_info.name}}</label>
- <label class="match_group">{{item.match_group_info.name}}</label>
- </view>
- <view wx:if="{{item.match_info.match_status == 1}}">
- <view class="match_date">
- <label>比赛日期:{{item.match_info.start_time}} 至 {{item.match_info.end_time}} (未开始) </label>
- </view>
- <view class="match_day">
- <label>请在{{item.match_info.post_start_time}}收盘后提交作业</label>
- </view>
- </view>
- <view wx:else>
- <view class="match_money">
- <label>资产变化:{{item.today_record.init_fund}}w - {{item.today_record.today_fund}}w</label>
- </view>
- <view class="match_ratio">
- 总收益<label class="{{item.today_record.total_income[0]=='-' ?'down':'up'}}">{{item.today_record.total_income}}</label>
- 胜率<label class="{{item.today_record.total_income[0]=='-' ?'down':'up'}}">{{item.today_record.win_rate}}</label>
- 排名<label wx:if="{{item.today_record.stock_date==item.match_info.end_time}}" class="{{item.today_record.total_income[0]=='-' ?'down':'up'}}">{{item.today_record.group_rank}}</label>
- <label wx:else style="color: rgb(150, 150, 150);"> 未完赛</label>
- </view>
- </view>
-
- </navigator>
- </view>
- </view>
|