123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- <view bindtap="blur">
- <view class="per_top">
- <image src="{{datas.today_record.avatar}}" ></image>
- <view class="name">
- {{datas.today_record.username}}
- <view class="fans">
- <navigator url="../follow/follow?id={{user_id}}&type=2" style="display: inline-block;"><text>{{fans}}</text>粉丝</navigator>
- <navigator url="../follow/follow?id={{user_id}}&type=1" style="display: inline-block;"><text style="margin-left: 20rpx;">{{followers}}</text>关注</navigator>
- </view>
- </view>
- <navigator url="../homepage/homepage?id={{id}}&record_id={{record_id}}&user_id={{user_id}}">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_income[0]=='-' ?'down':'up'}}">{{datas.today_record.today_income_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>
- <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 class="label" wx:else>
- 空仓
- </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>
- </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 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="tab">
- <view data-id='0' class="{{page==0?'act':''}}">评论 {{comment_count}}</view>
- <view data-id='1' class="{{page==1?'act':''}}" >点赞 {{zan_count?zan_count:0}}</view>
- </view>
- <view class="content" wx:if='{{comment_list}}'>
- <view class="list" wx:for="{{comment_list}}">
- <image src="{{item.user_avatar}}" ></image>
- <view class="msg">
- <text class="_name">{{item.user_name}}</text>
- <view class="_content">{{item.content}}</view>
- <view class="answer" wx:if="{{item.children.length>0}}">
- <view wx:for="{{item.children}}" wx:for-item='i'>
- <text>{{i.user_name}}:</text>
- {{i.content}}</view>
- </view>
- <view class="addr">
- <text>{{item.ctime}}</text><text>来自{{item.location}}</text>
- <image wx:if="{{user_id==datas.today_record.user_id||item.user_id==user_id}}" class="del" data-id='{{item.id}}' data-name='{{item.user_name}}' catchtap="delmsg" mode="widthFix" src="../../images/delete.png"></image>
- <image data-id='{{item.id}}' data-name='{{item.user_name}}' catchtap="answer" mode="widthFix" src="../../images/msg.png"></image>
- </view>
- </view>
- </view>
- </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>
- <view class="post">
- <image class="{{zan?'zan':''}}" bindtap="zan" mode="widthFix" src="../../images/zan.png"></image>
- <input confirm-type='send' bindconfirm='sendmsg' value="{{comment}}" placeholder-style="color:#999" maxlength="1000" bindinput="inputchange" focus='{{focus}}' type="text" placeholder="{{text}}"/>
- <button bindtap="sendmsg">提交</button>
- </view>
|