From bad2c88525219d86cec8352e754b31e12dd9d653 Mon Sep 17 00:00:00 2001 From: lsh <1> Date: 星期三, 20 十二月 2023 14:53:53 +0800 Subject: [PATCH] # --- src/main/webapp/views/index.html | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 53 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html index cebf04a..b688461 100644 --- a/src/main/webapp/views/index.html +++ b/src/main/webapp/views/index.html @@ -4,9 +4,13 @@ <meta charset="utf-8"> <title>鑷姩浠撳簱WCS绯荤粺</title> <link rel="stylesheet" href="../static/css/index.css"> + <link rel="stylesheet" href="../static/css/layx.min.css" type="text/css" /> <script src="../static/js/jquery/jquery-3.3.1.min.js"></script> + <script src="../static/js/tools/layx.min.js"></script> <style> - + .layx-window.layx-skin-news .layx-control-bar { + background-color: #333333; + } </style> </head> <body> @@ -47,5 +51,53 @@ // 绯荤粺杩愯鐘舵�� var systemRunning = true; + + news();layx.min('wcs-news'); + function news() { + 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> </html> -- Gitblit v1.9.1