Commit 0d41e585 by doszhang

dos

parent 51d04a9f
...@@ -95,8 +95,8 @@ preloadimages(preloadImageList, function () { ...@@ -95,8 +95,8 @@ preloadimages(preloadImageList, function () {
}, function (progress) { }, function (progress) {
$('.loading-page .loading-text').text(Math.floor(progress * 100) + '%'); $('.loading-page .loading-text').text(Math.floor(progress * 100) + '%');
$('.loading-page .progress').css('width', 410 * progress + 'px'); $('.loading-page .progress').css('width', 368 * progress + 'px');
$('.loading-page .plant').css('transform', 'translateX(' + (-410 + (410 * progress)) + 'px)'); $('.loading-page .plant').css('transform', 'translateX(' + (-368 + (368 * progress)) + 'px)');
}); });
$(document).ready(function () { $(document).ready(function () {
......
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