1234567891011121314151617181920212223242526272829 |
- <!--pages/comment/comment.wxml-->
- <scroll-view scroll-y='{{true}}' bindscrolltolower='next'>
- <navigator hover-class="none" class="list" wx:for='{{list}}' bind:tap="pushToday" data-match_id="{{item.match_id}}" data-record_id="{{item.id}}" data-user_id = "{{item.user_id}}">
- <view class="name">{{item.username}} <text>选手</text> <view>TOP <text>{{item.group_rank}}</text></view></view>
- <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.init_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="comment">
- <text>顽主点评</text>
- {{item.wanzhu_comment}}
- </view>
- </navigator>
- <block wx:if='{{total >= 20}}'>
- <view class='loading' wx:if='{{list.length < total}}'>上拉加载更多...</view>
- </block>
- <view wx:if="{{list.length<=0&&show}}" class="not_data">-暂无数据-</view>
- </scroll-view>
|