<view class="containerView public">
    <van-tabs bind:click="tabClickSwitch" color="#4e96f8" border animated title-active-color="black" title-inactive-color="gray">
        <van-tab title="预约记录">
            <view class="itemView" wx:for="{{6}}">
                <view class="topView">
                    <view class="name">访客：张三</view>
                    <view class="status">待审核</view>
                </view>
                <view class="contentView">
                    <view class="dataView">
                        <van-icon name="manager" color="#cccccc" size="40rpx" />
                        <view class="msg">访问事由: 参观会议参观会议参观会议参观会议参观会议参观会议参观会议参观会议参观会议参观会议参观会议</view>
                    </view>
                    <view class="dataView">
                        <van-icon name="clock-o" color="#cccccc" size="40rpx" />
                        <view class="msg">2024-02-02 14:00</view>
                    </view>
                    <view class="btnView">
                        <view class="btn">查看详情</view>
                        <view class="btn" data-id="{{item}}" bind:tap="showDialog">审核</view>
                    </view>
                </view>
            </view>
        </van-tab>
        <van-tab title="预约审核" disabled="{{false}}">

        </van-tab>
    </van-tabs>

    <view class="submitBtn" bind:tap="goReservation">立即预约</view>

    <!-- 审核弹出框 -->
    <van-dialog use-slot title="审核" show="{{ dialogShow }}" show-confirm-button="{{false}}" show-cancel-button="{{false}}" close-on-click-overlay>
        <van-field input-class="textarea" bind:input="dialogInput" value="{{ dialogContent }}" type="textarea" placeholder="请输入描述信息" />
        <view class="dialogBtnView">
            <view class="rejectBtn" bind:tap="dialogReject">驳回</view>
            <view class="successBtn" bind:tap="dialogSuccess">通过</view>
        </view>
    </van-dialog>

</view>