Commit 381e8c67 by doszhang

dos

parent 5a1ed54c
......@@ -92,6 +92,23 @@ input::-webkit-input-placeholder {
color: #c7c7c7;
}
.loading-page .loading-text {
text-align: center;
font-size: 20px;
line-height: 20px;
color: #fff;
font-weight: bolder;
}
.loading-page .progress {
width: 0;
overflow: hidden;
}
.loading-page .plant {
transform: translateX(-410px);
}
input[name=name],
input[name=business] {
font-size: 20px;
......
......@@ -91,7 +91,11 @@ preloadimages(preloadImageList, function () {
uploadCanvas = canvasinfo[0];
uploadCtx = canvasinfo[1];
}, function (progress) {});
}, function (progress) {
$('.loading-page .loading-text').text(Math.floor(progress * 100) + '%');
$('.loading-page .progress').css('width', 410 * progress + 'px');
$('.loading-page .plant').css('transform', 'translateX(' + -410 + (410 * progress) + 'px)');
});
$(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