todayExp.wxml 1.7 KB

12345678910111213141516171819202122232425262728
  1. <wxs module="filters" src="../../utils/toFixed.wxs" />
  2. <scroll-view scroll-y='{{true}}' bindscrolltolower='next'>
  3. <view class="up-down">
  4. <navigator wx:for="{{list}}" hover-class="none" bind:tap="pushToday" data-match_id="{{item.match_id}}" data-record_id="{{item.id}}" data-user_id = "{{item.user_id}}">
  5. <view class="relist">
  6. <image src="{{filters.defaultImg(item.avatar)}}"></image>
  7. <view class="msg">
  8. <text class="name">{{item.username}}</text>
  9. </view>
  10. <view class="msg">
  11. <text class="date">{{item.stock_date}}</text>
  12. </view>
  13. </view>
  14. <view class="item_money"><label class="item_money_title">资产 </label>{{item.today_fund}}w <label class="item_money_title"> 总收益 </label> <label class="{{item.total_income[0]=='-' ?'down':'up'}}">{{item.total_income}}</label> <label class="item_money_title"> 今日收益 </label><label class="{{item.today_income[0]=='-' ?'down':'up'}}">{{item.today_income}}</label>
  15. </view>
  16. <view class="content" wx:if="{{item.experience}}">{{item.experience}}</view>
  17. <view class="recomment">
  18. <image mode="widthFix" src="../../images/msg.png"></image>
  19. <text>{{item.comments_count}}</text>
  20. <image mode="widthFix" src="../../images/zan.png"></image>
  21. <text>{{item.zans_count}}</text>
  22. </view>
  23. </navigator>
  24. </view>
  25. <block wx:if='{{total >= 20}}'>
  26. <view class='loading' wx:if='{{list.length < total}}'>上拉加载更多...</view>
  27. </block>
  28. </scroll-view>