syyang преди 2 години
родител
ревизия
349923f971
променени са 2 файла, в които са добавени 20 реда и са изтрити 12 реда
  1. 7 1
      mybusiness/src/main/resources/templates/dahua/demo-dsd.html
  2. 13 11
      mybusiness/src/main/resources/templates/dahua/images/ja_ja.css

+ 7 - 1
mybusiness/src/main/resources/templates/dahua/demo-dsd.html

@@ -215,11 +215,17 @@
 <script>
     function my_clickLogin(hikIp,hikPort,hikUsername,hikPassword){
         console.log("my_chick:",isLunBo)
-        if(isLunBo == true){
+        // if(isLunBo == true){
+        //     alert("请您先关闭自动轮巡功能,随后再调取固定摄像头画面。");
+        //     console.log('弹出来了')
+        // }
+        if(isLunBo == false){
+            console.log('弹  出来了')
             alert("请您先关闭自动轮巡功能,随后再调取固定摄像头画面。");
         }else{
             clickLogin(hikIp,hikPort,hikUsername,hikPassword);
             $("#divPlugin").hide();
+            console.log('其他')
         }
 
     }

+ 13 - 11
mybusiness/src/main/resources/templates/dahua/images/ja_ja.css

@@ -356,13 +356,14 @@ body{
 
 
 .hn_tk{
-	width: 558px;
-	height: 200px;
+	width: 215px;
+	height: 135px;
 	position: fixed;
-	top:50%;
-	left: 50%;
-	margin-left: -300px;
-	border-radius: 3px;
+	padding: 15px 15px;
+	bottom: 2px;
+	left: 1px;
+	/* margin-left: -300px; */
+	/* border-radius: 3px; */
 	margin-top:-150px;
 	z-index: auto;
 	background: #041a3d;
@@ -370,11 +371,12 @@ body{
 	box-shadow: 0px 0px 4px #0a5bac;
 }
 .hn_tk h2{
-	font-size: 16px;
+	font-size: 15px;
 	color: #fff;
 	text-align: center;
-	height: 140px;
-	line-height: 150px;
+	height: 80px;
+	padding-top: 20px;
+	line-height: 25PX;
 	letter-spacing: 2px;
 }
 .hn_close{
@@ -382,7 +384,7 @@ body{
 	height: 35px;
 	line-height: 35px;
 	display: block;
-	background: #0e90d2;
+	background: #dc0c0c;
 	color: #fff;
 	font-size: 16px;
 	text-align: center;
@@ -391,6 +393,6 @@ body{
 	border-radius: 3px;
 }
 .hn_close:hover{
-	background: #3275d2;
+	background: #c10100;
 
 }