index.wxml 1.2 KB

12345678910111213141516171819202122232425
  1. <t-pull-down-refresh value="{{baseRefresh.value}}" loadingProps="{{loadingProps}}" loadingTexts="{{loadingTexts}}" bind:refresh="onPullDownRefresh" bind:scrolltolower="onReachBottom">
  2. <view style="padding:10px;">
  3. <t-card wx:for="{{list}}" wx:key="sa_orderid" data-item="{{item}}" bindtap="onClick">
  4. <view style="flex:1" slot="content">
  5. <view class="flex-align-center flex-between card__header">
  6. <view>
  7. <t-tag class="mr-5" wx:if="{{item.type}}" variant="light" shape="round" theme="primary" size="small">{{language[item.type]||item.type}}</t-tag>
  8. <t-tag class="mr-5" wx:if="{{item.tradefield}}" variant="light" shape="round" theme="primary" size="small">{{language[item.tradefield]||item.tradefield}}</t-tag>
  9. </view>
  10. <view>
  11. {{language[item.status]||item.status}}
  12. </view>
  13. </view>
  14. <view class="card__body">
  15. <view>
  16. {{language['标准订单']||'标准订单'}}:{{item.sonum}}
  17. </view>
  18. <view class="small colorInfo">
  19. {{language['单据时间']||'单据时间'}}:{{item.billdate}}
  20. </view>
  21. </view>
  22. </view>
  23. </t-card>
  24. </view>
  25. </t-pull-down-refresh>