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 | 78 ++++++++------------------------------
1 files changed, 17 insertions(+), 61 deletions(-)
diff --git a/src/main/webapp/views/console.html b/src/main/webapp/views/console.html
index 0555f12..d5d7f2b 100644
--- a/src/main/webapp/views/console.html
+++ b/src/main/webapp/views/console.html
@@ -10,68 +10,8 @@
<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>
- /* 绔欑偣 */
- .site {
- color: #333;
- height: 20px;
- border: 1px solid #fff;
- cursor: pointer;
- width: 50px;
- text-align: center;
- background-color: #21ff3a;
- font-size: 13px;
- }
- /* 鏃犳晥绔欑偣锛堝繀椤诲湪site涓嬮潰锛� */
- .site-none {
- border: none;
- background-color: transparent;
- }
-
- /* --------- 璐ф灦鎬绘垚 --------- */
- .main-part {
- position: absolute;
- top: 250px;
- left: 400px;
- }
-
- /* --------- 杈撻�佺嚎鎬绘垚 --------- */
- .site-row {
- position: absolute;
- top: 122px;
- }
- /* 杈撻�佺嚎绗竴鍒� */
- .site-row-1 {
- left: 200px;
- }
- .site-row-1 .site {
- width: 100px;
- }
- /* 杈撻�佺嚎绗簩鍒� */
- .site-row-2 {
- left: 300px;
- }
- .site-row-2 .site {
- width: 100px;
- }
- /* 杈撻�佺嚎绗笁鍒� */
- .site-row-3 {
- left: 400px;
- width: 100px;
- }
- .site-row-3 .site {
- float: left;
- width: 100px;
- }
- /* 杈撻�佺嚎绗洓鍒� */
- .site-row-4 {
- left: 500px;
- width: 100px;
- }
- .site-row-4 .site {
- float: right;
- width: 100px;
- }
</style>
</head>
@@ -378,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;
@@ -402,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