修改界面

master
夜笙歌 4 years ago
parent 7ff156b3c7
commit f4f3f890a1

@ -15,7 +15,7 @@ body {
background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnOneClick.png); background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnOneClick.png);
background-size: 100% 100%; background-size: 100% 100%;
position: absolute; position: absolute;
height: 5%; height: 5vh;
aspect-ratio: 236/204; aspect-ratio: 236/204;
top: 30%; top: 30%;
left: 3%; left: 3%;
@ -24,7 +24,7 @@ body {
background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnOneClick.png); background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnOneClick.png);
background-size: 100% 100%; background-size: 100% 100%;
position: absolute; position: absolute;
height: 5%; height: 5vh;
aspect-ratio: 236/204; aspect-ratio: 236/204;
top: 30%; top: 30%;
right: 5%; right: 5%;
@ -33,7 +33,7 @@ body {
background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnTwo.png); background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnTwo.png);
background-size: 100% 100%; background-size: 100% 100%;
position: absolute; position: absolute;
height: 5%; height: 5vh;
aspect-ratio: 236/204; aspect-ratio: 236/204;
top: 37%; top: 37%;
left: 3%; left: 3%;
@ -42,7 +42,7 @@ body {
background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnTwo.png); background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnTwo.png);
background-size: 100% 100%; background-size: 100% 100%;
position: absolute; position: absolute;
height: 5%; height: 5vh;
aspect-ratio: 236/204; aspect-ratio: 236/204;
top: 37%; top: 37%;
right: 5%; right: 5%;
@ -51,7 +51,7 @@ body {
background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnThree.png); background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnThree.png);
background-size: 100% 100%; background-size: 100% 100%;
position: absolute; position: absolute;
height: 5%; height: 5vh;
aspect-ratio: 236/204; aspect-ratio: 236/204;
top: 44%; top: 44%;
left: 3%; left: 3%;
@ -60,7 +60,7 @@ body {
background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnThree.png); background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnThree.png);
background-size: 100% 100%; background-size: 100% 100%;
position: absolute; position: absolute;
height: 5%; height: 5vh;
aspect-ratio: 236/204; aspect-ratio: 236/204;
top: 44%; top: 44%;
right: 5%; right: 5%;
@ -69,7 +69,7 @@ body {
background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnFour.png); background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnFour.png);
background-size: 100% 100%; background-size: 100% 100%;
position: absolute; position: absolute;
height: 5%; height: 5vh;
aspect-ratio: 236/204; aspect-ratio: 236/204;
top: 51%; top: 51%;
left: 3%; left: 3%;
@ -78,7 +78,7 @@ body {
background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnFour.png); background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnFour.png);
background-size: 100% 100%; background-size: 100% 100%;
position: absolute; position: absolute;
height: 5%; height: 5vh;
aspect-ratio: 236/204; aspect-ratio: 236/204;
top: 51%; top: 51%;
right: 5%; right: 5%;
@ -87,7 +87,7 @@ body {
background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnFive.png); background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnFive.png);
background-size: 100% 100%; background-size: 100% 100%;
position: absolute; position: absolute;
height: 5%; height: 5vh;
aspect-ratio: 236/204; aspect-ratio: 236/204;
top: 58%; top: 58%;
left: 3%; left: 3%;
@ -96,7 +96,7 @@ body {
background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnFive.png); background-image: url(../../img/board/intelligentRefrigeratorInterconnectionFactory/btnFive.png);
background-size: 100% 100%; background-size: 100% 100%;
position: absolute; position: absolute;
height: 5%; height: 5vh;
aspect-ratio: 236/204; aspect-ratio: 236/204;
top: 58%; top: 58%;
right: 5%; right: 5%;

@ -178,7 +178,6 @@ const safe = (el) => {
$(el).html(html) $(el).html(html)
} }
const Tips = (val1 = 0, val2 = 0, val3 = 0, el) => { const Tips = (val1 = 0, val2 = 0, val3 = 0, el) => {
const html = ` const html = `
<span style="position: absolute;top: 10%;left: 44%;color: #fff;font-size: 1vw;">订单数量${val1}&nbsp;&nbsp;完成数量${val2}&nbsp;&nbsp;清单率${val3}%</span> <span style="position: absolute;top: 10%;left: 44%;color: #fff;font-size: 1vw;">订单数量${val1}&nbsp;&nbsp;完成数量${val2}&nbsp;&nbsp;清单率${val3}%</span>

@ -23,6 +23,7 @@
<script src="../../static/js/update-split-blocks.js" th:src="@{/js/update-split-blocks.js}"></script> <script src="../../static/js/update-split-blocks.js" th:src="@{/js/update-split-blocks.js}"></script>
<script src="../../static/js/auto-update.js" th:src="@{/js/auto-update.js}"></script> <script src="../../static/js/auto-update.js" th:src="@{/js/auto-update.js}"></script>
<script src="../../static/js/data-merger.js" th:src="@{/js/data-merger.js}"></script> <script src="../../static/js/data-merger.js" th:src="@{/js/data-merger.js}"></script>
<script src="../../static/js/cron.min.js" th:src="@{/js/cron.min.js}"></script>
</head> </head>
<body style="display:flex;"> <body style="display:flex;">
@ -60,5 +61,10 @@
</body> </body>
<script src="../../static/js/board/week.js" th:src="@{/js/board/week.js}"></script> <script src="../../static/js/board/week.js" th:src="@{/js/board/week.js}"></script>
<script> <script>
function flash() {
location.reload()
}
setCronTak(flash, "00 00 * * * * *");
</script> </script>
</html> </html>
Loading…
Cancel
Save