¶Ô±ÈÐÂÎļþ |
| | |
| | | <%-- |
| | | Created by IntelliJ IDEA. |
| | | User: Dell |
| | | Date: 2023/8/14 |
| | | Time: 11:31 |
| | | To change this template use File | Settings | File Templates. |
| | | --%> |
| | | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
| | | <html> |
| | | <head> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| | | <title>Title</title> |
| | | <link href="/HxzkFlow/images/favicon.ico" rel="icon" type="image/x-icon"/> |
| | | <style> |
| | | .panbox{ |
| | | width: 540px; |
| | | height: 130px; |
| | | float: left; |
| | | margin-left: 20px; |
| | | margin-top: 10px; |
| | | color: white; |
| | | font-size: 22px; |
| | | } |
| | | </style> |
| | | </head> |
| | | <body> |
| | | <div style="width: 100%"> |
| | | <a href="javascript:;"><div class="panbox" style="background-color: #096DD9;"> |
| | | <div style="margin-top: 15px;margin-left: 20px"> |
| | | <span style="font-size: 14px">æ»å¡æ°</span><br> |
| | | <span style="font-size: 34px;margin-top: 18px;display: inline-block" class="zk">0</span> |
| | | </div> |
| | | </div></a> |
| | | <a href="javascript:;" onclick="bydq()"> <div class="panbox" style="background-color: #722ED1"> |
| | | <div style="float: left;margin-left: 20px;margin-top: 15px"> |
| | | <span style="font-size: 14px">æ¬æå°æ</span><br> |
| | | <span style="font-size: 34px;margin-top: 18px;display: inline-block" class="by">0</span> |
| | | </div> |
| | | <div style="float: left;margin-left: 250px;margin-top: 15px"> |
| | | <span style="font-size: 14px">æ¬¡ææ¿æ´»</span><br> |
| | | <span style="font-size: 34px;margin-top: 18px;display: inline-block" class="cy">0</span> |
| | | </div> |
| | | </div></a> |
| | | <a href="javascript:;"> <div class="panbox" style="background-color:#D46B08;"> |
| | | <div style="float: left;margin-left: 20px;margin-top: 15px"> |
| | | <span style="font-size: 14px">è¾¾éæç½</span><br> |
| | | <span style="font-size: 34px;margin-top: 18px;display: inline-block" class="dw">0</span> |
| | | </div> |
| | | <div style="float: left;margin-left: 250px;margin-top: 15px"> |
| | | <span style="font-size: 14px">å³å°è¾¾é</span><br> |
| | | <span style="font-size: 34px;margin-top: 18px;display: inline-block" class="jjdl">0</span> |
| | | </div> |
| | | </div></a> |
| | | </div> |
| | | </body> |
| | | <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> |
| | | <script> |
| | | var qb = localStorage.getItem("gsjc") |
| | | var ds = "qb="+localStorage.getItem("gsmc") |
| | | var data = "qb="+qb |
| | | if(qb == "åææºæ§" || qb == "访客"){ |
| | | $.get("/HxzkFlow/hxzk/chawu",function (data){ |
| | | $(".zk").text(data[0]) |
| | | $(".by").text(data[1]) |
| | | $(".cy").text(data[2]) |
| | | $(".dw").text(data[3]) |
| | | $(".jjdl").text(data[4]) |
| | | }) |
| | | setInterval(function() { |
| | | $.get("/HxzkFlow/hxzk/chawu",function (data){ |
| | | $(".zk").text(data[0]) |
| | | $(".by").text(data[1]) |
| | | $(".cy").text(data[2]) |
| | | $(".dw").text(data[3]) |
| | | $(".jjdl").text(data[4]) |
| | | }) |
| | | }, 60000); |
| | | }else{ |
| | | $.post("/HxzkFlow/hxzk/chawu1",ds,function (dt){ |
| | | $(".zk").text(dt[0]) |
| | | $(".by").text(dt[1]) |
| | | $(".cy").text(dt[2]) |
| | | $(".dw").text(dt[3]) |
| | | $(".jjdl").text(dt[4]) |
| | | }) |
| | | setInterval(function() { |
| | | $.post("/HxzkFlow/hxzk/chawu1",ds,function (data){ |
| | | $(".zk").text(data[0]) |
| | | $(".by").text(data[1]) |
| | | $(".cy").text(data[2]) |
| | | $(".dw").text(data[3]) |
| | | $(".jjdl").text(data[4]) |
| | | }) |
| | | }, 60000); |
| | | } |
| | | </script> |
| | | </html> |