Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
xinhot
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
704be32b
authored
Mar 12, 2019
by
林翔
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
lx
parent
87f62eef
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
10 deletions
h5/contact.html
h5/js/index.js
h5/product.html
h5/contact.html
View file @
704be32b
...
...
@@ -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>
...
...
h5/js/index.js
View file @
704be32b
...
...
@@ -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
();
});
...
...
h5/product.html
View file @
704be32b
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment