mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-09-08 22:57:11 +08:00
style: 统一加载图标
This commit is contained in:
@@ -12,11 +12,7 @@
|
|||||||
<div id="app">
|
<div id="app">
|
||||||
<section class="init-box">
|
<section class="init-box">
|
||||||
<div class="init-loading">
|
<div class="init-loading">
|
||||||
<div class="init-loading-rect"></div>
|
<img src="/static/images/loading.svg" class="init-loading-icon" alt="loading" />
|
||||||
<div class="init-loading-rect"></div>
|
|
||||||
<div class="init-loading-rect"></div>
|
|
||||||
<div class="init-loading-rect"></div>
|
|
||||||
<div class="init-loading-rect"></div>
|
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -14,36 +14,14 @@ body {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
.init-loading-rect {
|
@keyframes arco-loading-circle {
|
||||||
background-color: #007aff;
|
from {
|
||||||
height: 100%;
|
transform: rotate(0deg);
|
||||||
width: 15%;
|
|
||||||
animation: init-wave 1.2s infinite ease-in-out;
|
|
||||||
}
|
}
|
||||||
|
to {
|
||||||
.init-loading-rect:nth-child(1) {
|
transform: rotate(360deg);
|
||||||
animation-delay: -1.2s;
|
|
||||||
}
|
|
||||||
.init-loading-rect:nth-child(2) {
|
|
||||||
animation-delay: -1.1s;
|
|
||||||
}
|
|
||||||
.init-loading-rect:nth-child(3) {
|
|
||||||
animation-delay: -1s;
|
|
||||||
}
|
|
||||||
.init-loading-rect:nth-child(4) {
|
|
||||||
animation-delay: -0.9s;
|
|
||||||
}
|
|
||||||
.init-loading-rect:nth-child(5) {
|
|
||||||
animation-delay: -0.8s;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes init-wave {
|
|
||||||
0%,
|
|
||||||
40%,
|
|
||||||
100% {
|
|
||||||
transform: scaleY(0.4);
|
|
||||||
}
|
|
||||||
20% {
|
|
||||||
transform: scaleY(1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.init-loading-icon {
|
||||||
|
animation: arco-loading-circle 1s infinite cubic-bezier(0,0,1,1);
|
||||||
|
}
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user