index.wxml 972 B

123456789101112131415161718192021222324
  1. <view class="container">
  2. <view class="recharge-order">
  3. <scroll-view bindscrolltolower="onPageDown" scroll-y style="height: {{ scrollHeight }}px">
  4. <view wx:for="{{ list.data }}" wx:key="this" class="order-item dis-flex flex-x-between flex-y-center">
  5. <view class="item-left flex-box">
  6. <view class="rec-status">
  7. <text>{{ item.describe }}</text>
  8. </view>
  9. <view class="rec-time">
  10. <text>{{ item.create_time }}</text>
  11. </view>
  12. </view>
  13. <view class="item-right {{ item.value > 0 ? 'col-green' : 'col-6' }}">
  14. <text>{{ item.value > 0 ? '+' : '' }}{{ item.value }}</text>
  15. </view>
  16. </view>
  17. <!-- 没有记录 -->
  18. <view class="yoshop-notcont" wx:if="{{ !list.data.length && !isLoading }}">
  19. <text class="iconfont icon-wushuju"></text>
  20. <text class="cont">亲,暂无账单明细哦</text>
  21. </view>
  22. </scroll-view>
  23. </view>
  24. </view>