From d2c0bccd2e6dde4cf2a614a67bbf0ed45e2bcbaf Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期五, 29 十一月 2024 13:59:22 +0800 Subject: [PATCH] # 213 --- src/main/webapp/views/console21.html | 5 +++-- src/main/webapp/views/console22.html | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/views/console21.html b/src/main/webapp/views/console21.html index e5df504..8064e35 100644 --- a/src/main/webapp/views/console21.html +++ b/src/main/webapp/views/console21.html @@ -25,7 +25,7 @@ </div> </div> <!-- 璐ф灦 + 鍫嗗灈鏈� + 鍏ュ簱绔欑偣 --> - <div class="main-part" style="width: 1920px;height:1080px;overflow: scroll"> + <div id="mainPart" class="main-part" style="width: 1920px;height:1080px;overflow: scroll"> </div> <div id="body"> @@ -384,7 +384,8 @@ </script> <script type="text/javascript"> // 寮圭獥绔欑偣淇℃伅 - $('.site').on('click', function () { + $('#mainPart').on('click','.site', function () { + console.log(123) var id = this.id.split("-")[1]; $("#siteWindow").attr("style", "display:block;");//鏄剧ずdiv $("#crnWindow").attr("style", "display:none;"); diff --git a/src/main/webapp/views/console22.html b/src/main/webapp/views/console22.html index f466a83..bc3908a 100644 --- a/src/main/webapp/views/console22.html +++ b/src/main/webapp/views/console22.html @@ -25,7 +25,7 @@ </div> </div> <!-- 璐ф灦 + 鍫嗗灈鏈� + 鍏ュ簱绔欑偣 --> - <div class="main-part" style="width: 1920px;height:1080px;overflow: scroll"> + <div id="mainPart" class="main-part" style="width: 1920px;height:1080px;overflow: scroll"> </div> <div id="body"> @@ -384,7 +384,7 @@ </script> <script type="text/javascript"> // 寮圭獥绔欑偣淇℃伅 - $('.site').on('click', function () { + $('#mainPart').on('click','.site', function () { var id = this.id.split("-")[1]; $("#siteWindow").attr("style", "display:block;");//鏄剧ずdiv $("#crnWindow").attr("style", "display:none;"); -- Gitblit v1.9.1