From a8aefe43581049a8d73574f37901b6553c6c18aa Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 18 十一月 2020 13:56:05 +0800
Subject: [PATCH] #
---
src/main/webapp/views/monitor/monitor.html | 27 ++++++++++++++++++++-------
1 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/src/main/webapp/views/monitor/monitor.html b/src/main/webapp/views/monitor/monitor.html
index 51af8a7..a8ead2e 100644
--- a/src/main/webapp/views/monitor/monitor.html
+++ b/src/main/webapp/views/monitor/monitor.html
@@ -71,6 +71,7 @@
}
}
+
</style>
</head>
<body class="monitor-bg">
@@ -196,11 +197,11 @@
<div class="layui-carousel" id="test1">
<div carousel-item>
- <div style="background-color: red">鏉$洰1</div>
- <div style="background-color: gold">鏉$洰2</div>
- <div style="background-color: #333333">鏉$洰3</div>
- <div style="background-color: #00FF00">鏉$洰4</div>
- <div style="background-color: #5FB878">鏉$洰5</div>
+ <div class="item-img" id="img-1" style="background-color: red"></div>
+ <div class="item-img" id="img-2" style="background-color: gold"></div>
+ <div class="item-img" id="img-3" style="background-color: green"></div>
+ <div class="item-img" id="img-4" style="background-color: white"></div>
+ <div class="item-img" id="img-5" style="background-color: darkgoldenrod"></div>
</div>
</div>
@@ -337,8 +338,8 @@
</div>
</div>
<div class="progress-bar-modal">
- <div class="layui-progress layui-progress-big" style="background-color: #233751;width: 80%;display: inline-block">
- <div class="layui-progress-bar layui-bg-red" lay-percent="100%"></div>
+ <div class="layui-progress layui-progress-big" lay-filter="used-progress" style="background-color: #233751;width: 80%;display: inline-block">
+ <div class="layui-progress-bar layui-bg-red" lay-percent="0%"></div>
</div>
<!-- <div class="bar-container">-->
<!-- <div class="bar-proportion"><span>瀹為檯浣跨敤</span></div>-->
@@ -362,6 +363,16 @@
//,anim: 'updown' //鍒囨崲鍔ㄧ敾鏂瑰紡
});
});
+
+ /***********************************************************************************/
+ /************************************ 鍫嗗灈鏈洪�熷害 *************************************/
+ /***********************************************************************************/
+
+
+
+
+
+
/***********************************************************************************/
/************************************* 鎶樼嚎鍥� ***************************************/
@@ -544,6 +555,8 @@
$('#usedPr').text(res.data.usedPr);
$('#used').text(res.data.used);
+
+ layui.element.progress('used-progress', res.data.usedPr + '%');
} else if (res.code === 403){
top.location.href = "/";
} else {
--
Gitblit v1.9.1