Commit 42585af0 by doszhang

dos

parent ab1649f3
...@@ -47,11 +47,11 @@ if ($('div').length > 0) { ...@@ -47,11 +47,11 @@ if ($('div').length > 0) {
} }
}); });
} }
let rand =
$('.loading-page .loading-gif-block').append('<img class="loading-gif" src="' + picUrl + 'loading.gif" />'); $('.loading-page .loading-gif-block').append('<img class="loading-gif" src="' + picUrl + 'loading.gif" />');
$('.loading-page').show(); $('.loading-page').show();
preloadimages(preloadImageList, function () { preloadimages(preloadImageList, function () {
let i = 50; let i = 0;
let timer = setInterval(function () { let timer = setInterval(function () {
if (i < 100) { if (i < 100) {
$('.loading-page .loading-text').text(i + '%'); $('.loading-page .loading-text').text(i + '%');
...@@ -67,7 +67,7 @@ preloadimages(preloadImageList, function () { ...@@ -67,7 +67,7 @@ preloadimages(preloadImageList, function () {
}, function (progress) { }, function (progress) {
$('.loading-page .loading-text').text(Math.floor(progress * 50) + '%'); // $('.loading-page .loading-text').text(Math.floor(progress * 50) + '%');
}); });
const flag = [ const flag = [
......
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