Commit f22f29ac by 林翔

Merge branch 'lx_xinhot_h5_20190307'

parents 88e89e98 704be32b
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
</div> </div>
<div class="contact-mask mask" style="display: none;"> <div class="contact-mask mask" style="display: none;">
<div class="contact-mask-content"> <div class="contact-mask-content mask-content">
<div class="mask-close"><img src="./images/close.png" alt=""></div> <div class="mask-close"><img src="./images/close.png" alt=""></div>
<div class="contact-mask-text"> <div class="contact-mask-text">
<p class="fw-b">业务经理</p> <p class="fw-b">业务经理</p>
......
...@@ -44,10 +44,8 @@ var xinhot = { ...@@ -44,10 +44,8 @@ var xinhot = {
// var top = $(".product-mask-content").offset().top; //获取某个元素距顶部的距离 // var top = $(".product-mask-content").offset().top; //获取某个元素距顶部的距离
// $("body,html").animate({scrollTop:(top-50)+"px"},500); // $("body,html").animate({scrollTop:(top-50)+"px"},500);
$("body,html").css({"overflow":"hidden"}); $("body,html").css({"overflow":"hidden"});
$(".mask").addEventListener("touchmove",function(e){
e.prevenDefault(); $(".mask,.mask-content").bind("touchmove",function(e){
});
$(".mask").bind("touchmove",function(e){
e.prevenDefault(); e.prevenDefault();
}); });
...@@ -80,10 +78,8 @@ var xinhot = { ...@@ -80,10 +78,8 @@ var xinhot = {
// var top = $(".contact-mask-content").offset().top; //获取某个元素距顶部的距离 // var top = $(".contact-mask-content").offset().top; //获取某个元素距顶部的距离
// $("body,html").animate({scrollTop:(top-50)+"px"},500); // $("body,html").animate({scrollTop:(top-50)+"px"},500);
$("body,html").css({"overflow":"hidden"}); $("body,html").css({"overflow":"hidden"});
$(".mask").addEventListener("touchmove",function(e){
e.prevenDefault(); $(".mask,.mask-content").bind("touchmove",function(e){
});
$(".mask").bind("touchmove",function(e){
e.prevenDefault(); e.prevenDefault();
}); });
......
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
</div> </div>
<div class="product-mask mask" style="display: none;"> <div class="product-mask mask" style="display: none;">
<div class="product-mask-content"> <div class="product-mask-content mask-content">
<div class="mask-close"><img src="./images/close.png" alt=""></div> <div class="mask-close"><img src="./images/close.png" alt=""></div>
<div class="product-mask-brand"><img src="" alt=""></div> <div class="product-mask-brand"><img src="" alt=""></div>
<p class="product-mask-company product-mask-text"></p> <p class="product-mask-company product-mask-text"></p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment