#
vincent
2020-05-29 0cbcebcfc77bbdffd8055b878060a459c2e286e5
src/main/webapp/views/console.html
@@ -10,6 +10,7 @@
    <link rel="stylesheet" type="text/css" href="../static/css/common.css">
    <link rel="stylesheet" type="text/css" href="../static/css/console.css">
    <script type="text/javascript" src="../static/js/jquery/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="../static/js/layer/layer.js"></script>
    <style>
    </style>
@@ -317,6 +318,14 @@
    <input id="val" type="text">
    <button id="animate">animate</button>
</main>
<!-- 弹出层 -->
<form id="msg" style="display: none">
    <input name="name" type="text">
    <input name="password" type="password">
    <button>确定</button>
</form>
</body>
<script>
    var crn1Position = 0;
@@ -341,5 +350,13 @@
        }
    }
    $('.item').on('click', function () {
        layer.open({
            type: 1,
            shadeClose: true, //点击遮罩关闭层
            content: $("#msg")
        });
    })
</script>
</html>