<view ref='saveChildRef0'>
  <view class='tab'>
    <view
      class='item'
      data-index='{{0}}'
      data-type='click'
      onTap='antmoveAction'
      data-antmove-tap='changeSwiper'
    >
      <image src="../../static/comment/{{currentPage === 0?'pending_records_cur.svg':'pending_records.svg'}}">
      </image>
      <text class="text-{{currentPage === 0?'blue':'grey'}}">
        {{international.Apply_record[language]}}
      </text>
    </view>
    <view
      class='item'
      data-index='{{1}}'
      data-type='click'
      onTap='antmoveAction'
      data-antmove-tap='changeSwiper'
    >
      <image src="../../static/comment/{{currentPage === 1?'invite_records_cur.svg':'invite_records.svg'}}">
      </image>
      <text class="text-{{currentPage === 1?'blue':'grey'}}">
        {{international.Invited_record[language]}}
      </text>
    </view>
  </view>
  <custom-swiper
    class='card-area'
    current='{{currentPage}}'
    duration='200'
    data-type='slide'
    onChange='changeSwiper'
  >
    <custom-swiper-item>
      <scroll-view
        class='scroll-area'
        scroll-y='{{currentPage==0}}'
        data-type='{{2}}'
        onScrollToLower='reachBottom'
      >
        <zyh-card-visit
          a:for='{{list_apply}}'
          label-title='{{international.Access_time[language]}} :'
          value-title='{{item.startTime}} ~ {{item.endTime}}'
          label-name="{{international.Visit_name[language]}} :  {{item.name || '***'}}"
          label-phone="{{international.Visit_unit[language]}} : {{item.visiteeCompany || '***'}}"
          type='{{item.reviewStatus}}'
          a:key='{{*this}}'
          data-item='{{item}}'
          onClick='goDteail'
          ref-numbers='{{list_apply}}'
          ref='saveChildRef1'
        >
        </zyh-card-visit>
        <zyh-tail-tip
          total='{{total}}'
          pageNum='{{pageNum}}'
          loadding='{{false}}'
          ref='saveChildRef2'
        >
        </zyh-tail-tip>
      </scroll-view>
    </custom-swiper-item>
    <custom-swiper-item>
      <scroll-view
        class='scroll-area'
        scroll-y='{{currentPage==1}}'
        data-type='{{2}}'
        onScrollToLower='reachBottom'
      >
        <zyh-card-visit
          a:for='{{list_invite}}'
          label-title='{{international.Access_time[language]}} :'
          value-title='{{item.startTime}} ~ {{item.endTime}}'
          label-name="{{international.Visit_name[language]}} : {{item.name || '暂未接受'}}"
          label-phone="{{international.Visit_unit[language]}} : {{item.visiteeCompany || '***'}}"
          type='{{item.reviewStatus}}'
          a:key='{{*this}}'
          data-item='{{item}}'
          onClick='goDteail'
          ref-numbers='{{list_invite}}'
          ref='saveChildRef3'
        >
        </zyh-card-visit>
        <zyh-tail-tip
          total='{{total}}'
          pageNum='{{pageNum}}'
          loadding='{{false}}'
          ref='saveChildRef4'
        >
        </zyh-tail-tip>
      </scroll-view>
    </custom-swiper-item>
  </custom-swiper>
</view>