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

+ 20 - 17
screenH5/homeNew.html

@@ -211,19 +211,19 @@
 				<div class="helpImg">
 					<img src="../static/img/bangzu_icon.png" />
 				</div>
-				<div class="font helpfont" >使用帮助?</div>
+				<div class="font helpfont">使用帮助?</div>
 			</div>
-			<div class="buyIcon"  style="z-index: 50;">
+			<div class="buyIcon" style="z-index: 50;">
 				<img src="../static/img/goumai_icon.png" />
 			</div>
-			
+
 			<div class="swiper-container">
 				<div class="swiper-wrapper">
 					<div class="swiper-slide">
-						<div class="canvas" style="display: none;">
+						<div class="canvas" style="display: none;z-index: 1;">
 							<div id="wine" style="height: 100%;">
 							</div>
-							<div class="camvas-head">
+							<div class="camvas-head" style="z-index: 5555;">
 								<div class="tophead">
 									<div class="th_left">
 										<img src="../static/img/xingyao_icon.png" />
@@ -233,7 +233,7 @@
 										<div class="thl-time">剩29天6小时</div>
 									</div>
 								</div>
-								<div class="th_renew homeRenew" style="z-index: 50;">
+								<div class="th_renew homeRenew" style="z-index: 5000;">
 									续费
 								</div>
 								<!-- <div class="vip">
@@ -384,10 +384,10 @@
 		<script type="text/javascript" src="../static/js/YUVCanvas.js"></script>
 		<script type="text/javascript" src="../static/js/Player.js"></script>
 		<script type="text/javascript">
-			let hheight=document.body.clientHeight;
-			let cheight=document.body.offsetHeight;
-			console.log("获取网页高度",hheight,cheight,window.screen.height );
-			$(".swiper-container").css("height",window.screen.height);
+			let hheight = document.body.clientHeight;
+			let cheight = document.body.offsetHeight;
+			console.log("获取网页高度", hheight, cheight, window.screen.height);
+			$(".swiper-container").css("height", window.screen.height);
 			var url = window.location.href;
 
 			url = url.split('/')
@@ -619,7 +619,7 @@
 					url: '/pages/viewurl/viewurl'
 				})
 			});
-			
+
 			$('.buyIcon').bind('click', function(e) {
 				console.log("购买");
 				// stopPropagation(e);
@@ -627,12 +627,15 @@
 					url: '/pages/order/buy/index'
 				})
 			});
-			$('.homeRenew').bind('click', function(e) {
-				console.log("续费啊");
-				// stopPropagation(e);
-				wx.miniProgram.navigateTo({
-					url: '/pages/order/buy/index'
-				})
+			// $('.homeRenew').bind('click', function(e) {
+			// 	console.log("续费啊");
+			// 	// stopPropagation(e);
+			// 	wx.miniProgram.navigateTo({
+			// 		url: '/pages/order/buy/index'
+			// 	})
+			// });
+			$(".homeRenew").on("click", function() {
+					console.log("续费啊");
 			});
 			$('.helps').bind('click', function(e) {
 				stopPropagation(e);