进度条优化

This commit is contained in:
suwings 2017-11-19 10:47:09 +08:00
parent 564708694d
commit f70ad1ac68
2 changed files with 7 additions and 4 deletions

View File

@ -137,7 +137,10 @@
PageMain.stop(true, true).animate({
'opacity': '1'
}, 150, function() {
ToolsPageLoading.css("display", "none");
setTimeout(function(){
ToolsPageLoading.css("display", "none");
},100);
});
}

View File

@ -97,7 +97,7 @@
var masks = setInterval(function(){
www.innerHTML = www.innerHTML + '.';
count++;
if(count > 15)clearInterval(masks);
if(count > 10)clearInterval(masks);
},1000);
})();
@ -125,8 +125,8 @@
<!--页面加载进度条-->
<div class="Toolscon" id="ToolsPageLoading">
<div class="progress" style="height: 4px;line-height: 4px;">
<div id="ToolsLoading" class="progress-bar progress-bar-success progress-bar-striped" style="width: 0%;height: 4px;">
<div class="progress" style="height: 4px;line-height: 4px;background-color: inherit;border: 0px;">
<div id="ToolsLoading" class="progress-bar progress-bar-success progress-bar-striped active" style="width: 0%;height: 4px;">
</div>
</div>
</div>