123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <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>
- <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>
- </block>
- <navigator class="follow" url="../style/style" wx:else>编辑</navigator>
- </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 == 2}}">
- <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.today_income[0]=='-' ?'down':'up'}}">{{item.today_record.total_income}}</label>
- 胜率<label class="{{item.today_record.today_income[0]=='-' ?'down':'up'}}">{{item.today_record.win_rate}}</label>
- 排名<label class="{{item.today_record.today_income[0]=='-' ?'down':'up'}}">{{item.today_record.rank}}</label>
- </view>
- </view>
-
- </navigator>
- </view>
- </view>
|