freezeList.wxml 1.7 KB

1234567891011121314151617181920212223242526272829
  1. <view class="content">
  2. <swiper bindchange="__e" class="swiper-box" current="{{tabCurrentIndex}}" data-event-opts="{{[ [ 'change',[ [ 'changeTab',['$event'] ] ] ] ]}}" duration="300">
  3. <swiper-item class="tab-content" wx:for="{{navList}}" wx:for-index="tabIndex" wx:for-item="tabItem" wx:key="tabIndex">
  4. <scroll-view bindscrolltolower="__e" class="list-scroll-content" data-event-opts="{{[ [ 'scrolltolower',[ [ 'loadData',['$event'] ] ] ] ]}}" scrollY="{{true}}">
  5. <empty bind:__l="__l" vueId="{{'c7775378-1-'+tabIndex}}" wx:if="{{tabItem.loaded===true&&tabItem.orderList.length===0}}"></empty>
  6. <view class="order-item flex" wx:for="{{tabItem.orderList}}" wx:key="index">
  7. <view class="title-box">
  8. <view class="time">
  9. <text>{{'单号:'+item.order_id}}</text>
  10. </view>
  11. <view class="time">
  12. <text>{{'用户:'+item.name}}</text>
  13. </view>
  14. <view class="time">
  15. <text>{{'支付:'+item.price}}</text>
  16. </view>
  17. <view class="time">
  18. <text>{{'时间:'+item.time}}</text>
  19. </view>
  20. </view>
  21. <view class="money">
  22. <text>{{(item.status==0?'+':'-')+item.money}}</text>
  23. </view>
  24. </view>
  25. <uni-load-more bind:__l="__l" status="{{tabItem.loadingType}}" vueId="{{'c7775378-2-'+tabIndex}}"></uni-load-more>
  26. </scroll-view>
  27. </swiper-item>
  28. </swiper>
  29. </view>