Commit 54434cef by doszhang

dos

parent 9b2245ab
...@@ -82,6 +82,7 @@ let scrollTimer, ...@@ -82,6 +82,7 @@ let scrollTimer,
createPosterLock = false; createPosterLock = false;
let fixHeight = document.documentElement.clientHeight > 1238 ? document.documentElement.clientHeight : 1238; let fixHeight = document.documentElement.clientHeight > 1238 ? document.documentElement.clientHeight : 1238;
let introScrolltop = 0;
const guardian = [ const guardian = [
'事事顺意守', '事事顺意守',
...@@ -100,9 +101,6 @@ $(document).ready(function () { ...@@ -100,9 +101,6 @@ $(document).ready(function () {
$('.rule-page').on('touchmove', function () { $('.rule-page').on('touchmove', function () {
return false; return false;
}); });
$('.intro-page').on('touchmove', function (e) {
e.stopPropagation()
});
// var vConsole = new VConsole(); // var vConsole = new VConsole();
// console.log('ok') // console.log('ok')
// audioAutoPlay('music') // audioAutoPlay('music')
...@@ -144,7 +142,8 @@ $(document).ready(function () { ...@@ -144,7 +142,8 @@ $(document).ready(function () {
function hideIntro() { function hideIntro() {
$('.intro-page').hide(); $('.intro-page').hide();
$('.page1').show() $('.wrap-inner').scrollTop(introScrolltop);
introScrolltop = 0;
} }
function hideRule() { function hideRule() {
...@@ -156,7 +155,7 @@ function showRule() { ...@@ -156,7 +155,7 @@ function showRule() {
} }
function showIntro() { function showIntro() {
$('.page1').hide() introScrolltop = $('.wrap-inner').scrollTop();
$('.intro-page').show(); $('.intro-page').show();
} }
......
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