perf: loading更改

This commit is contained in:
chenjinsong
2022-05-26 17:14:00 +08:00
parent f2d2e19526
commit fc58beacf5
14 changed files with 77 additions and 581 deletions

View File

@@ -387,16 +387,30 @@
position: absolute;
height: 100%;
width: 100%;
left: 0;
top: 0;
background-color: #fefefe;
z-index: 1;
opacity: .8;
i {
img {
position: absolute;
left: calc(50% - 15px);
top: calc(50% - 15px);
font-size: 30px;
color: #aaa;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
&.loading-img--large {
height: 30px;
width: 30px;
}
&.loading-img--small {
height: 14px;
width: 14px;
}
&.loading-img--default {
height: 20px;
width: 20px;
}
}
}

View File

@@ -79,12 +79,6 @@
display: flex;
width: calc(100% - 20px);
position: relative;
.chart__loading {
i.el-icon-loading {
font-size: 16px;
top: calc(50% - 8.5px);
}
}
.ship-body-list-title {
width: 130px;
font-size: 14px;

View File

@@ -63,10 +63,9 @@
display: inline-block;
text-align: center;
flex: 1;
.chart__loading i.el-icon-loading {
font-size: 18px;
top: calc(50% - 10px);
left: calc(50% - 8px);
.chart__loading img {
left: unset;
right: 0;
}
}
}

View File

@@ -265,14 +265,12 @@
display: flex;
.overview__tag-loading.overview__tag {
position: relative;
.chart__loading {
top: 0;
left: 0;
}
}
.overview__tag {
display: flex;
padding: 6px 15px;
padding: 0 15px;
height: 31px;
align-items: center;
margin-right: 20px;
background-color: #EFF6FE;
font-size: 14px;