Commit 54434cef by doszhang

dos

parent 9b2245ab
......@@ -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();
}
......
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