From a7223a5dfc7c83c7fe3894e65d1fed84cae61a8e Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期三, 15 二月 2023 08:45:38 +0800
Subject: [PATCH] #

---
 src/main/webapp/views/index.html |   78 +++++++++++++++++++++++----------------
 1 files changed, 46 insertions(+), 32 deletions(-)

diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index 17a8caf..4c1e33c 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,8 +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-min-statu {
-            right: 10px;
+        .layx-window.layx-skin-news .layx-control-bar {
+            background-color: #333333;
         }
     </style>
 </head>
@@ -27,6 +27,7 @@
 </div>
 <!-- 涓讳綋鍐呭 -->
 <iframe id="content" src="console.html"></iframe>
+<!-- 灏鹃儴 -->
 <footer class="footer">
     Copyright 漏 2015 All Rights Reserved. 姹熻嫃鐫夸簯鏅鸿兘瑁呭鏈夐檺鍏徃  淇濈暀鎵�鏈夋潈鍒�
 </footer>
@@ -42,40 +43,53 @@
     // 绯荤粺杩愯鐘舵��
     var systemRunning = true;
 
-    // http://chuange.gitee.io/vue-layx/
+    // news by http://chuange.gitee.io/vue-layx/
     news();layx.min('wcs-news');
     function news() {
-        layx.iframe('wcs-news','绯荤粺鍒嗘瀽鎶ュ憡','./iframe.html',{
-              shadow:false
-            , width:1000
-            , 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")
+        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
+                        }
                     }
                 }
             }
-        });
+        );
     }
 
 </script>

--
Gitblit v1.9.1