From 86b189ee9072db4bf2648c16307eff1da077e8e4 Mon Sep 17 00:00:00 2001 From: liuxiaolong <736321739@qq.com> Date: 星期四, 23 五月 2019 14:39:10 +0800 Subject: [PATCH] fix in num,add sql index,change every 1s to every 10s --- src/main/resources/index.html | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/main/resources/index.html b/src/main/resources/index.html index 4954d35..1236e4e 100644 --- a/src/main/resources/index.html +++ b/src/main/resources/index.html @@ -20,17 +20,21 @@ <div > <div style="background:#FFFFFF;background-size:100%;height:60px; width:100%;border:0px"> <div style="background:#e6e6fa;height:60px;float:left; width:90%"> - <div style="margin:10px 650px"> + <div style="width:400px;margin:10px auto;"> <span style="font-size:32px;font-family:SimHei;font-weight:bold;text-align-all:center;">棣栭兘甯堣寖澶у绗簩闄勫睘涓</span> </div> </div> - <div style="background:#e6e6fa;height:60px;float:left; width:10%"><img onclick="update()" src="static/cl3.jpg" style="margin:0px 0px"></div> + <div style="background:#e6e6fa;height:60px;float:left; width:10%"><img onclick="update()" src="static/cl3.jpg" style="margin-top:4px;"></div> + </div> + + <div style="display:flex;"> + </div> <div style="background:#F0F4F7;height:990px; width:100%;border:0"> - <div style="background:#F0F4F7;height:100%;float:left; width:141px"></div> - <div style="background:#F0F4F7;height:100%;float:left; width:391px"> + <!--<div style="background:#F0F4F7;height:100%;float:left; width:141px"></div>--> + <div style="background:#F0F4F7;height:100%;float:left; width:391px;margin-left:20px;margin-right:20px;"> <div style="background:#F0F4F7;height:70px;float:left; width:391px"></div> <div onclick="changeCountType(1)" style="background:url('/static/01.jpg');height:160px;float:left; width:391px"> <div style="margin:60px -10px;text-align:center;float:left;height:160px; width:190px"> @@ -112,9 +116,7 @@ </div> <span style="font-size:20px;font-family:SimHei;text-align-all:center;" id="start_time"></span> </div> - - <div style="background:#F0F4F7;height:100%;float:left; width:86px"> - </div> + <!--<div style="background:#F0F4F7;height:100%;float:left; width:86px"></div>--> <div style="background:#F0F4F7;height:100%;float:left; width:1201px"> <div style="background:#F0F4F7;height:70px;float:right; width:1200px;text-align: right"> <span style="font-size:28px;font-family:SimHei;text-align-all:center;" id="date_time">2018骞�11鏈�1鏃� 12:11 鏄熸湡鍥�</span> @@ -225,8 +227,8 @@ $(function () { startRequest(); - setInterval("startRequest()", 5000 ); - setInterval("nowPeople()", 5000); + setInterval("startRequest()", 10000 ); + setInterval("nowPeople()", 10000); }); function update() { $.messager.confirm('娑堟伅','纭畾杩涜鍩虹璁剧疆鍚楋紵',function(r){ -- Gitblit v1.8.0