<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <script th:replace="common/head"></script>
    <style type="text/css">
        .layui-form-label{
            width: 105px;
        }
        .layui-form-item{
            margin-bottom: 0;
        }
        /* 模糊搜索下拉框样式 */
        .search-content{
            display: none;
            position: absolute;
            left: 0;
            top: 42px;
            padding: 5px 0;
            z-index: 1000;
            min-width: 100%;
            border: 1px solid #d2d2d2;
            max-height: 300px;
            overflow-y: auto;
            background-color: #fff;
            border-radius: 2px;
            box-shadow: 0 2px 4px rgba(0,0,0,.12);
            box-sizing: border-box;
        }
        .search-content dd.layui-this {
            background-color: #5FB878;
            color: #fff;
        }
        .search-content dd {
            cursor: pointer;
        }
        .search-content dd {
            padding: 0 10px;
            line-height: 36px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .search-content dd:hover {
            background-color: #f2f2f2;
            -webkit-transition: .5s all;
            transition: .5s all;
        }
    </style>
</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-form" lay-filter="entity_form">
                    <!-- 下发设备选择页面 -->
                    <script th:replace="device/access-device-select"></script>
                    <!-- 按钮 -->
                    <div class="layui-form-item">
                        <div class="layui-input-block" style="margin-left: 135px;">
                            <button class="layui-btn" lay-submit lay-filter="entity_submit_event">确认下发</button>
                            <button class="layui-btn layui-btn-primary" type="reset">取消</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<!-- javascript -->
<script type="text/javascript" th:src="@{'/layui/layui.js'}" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
    layui.config({
        base: '/' //静态资源所在路径
    });
</script>
<script type="text/javascript" th:src="@{'/js/device/access-user-card-enable.js'}" charset="utf-8"></script>
</html>
