From 36028193b7afa451f000d7acc143711abbdba06f Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期二, 11 六月 2024 15:53:41 +0800
Subject: [PATCH] #
---
src/main/webapp/views/realtimeWatch/index2.html | 103 +++++++++++++++++++++++++--------------------------
1 files changed, 51 insertions(+), 52 deletions(-)
diff --git a/src/main/webapp/views/realtimeWatch/index2.html b/src/main/webapp/views/realtimeWatch/index2.html
index 849e351..71b44bb 100644
--- a/src/main/webapp/views/realtimeWatch/index2.html
+++ b/src/main/webapp/views/realtimeWatch/index2.html
@@ -23,7 +23,9 @@
<ul class="cl-effect-4">
<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="crn2" onclick="nav(this.id)" class="nav-unselect" href="#">鍫嗗灈鏈�</a></li>
+ <li><a id="rgv" onclick="nav(this.id)" class="nav-unselect" href="#">Rgv</a></li>
+ <li><a id="pipeline2" onclick="nav(this.id)" class="nav-unselect" href="#">鎻愬崌鏈�</a></li>
</ul>
</div>
</div>
@@ -33,7 +35,7 @@
<!-- 涓讳綋鍐呭 -->
<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. <a href="http://www.zoneyung.com" target="_blank">鑻忓窞鍐犻缚鏅鸿兘瑁呭鏈夐檺鍏徃</a> 淇濈暀鎵�鏈夋潈鍒�
</footer>
</body>
<script>
@@ -41,9 +43,6 @@
function nav(id) {
$('.nav-select').attr("class", "nav-unselect");
$('#'+id).attr("class", "nav-select");
- if (id=="crn" || id == "pipeline"){
- id=id+"2";
- }
$('#content').attr("src", id+".html");
}
@@ -56,52 +55,52 @@
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/wcs/images/zy-logo.png" 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
- // }
- // }
- // }
- // }
- // );
- // }
+ news();layx.open('wcs-news');
+ function news() {
+ layx.iframe(
+ 'wcs-news' // id
+ , '绯荤粺鍒嗘瀽鎶ュ憡'
+ , "news.html"
+ , {
+ shadow:false
+ , storeStatus:false
+ // , skin: 'news'
+ , width:600
+ , height:400
+ , position:'rb'
+ // , control:false
+ , opacity:0.9
+ , border:false
+ , icon:'<img src="../../static/wcs/images/zy-logo.png" 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