From 93ec8c50adfce76322d55b785c7ed08b83bf4654 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 18 十一月 2020 10:54:59 +0800
Subject: [PATCH] #
---
src/main/webapp/views/monitor/img/banner/test1.jpg | 0
src/main/webapp/views/monitor/css/monitor.css | 19 +++++++++++++++++++
src/main/webapp/views/monitor/img/banner/test3.png | 0
src/main/webapp/views/monitor/monitor.html | 11 ++++++-----
src/main/webapp/views/monitor/img/banner/test2.jpg | 0
5 files changed, 25 insertions(+), 5 deletions(-)
diff --git a/src/main/webapp/views/monitor/css/monitor.css b/src/main/webapp/views/monitor/css/monitor.css
index 2bffe70..aa21086 100644
--- a/src/main/webapp/views/monitor/css/monitor.css
+++ b/src/main/webapp/views/monitor/css/monitor.css
@@ -551,4 +551,23 @@
top: 0;
opacity: 1;
}
+}
+
+.item-img {
+ background-size: 100% 100%;
+}
+#img-1 {
+ background-image: url(../img/banner/test1.jpg);
+}
+#img-2 {
+ background-image: url(../img/banner/test2.jpg);
+}
+#img-3 {
+ background-image: url(../img/banner/test3.png);
+}
+#img-4 {
+ background-image: url(../img/banner/test1.jpg);
+}
+#img-5 {
+ background-image: url(../img/banner/test2.jpg);
}
\ No newline at end of file
diff --git a/src/main/webapp/views/monitor/img/banner/test1.jpg b/src/main/webapp/views/monitor/img/banner/test1.jpg
new file mode 100644
index 0000000..e86cf83
--- /dev/null
+++ b/src/main/webapp/views/monitor/img/banner/test1.jpg
Binary files differ
diff --git a/src/main/webapp/views/monitor/img/banner/test2.jpg b/src/main/webapp/views/monitor/img/banner/test2.jpg
new file mode 100644
index 0000000..e86cf83
--- /dev/null
+++ b/src/main/webapp/views/monitor/img/banner/test2.jpg
Binary files differ
diff --git a/src/main/webapp/views/monitor/img/banner/test3.png b/src/main/webapp/views/monitor/img/banner/test3.png
new file mode 100644
index 0000000..dbdcd4f
--- /dev/null
+++ b/src/main/webapp/views/monitor/img/banner/test3.png
Binary files differ
diff --git a/src/main/webapp/views/monitor/monitor.html b/src/main/webapp/views/monitor/monitor.html
index d692433..006c328 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"></div>
- <div style="background-color: gold"></div>
- <div style="background-color: #333333"></div>
- <div style="background-color: #00FF00"></div>
- <div style="background-color: #5FB878"></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>
--
Gitblit v1.9.1