<!DOCTYPE html>
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <script th:replace="common/head"></script>
    <link xmlns:th="http://www.thymeleaf.org" rel="stylesheet" th:href="${'/css/estate/access.css'}" media="all">
</head>
<body>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body" pad15>
                    <div class="layui-form">

                        <input type="hidden" th:value="${id}" name="guestId"/>

                        <!-- 表格+头部按钮 -->
                        <div class="layui-card-body">
                            <table id="table_id" lay-filter="table_event"></table>
                        </div>

                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- javascript -->
<script th:src="@{'/layui/layui.js'}"></script>
<script>
    layui.config({
        base: '/' //静态资源所在路径
    });
</script>
<script type="text/javascript" th:src="@{'/js/estate/guest-authorize-records.js'}"></script>

<!-- 访客类型 -->
<script type="text/html" id="is_guestType">
    {{#  if(d.accessUserType == 0){ }}
    <span>朋友</span>
    {{#  }else if(d.accessUserType == 1){ }}
    <span>外卖</span>
    {{#  }else if(d.accessUserType == 2){ }}
    <span>快递</span>
    {{# }else { }}
    <span>其他</span>
    {{# } }}
</script>
</body>
</html>