123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- .wux-spin {
- position: relative;
- display: inline-block
- }
- .wux-spin__spinning {
- opacity: 1;
- position: static;
- display: inline-block;
- vertical-align: middle;
- text-align: center;
- font-size: 28rpx;
- line-height: 1.5;
- color: #FA7D22
- }
- .wux-spin__spinning--nested {
- vertical-align: middle;
- text-align: center;
- font-size: 28rpx;
- line-height: 1.5;
- color: #FA7D22;
- display: block;
- position: absolute;
- height: 100%;
- max-height: 640rpx;
- width: 100%;
- z-index: 4
- }
- .wux-spin--nested {
- display: block;
- height: 100%;
- }
- .wux-spin--nested .wux-spin__tip {
- position: absolute;
- top: 50%;
- width: 100%;
- padding-top: 12rpx;
- text-shadow: 0 2rpx 4rpx #fff
- }
- .wux-spin__dots {
- width: 40rpx;
- height: 40rpx;
- overflow: hidden;
- display: inline-block;
- transform: rotate(45deg);
- animation: rotate 1.2s infinite linear
- }
- .wux-spin--nested .wux-spin__dots {
- position: absolute;
- top: 50%;
- left: 50%;
- margin: -20rpx
- }
- .wux-spin__dot {
- width: 18rpx;
- height: 18rpx;
- border-radius: 100%;
- background-color: #FA7D22;
- transform: scale(.75);
- display: block;
- position: absolute;
- opacity: .3;
- animation: spinMove 1s infinite linear alternate;
- transform-origin: 50% 50%;
- text-indent: -999em
- }
- .wux-spin__dot:first-child {
- left: 0;
- top: 0
- }
- .wux-spin__dot:nth-child(2) {
- right: 0;
- top: 0;
- animation-delay: .4s
- }
- .wux-spin__dot:nth-child(3) {
- right: 0;
- bottom: 0;
- animation-delay: .8s
- }
- .wux-spin__dot:nth-child(4) {
- left: 0;
- bottom: 0;
- animation-delay: 1.2s
- }
- .wux-spin--show-text.wux-spin--nested .wux-spin__dots {
- margin-top: -40rpx
- }
- .wux-spin__container {
- position: relative;
- transition: opacity .3s;
- zoom: 1
- }
- .wux-spin__container--blur {
- overflow: hidden;
- opacity: .5;
- filter: blur(1rpx);
- transform: translateZ(0)
- }
- .wux-spin--small .wux-spin__tip {
- padding-top: 6rpx
- }
- .wux-spin--small .wux-spin__dots {
- width: 28rpx;
- height: 28rpx
- }
- .wux-spin--small.wux-spin--nested .wux-spin__dots {
- margin: -14rpx
- }
- .wux-spin--small .wux-spin__dot {
- width: 12rpx;
- height: 12rpx
- }
- .wux-spin--small.wux-spin--show-text.wux-spin--nested .wux-spin__dots {
- margin-top: -34rpx
- }
- .wux-spin--large .wux-spin__tip {
- padding-top: 24rpx
- }
- .wux-spin--large .wux-spin__dots {
- width: 64rpx;
- height: 64rpx
- }
- .wux-spin--large.wux-spin--nested .wux-spin__dots {
- margin: -32rpx
- }
- .wux-spin--large .wux-spin__dot {
- width: 28rpx;
- height: 28rpx
- }
- .wux-spin--large.wux-spin--show-text.wux-spin--nested .wux-spin__dots {
- margin-top: -52rpx
- }
- @keyframes rotate {
- to {
- transform: rotate(405deg)
- }
- }
- @keyframes spinMove {
- to {
- opacity: 1
- }
- }
|