浏览代码

定时刷新页面

oyq28 1 年之前
父节点
当前提交
06958e6cc7

+ 2 - 2
src/main/resources/application-dev.properties

@@ -1,4 +1,4 @@
-spring.datasource.url=jdbc:mysql://localhost:3307/imcs_platform?serverTimezone=GMT%2B8&useSSL=false
+spring.datasource.url=jdbc:mysql://localhost:3306/imcs_platform?serverTimezone=GMT%2B8&useSSL=false
 spring.datasource.username=root
 spring.datasource.password=123456
 #spring.datasource.driver-class-name=com.mysql.jdbc.Driver
@@ -34,7 +34,7 @@ spring.redis.host=127.0.0.1
 # Redis服务器连接端口
 spring.redis.port=6379
 # Redis服务器连接密码(默认为空)
-#spring.redis.password=123456
+spring.redis.password=123456
 # 连接超时时间
 spring.redis.timeout=10s
 # 连接池最大连接数

+ 1 - 1
src/main/resources/static/admin/bigScreenDetail/css/index.css

@@ -257,7 +257,7 @@ a{
     position: absolute;
     left: 55%;
     top: 8%;
-    width: 1rem;
+    width: 2rem;
 }
 .t_b_h h3 span{
     font-size: 0.2rem;

+ 1 - 1
src/main/resources/static/admin/bigScreenDetail/index.html

@@ -155,7 +155,7 @@
                     <header class="t_b_h">
                         <span>设备状态</span>
                         <img src="img/end.png"></img>
-                        <h4>${data.deviceState}</h4>
+                        <h3>${data.deviceState}</h3>
                     </header>
                     <main class="t_b_m">
                         <img src="img/map.png" alt="">