<view class="container">
  <van-tabs active="{{ active }}" bind:change="onChange" color="#0079fe">
    <van-tab title="访客记录" name="a">
      <view class="visitorView">
        <view class="visitListView">
          <view class="itemView">
            <view class="itemTop">
              <view>访客：张三</view>
              <view>待审核</view>
            </view>
            <view class="itemBottom">
              <view>
                <view class="infoView">
                  <van-icon name="user-o" />
                  <view>访问事由: 拜访刘总</view>
                </view>
                <view class="infoView">
                  <van-icon name="clock-o" />
                  <view>2024-02-02 14:00</view>
                </view>
              </view>
              <view>访客预约</view>
            </view>
          </view>
        </view>
      </view>
    </van-tab>
    <van-tab title="预约审核" name="b">
      <view class="visitorView" bind:tap="toCheckFn">
        <view class="visitListView">
          <view class="itemView">
            <view class="itemTop">
              <view>访客：张三</view>
              <view>待审核</view>
            </view>
            <view class="checkBottom">
              <view>
                <view class="infoView">
                  <van-icon name="user-o" />
                  <view>访问事由: 拜访刘总</view>
                </view>
                <view class="infoView">
                  <van-icon name="clock-o" />
                  <view>2024-02-02 14:00</view>
                </view>
              </view>
              <van-button round type="info" size="small" bind:click="toCheckFn">去审核</van-button>
            </view>
          </view>
        </view>
      </view></van-tab>
  </van-tabs>
</view>