Commit 04058811 by doszhang

dos

parent 5fabf52b
...@@ -44,10 +44,12 @@ if ($('div').length > 0) { ...@@ -44,10 +44,12 @@ if ($('div').length > 0) {
}); });
} }
$('.loading-page').show();
preloadimages(preloadImageList, function () { preloadimages(preloadImageList, function () {
$('.loading-page').hide(); $('.loading-page').hide();
$('.home-page').show(); // $('.home-page').show();
$('.poster-page').show();
createPoster();
}, function (progress) { }, function (progress) {
$('.loading-page .progress').css('width', (16.6 / 100) * (progress * 100) + 'rem'); $('.loading-page .progress').css('width', (16.6 / 100) * (progress * 100) + 'rem');
}); });
...@@ -83,7 +85,7 @@ let posterCanvas; ...@@ -83,7 +85,7 @@ let posterCanvas;
let posterCtx; let posterCtx;
$(document).ready(function () { $(document).ready(function () {
createPoster();
$("input").on("blur", function () { $("input").on("blur", function () {
window.scroll(0, 0); //失焦后强制让页面归位 window.scroll(0, 0); //失焦后强制让页面归位
}); });
......
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