Commit 704be32b by 林翔

lx

parent 87f62eef
......@@ -101,7 +101,7 @@
</div>
<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="contact-mask-text">
<p class="fw-b">业务经理</p>
......
......@@ -44,10 +44,8 @@ var xinhot = {
// var top = $(".product-mask-content").offset().top; //获取某个元素距顶部的距离
// $("body,html").animate({scrollTop:(top-50)+"px"},500);
$("body,html").css({"overflow":"hidden"});
$(".mask").addEventListener("touchmove",function(e){
e.prevenDefault();
});
$(".mask").bind("touchmove",function(e){
$(".mask,.mask-content").bind("touchmove",function(e){
e.prevenDefault();
});
......@@ -80,10 +78,8 @@ var xinhot = {
// var top = $(".contact-mask-content").offset().top; //获取某个元素距顶部的距离
// $("body,html").animate({scrollTop:(top-50)+"px"},500);
$("body,html").css({"overflow":"hidden"});
$(".mask").addEventListener("touchmove",function(e){
e.prevenDefault();
});
$(".mask").bind("touchmove",function(e){
$(".mask,.mask-content").bind("touchmove",function(e){
e.prevenDefault();
});
......
......@@ -105,7 +105,7 @@
</div>
<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="product-mask-brand"><img src="" alt=""></div>
<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