From 0cbcebcfc77bbdffd8055b878060a459c2e286e5 Mon Sep 17 00:00:00 2001 From: vincent <1341870251@qq.com> Date: 星期五, 29 五月 2020 17:26:46 +0800 Subject: [PATCH] # --- src/main/webapp/views/console.html | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html index 6a17a67..d5d7f2b 100644 --- a/src/main/webapp/views/console.html +++ b/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> \ No newline at end of file -- Gitblit v1.9.1