xiaoyue5430 3 роки тому
батько
коміт
5235fd0d90

+ 1 - 1
spring-cloud/server-page/src/main/resources/static/ipad/js/basic/direct/index.js

@@ -151,7 +151,7 @@ const UI = {
                     // 		path: UI.DPZHD_PATH + 'browser/login/zhzxzhglpt'
                     // 	}
                     // }));
-                    util.get({
+                    $.get({
                         url: DPZHD_PATH + 'automation/guide/switch',
                         data: {
                             id: data.systemInfo.system_id

+ 18 - 1
spring-cloud/server-page/src/main/resources/static/lbzd/css/ztzs.css

@@ -87,11 +87,28 @@ li {
 /* 新增 */
 
 .aba-theme {
+    position: relative;
     width: 100%;
     height: 100%;
+    transform: scale(0.2, 0.2);
+    transform-origin: top left;
 }
 
 .aba-theme iframe {
+    width: 10240px;
+    height: 2686.57px;
+}
+
+.back-ztzs {
+    position: fixed;
+    top: 1%;
+    right: 1%;
+    width: 5%;
+    padding: 0.5%;
+    border-radius: 10px;
+    background-color: rgb(218, 33, 33);
+}
+
+.back-ztzs>img {
     width: 100%;
-    height: 100%;
 }

BIN
spring-cloud/server-page/src/main/resources/static/lbzd/img/back-ztzs.png


+ 21 - 1
spring-cloud/server-page/src/main/resources/static/lbzd/ztzs.html

@@ -55,10 +55,30 @@
         </div>
         <!-- 适配主题展示 -->
         <div class="aba-theme" style="display: none;">
-            <iframe src="./indexb.html" frameborder="0"></iframe>
+            <iframe src="http://localhost:3000/totalplatform" frameborder="0"></iframe>
+        </div>
+        <div class="back-ztzs" style="display: none;">
+            <img src="img/back-ztzs.png" />
         </div>
     </div>
     <script src="js/jquery-3.5.1.min.js" type="text/javascript" charset="utf-8"></script>
+    <script>
+        window.onload = function() {
+            $(".ztzs-list").on("click", ".ztzs-item", function() {
+                $(".ztzs-list").css("display", "none");
+                $(".but-box").css("display", "none");
+                $(".aba-theme").css("display", "block");
+                $(".back-ztzs").css("display", "block");
+            })
+
+            $(".back-ztzs").on("click", function() {
+                $(".ztzs-list").css("display", "block");
+                $(".but-box").css("display", "flex");
+                $(".aba-theme").css("display", "none")
+                $(".back-ztzs").css("display", "none")
+            })
+        }
+    </script>
 </body>
 
 </html>