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 | 67 ++++++++++++++++++++++++++++++---
1 files changed, 60 insertions(+), 7 deletions(-)
diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index bf92d76..4c1e33c 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -1,10 +1,17 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<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>
<!-- 瀵艰埅鏍� -->
@@ -20,8 +27,9 @@
</div>
<!-- 涓讳綋鍐呭 -->
<iframe id="content" src="console.html"></iframe>
+<!-- 灏鹃儴 -->
<footer class="footer">
- Copyright 漏 2015 All Rights Reserved. <a href="http://www.zoneyung.com" target="_blank">娴欐睙涓壃绔嬪簱鎶�鏈湁闄愬叕鍙�</a> 淇濈暀鎵�鏈夋潈鍒�
+ Copyright 漏 2015 All Rights Reserved. 姹熻嫃鐫夸簯鏅鸿兘瑁呭鏈夐檺鍏徃 淇濈暀鎵�鏈夋潈鍒�
</footer>
</body>
<script>
@@ -32,12 +40,57 @@
$('#content').attr("src", id+".html");
}
- function logout() {
- localStorage.removeItem("token");
- window.location.href = baseUrl + "/login";
- }
-
// 绯荤粺杩愯鐘舵��
var systemRunning = true;
+
+ // news by http://chuange.gitee.io/vue-layx/
+ 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