index.wxml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <t-tabs defaultValue="{{0}}" bind:change="onTabsChange" bind:click="onTabsClick" t-class="custom-tabs">
  2. <t-tab-panel label="待接单" value="0" badge-props="{{ { count: 0, offset: ['-16rpx', '8rpx'] } }}"/>
  3. <t-tab-panel label="待开始" value="4" badge-props="{{ { count: 0, offset: ['-16rpx', '8rpx'] } }}"/>
  4. <t-tab-panel label="暂停" value="1" badge-props="{{ { count: 0, offset: ['-16rpx', '8rpx'] } }}"/>
  5. <t-tab-panel label="进行中" value="2" badge-props="{{ { count: 0, offset: ['-16rpx', '8rpx'] } }}"/>
  6. <t-tab-panel label="已完成" value="3" badge-props="{{ { count: 0, offset: ['-16rpx', '8rpx'] } }}"/>
  7. </t-tabs>
  8. <t-pull-down-refresh
  9. style="padding-bottom:60px"
  10. value="{{baseRefresh.value}}"
  11. loadingProps="{{loadingProps}}"
  12. loadingTexts="{{['下拉刷新', '松手刷新', '正在刷新', '刷新完成']}}"
  13. bind:refresh="onPullDownRefresh"
  14. bind:scrolltolower="onReachBottom"
  15. >
  16. <view style="padding:10px">
  17. <view>
  18. <card wx:for="{{list}}" url="{{'/pages/workOrderDetail/index?id=' + item.sa_workorderid}}" wx:key="index">
  19. <view style="width: 40px;" slot="left">
  20. <view class="type">{{item.type}}</view>
  21. </view>
  22. <view style="flex:1" slot="content">
  23. <view>
  24. {{item.province}}{{item.city}}{{item.county}}{{item.address}}
  25. </view>
  26. <view class="colorInfo small">
  27. 指派日期:{{item.createdate}}
  28. </view>
  29. <view class="colorInfo small">
  30. 当前工序:{{item.now}}
  31. </view>
  32. </view>
  33. <view class="flex-align-center" slot="right">
  34. <view class="colorInfo small">
  35. {{item.status}}
  36. </view>
  37. </view>
  38. </card>
  39. </view>
  40. </view>
  41. </t-pull-down-refresh>