From bf1867f99d312c3bde762dbc5282b4efb3c2f373 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期四, 22 十二月 2022 15:45:42 +0800
Subject: [PATCH] #
---
src/main/webapp/views/index.html | 51 ++++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 46 insertions(+), 5 deletions(-)
diff --git a/src/main/webapp/views/index.html b/src/main/webapp/views/index.html
index af7f4f2..6554f86 100644
--- a/src/main/webapp/views/index.html
+++ b/src/main/webapp/views/index.html
@@ -4,13 +4,28 @@
<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-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;
+ }
+ </style>
</head>
<body>
<!-- 瀵艰埅鏍� -->
<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>
@@ -32,12 +47,38 @@
$('#content').attr("src", id+".html");
}
- function logout() {
- localStorage.removeItem("token");
- window.location.href = baseUrl + "/login";
- }
-
// 绯荤粺杩愯鐘舵��
var systemRunning = true;
+
+ 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,
+ }
+ , minWidth:300
+ , minHeight:300
+ , borderRadius: '8px'
+ // , shadeDestroy:true
+ , escKey: false
+ });
+ }
</script>
</html>
--
Gitblit v1.9.1