wuyongxiang 4 年之前
父节点
当前提交
82f93c7fb8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      screenH5/homeNew.html

+ 2 - 2
screenH5/homeNew.html

@@ -467,8 +467,8 @@
 			var windowHeight = vars.find(e => {
 				return e.startsWith('windowHeight')
 			}) || ''
-			$(".swiper-container").css("height", windowHeight);
-			console.log("获取网页高度", windowHeight);
+			$(".swiper-container").css("height", windowHeight.substring(13, windowHeight.length));
+			console.log("获取网页高度",windowHeight.substring(13, windowHeight.length));
 			//				$(".aaa").text(clientType.substring(11, clientType.length))
 			// let cardIp = getUrlParam('cardIp');
 			// console.log(cardIp)