Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
pingan-maruko
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
54434cef
authored
Jul 07, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
9b2245ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
Public/static/js/common.js
+4
-5
No files found.
Public/static/js/common.js
View file @
54434cef
...
...
@@ -82,6 +82,7 @@ let scrollTimer,
createPosterLock
=
false
;
let
fixHeight
=
document
.
documentElement
.
clientHeight
>
1238
?
document
.
documentElement
.
clientHeight
:
1238
;
let
introScrolltop
=
0
;
const
guardian
=
[
'事事顺意守'
,
...
...
@@ -100,9 +101,6 @@ $(document).ready(function () {
$
(
'.rule-page'
).
on
(
'touchmove'
,
function
()
{
return
false
;
});
$
(
'.intro-page'
).
on
(
'touchmove'
,
function
(
e
)
{
e
.
stopPropagation
()
});
// var vConsole = new VConsole();
// console.log('ok')
// audioAutoPlay('music')
...
...
@@ -144,7 +142,8 @@ $(document).ready(function () {
function
hideIntro
()
{
$
(
'.intro-page'
).
hide
();
$
(
'.page1'
).
show
()
$
(
'.wrap-inner'
).
scrollTop
(
introScrolltop
);
introScrolltop
=
0
;
}
function
hideRule
()
{
...
...
@@ -156,7 +155,7 @@ function showRule() {
}
function
showIntro
()
{
$
(
'.page1'
).
hide
()
introScrolltop
=
$
(
'.wrap-inner'
).
scrollTop
();
$
(
'.intro-page'
).
show
();
}
...
...
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