<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:sptg="http://www.thymeleaf.org/sptg">
    <head >
        <script th:replace="common/head"></script>
        <!-- 省市区样式 -->
        <link rel="stylesheet" th:href="@{'/layui257/css/layui.css'}">

    </head>
    <body style="position: absolute;top: 0;bottom: 0;left: 0;right: 0;">
    <input type="hidden" id="residentialId" th:value="${residential.id}" />
    <input type="hidden" id="residentialName" th:value="${residential.name}" />
        <div class="layui-fluid">
            <div class="layui-row">
                <div class="layui-col-md2"style="padding-top: 10px;">
                    <div id="tree"></div>
                    <div class="layui-input-block" style="position: absolute; top: 10px; left: 60px;">
                        <button class="layui-btn" lay-submit lay-filter="add_batch">批量添加</button>
                    </div>
                </div>
                <div class="layui-col-md10">
                    <iframe id="rightFrame" src="" frameborder="0" style="width: 100%;height: 800px"></iframe>
                </div>

            </div>
        </div>

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

        <script th:src="@{'/js/estate/residential.js'}"></script>

    </body>
</html>