From 03e68b2be24ea024eae645c47da1d4cb1773302a Mon Sep 17 00:00:00 2001
From: Junjie <fallin.jie@qq.com>
Date: 星期五, 13 十月 2023 19:47:13 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/index.html |   93 ++++++++++++++++++++++++++--------------------
 1 files changed, 53 insertions(+), 40 deletions(-)

diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index 6554f86..e9c8b09 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<html>
+<html lang="en">
 <head>
     <meta charset="utf-8">
     <title>鑷姩浠撳簱WCS绯荤粺</title>
@@ -8,15 +8,8 @@
     <script src="../static/js/jquery/jquery-3.3.1.min.js"></script>
     <script src="../static/js/tools/layx.min.js"></script>
     <style>
-        #layx-radiu-style{
-            border-radius:4px;
-            -webkit-border-radius:4px;
-            -moz-border-radius:4px;
-            -ms-border-radius:4px;
-        }
-
-        #layx-radiu-style .layx-window-icon{
-            color:#f00;
+        .layx-window.layx-skin-news .layx-control-bar {
+            background-color: #333333;
         }
     </style>
 </head>
@@ -25,18 +18,19 @@
 <div class="sidebar">
     <div class="nav">
         <ul class="cl-effect-4">
-            <li><a id="layx" onclick="news()" class="nav-unselect" href="#">閫氱煡</a></li>
             <li><a id="console" onclick="nav(this.id)" class="nav-select" href="#">涓绘帶鍥�</a></li>
             <li><a id="pipeline" onclick="nav(this.id)" class="nav-unselect" href="#">杈撻�佽澶�</a></li>
-            <li><a id="crn" onclick="nav(this.id)" class="nav-unselect" href="#">鍫嗗灈鏈�</a></li>
-            <li><a id="ste" onclick="nav(this.id)" class="nav-unselect" href="#">绌挎杞�</a></li>
+            <li><a id="lift" onclick="nav(this.id)" class="nav-unselect" href="#">鎻愬崌鏈�</a></li>
+<!--            <li><a id="ste" onclick="nav(this.id)" class="nav-unselect" href="#">绌挎杞�</a></li>-->
+            <li><a id="shuttle" onclick="nav(this.id)" class="nav-unselect" href="#">鍥涘悜绌挎杞�</a></li>
         </ul>
     </div>
 </div>
 <!-- 涓讳綋鍐呭 -->
 <iframe id="content" src="console.html"></iframe>
+<!-- 灏鹃儴 -->
 <footer class="footer">
-    Copyright 漏 2015 All Rights Reserved. 姹熻嫃鐫夸簯鏅鸿兘瑁呭鏈夐檺鍏徃  淇濈暀鎵�鏈夋潈鍒�
+    Copyright 漏 2015~2023 All Rights Reserved. 娴欐睙涓壃绔嬪簱鎶�鏈湁闄愬叕鍙�  淇濈暀鎵�鏈夋潈鍒�
 </footer>
 </body>
 <script>
@@ -50,35 +44,54 @@
     // 绯荤粺杩愯鐘舵��
     var systemRunning = true;
 
+    // news by http://chuange.gitee.io/vue-layx/
     news();layx.min('wcs-news');
-
-    // http://chuange.gitee.io/vue-layx/
     function news() {
-        layx.iframe('wcs-news','绯荤粺鍒嗘瀽鎶ュ憡','./iframe.html',{
-              shadow:false
-            , width:600
-            , height:800
-            // , position:'rb'
-            // , control:false
-            , opacity:0.9
-            , border:false
-            // , icon:false
-            , icon:'<img src="../static/images/favicon.ico" style="height:22px;display:block;"  alt=""/>'
-            , stickMenu:true
-            , maxMenu:false
-            , closeMenu:false
-            , moveLimit:{
-                leftOut: false,
-                rightOut: false,
-                topOut: false,
-                bottomOut: false,
+        layx.iframe(
+              'wcs-news' // id
+            , '绯荤粺鍒嗘瀽鎶ュ憡'
+            , "news.html"
+            , {
+                  shadow:false
+                , storeStatus:false
+                // , skin: 'news'
+                , width:800
+                , height:600
+                , position:'rb'
+                // , control:false
+                , opacity:0.9
+                , border:false
+                , icon:'<img src="../static/images/favicon.ico" style="height:22px;display:block;"  alt=""/>'
+                , stickMenu:true
+                , maxMenu:false
+                , closeMenu:false
+                , moveLimit:{
+                    leftOut: false,
+                    rightOut: false,
+                    topOut: false,
+                    bottomOut: false,
+                }
+                , minWidth:300
+                , minHeight:300
+                , borderRadius: '8px'
+                , shadeDestroy:true
+                , escKey: false
+                , event:{
+                    onmin: {
+                        after: function () {
+                            $('.layx-min-statu').css("left", "inherit").css("right", "10px")
+                        }
+                    }
+                    , onrestore:{
+                        after: function () {
+                            let win = layx.getFrameContext('wcs-news');
+                            win.autoScroll = true
+                        }
+                    }
+                }
             }
-            , minWidth:300
-            , minHeight:300
-            , borderRadius: '8px'
-            // , shadeDestroy:true
-            , escKey: false
-        });
+        );
     }
+
 </script>
 </html>

--
Gitblit v1.9.1