<!--pages/myWork/myWork.wxml 我的工单-->
<navBar></navBar>
<van-notify id="van-notify" />
<wux-refresher
  id="wux-refresher"
  bind:pulling="onPulling"
  bind:refresh="onRefresh"
  scrollTop="{{scrollTop}}"
>
<view class="myWork">
  <view class="head">
    <text>检索记录</text>
  </view>
  <scroll-view wx:if="{{tableData.length>0}}" type="list" scroll-y class="main">
    <block wx:for="{{tableData}}" wx:key="index">
      <myCard>
        <view slot="head_left">
          {{index}}{{item.name}}
        </view>
        <view slot="head_right">
          {{item.status}}
        </view>
        <view>
          content
        </view>
      </myCard>
    </block>
    <view class="loadData" wx:if="{{total && tableData.length>0}}">
      <view wx:if="{{total>tableData.length}}" bind:tap="loadMore">加载更多</view>
      <wux-spin wux-class="spin" size="small" wx:elif="{{loading}}"/>
      <view wx:elif="total>10">没有更多了</view>
    </view>
  </scroll-view>
  <van-empty wx:else description="暂无数据" />
</view>
</wux-refresher>