wuyongxiang лет назад: 4
Родитель
Сommit
32962af886
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      screenH5/homeNew.html

+ 2 - 1
screenH5/homeNew.html

@@ -386,7 +386,7 @@
 		<script type="text/javascript">
 			let hheight = document.body.clientHeight;
 			let cheight = document.body.offsetHeight;
-			console.log("获取网页高度", hheight, cheight, window.screen.height);
+			
 			console.log("document.body.offsetHeight: " + document.body.offsetHeight);
 			console.log("document.body.clientHeight " + document.body.clientHeight);
 			console.log("document.body.scrollHeight " + document.body.scrollHeight);
@@ -468,6 +468,7 @@
 				return e.startsWith('windowHeight')
 			}) || ''
 			$(".swiper-container").css("height", windowHeight);
+			console.log("获取网页高度", windowHeight);
 			//				$(".aaa").text(clientType.substring(11, clientType.length))
 			// let cardIp = getUrlParam('cardIp');
 			// console.log(cardIp)