TPI加载效果

This commit is contained in:
caishi 2017-08-18 16:21:32 +08:00
parent ab5b9ec5c3
commit a5124c9952
2 changed files with 10 additions and 8 deletions

View File

@ -328,7 +328,7 @@ function setupAjaxIndicatorBase() {
return;
}
if ($('.ajax-loading').length === 0 && settings.contentType != 'application/octet-stream') {
$('#ajax-indicator-base').show().html("<span><embed src='/images/bigdata/loading2.svg' /></span>");
$('#ajax-indicator-base').css("display","flex").show().html("<span><embed src='/images/bigdata/loading2.svg' /></span>");
}
});

View File

@ -368,14 +368,16 @@ a.shixun-task-ban-btn{background-color: #c2c4c6;display: inline-block;font-weigh
.loading_main img{border-radius: 4px;}
.loading_main span{font-size: 44px;font-weight: bold;color: #ff7500;letter-spacing: 5px;margin-left: 5px;}
.load{width: auto;top:50%;margin-top:-100px;position: relative;}
.loading_seconde{color: #ff7500;letter-spacing: 3px;font-size: 16px;}#ajax-indicator-base {
.loading_seconde{color: #ff7500;letter-spacing: 3px;font-size: 16px;}
#ajax-indicator-base {
position: absolute; /* fixed not supported by IE*/
background-color:#eee;
border: 1px solid #bbb;
top:35%;
left:40%;
width:20%;
height:5%;
top: 50%;
left: 50%;
margin-left: -20px;
margin-top: -40px;
/* width: 20%; */
/* height: 5%; */
font-weight:bold;
text-align:center;
padding:0.6em;