这一版本优化了很多
This commit is contained in:
35
node_modules/wot-design-uni/components/wd-loading/index.scss
generated
vendored
Normal file
35
node_modules/wot-design-uni/components/wd-loading/index.scss
generated
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
@import "../common/abstracts/_mixin.scss";
|
||||
@import "../common/abstracts/variable.scss";
|
||||
|
||||
@include b(loading) {
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
width: $-loading-size;
|
||||
height: $-loading-size;
|
||||
|
||||
@include e(body) {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
animation: wd-rotate $-loading-duration linear infinite;
|
||||
}
|
||||
@include e(svg) {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-size: cover;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes wd-rotate {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user