Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
footsen
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
1434c1c4
authored
3 years ago
by
agan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交
parent
9c78c04f
master
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
css/new/index.css
newIndex.html
css/new/index.css
View file @
1434c1c4
...
@@ -58,9 +58,9 @@ body {
...
@@ -58,9 +58,9 @@ body {
width
:
5.347rem
;
width
:
5.347rem
;
height
:
10.68rem
;
height
:
10.68rem
;
position
:
absolute
;
position
:
absolute
;
top
:
5
0%
;
top
:
5
.4rem
;
left
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
X
(
-50%
);
z-index
:
10
;
z-index
:
10
;
}
}
...
...
This diff is collapsed.
Click to expand it.
newIndex.html
View file @
1434c1c4
...
@@ -196,6 +196,7 @@
...
@@ -196,6 +196,7 @@
if
(
curp
==
parr
.
length
-
1
)
{
if
(
curp
==
parr
.
length
-
1
)
{
return
;
return
;
}
}
touchB
=
false
;
curp
++
;
curp
++
;
if
(
curp
==
2
)
{
if
(
curp
==
2
)
{
$
(
'.wipeUp'
).
hide
();
$
(
'.wipeUp'
).
hide
();
...
@@ -205,6 +206,9 @@
...
@@ -205,6 +206,9 @@
$
(
'.downloadBtn2'
).
hide
();
$
(
'.downloadBtn2'
).
hide
();
}
}
$
(
'.curpage'
).
animate
({
top
:
-
(
scrollH
*
curp
)
+
'px'
});
$
(
'.curpage'
).
animate
({
top
:
-
(
scrollH
*
curp
)
+
'px'
});
setTimeout
(
function
(){
touchB
=
true
;
},
1000
)
return
;
return
;
}
}
if
(
ev
.
type
==
'swipedown'
)
{
if
(
ev
.
type
==
'swipedown'
)
{
...
@@ -212,6 +216,7 @@
...
@@ -212,6 +216,7 @@
$
(
".page0 ul li"
).
css
({
"opacity"
:
"0"
})
$
(
".page0 ul li"
).
css
({
"opacity"
:
"0"
})
return
;
return
;
}
}
touchB
=
false
;
curp
--
;
curp
--
;
if
(
curp
==
2
)
{
if
(
curp
==
2
)
{
$
(
'.wipeUp'
).
hide
();
$
(
'.wipeUp'
).
hide
();
...
@@ -221,6 +226,9 @@
...
@@ -221,6 +226,9 @@
$
(
'.downloadBtn2'
).
hide
();
$
(
'.downloadBtn2'
).
hide
();
}
}
$
(
'.curpage'
).
animate
({
top
:
-
(
scrollH
*
curp
)
+
'px'
});
$
(
'.curpage'
).
animate
({
top
:
-
(
scrollH
*
curp
)
+
'px'
});
setTimeout
(
function
(){
touchB
=
true
;
},
1000
)
return
;
return
;
}
}
});
});
...
...
This diff is collapsed.
Click to expand it.
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