123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- <template>
- <view>
- <view class="mine-dialog" :class="{'mine-dialog-black':isBlack}">
- <view class="loader-inner ball-spin-fade-loader">
- <view></view>
- <view></view>
- <view></view>
- <view></view>
- <view></view>
- <view></view>
- <view></view>
- <view></view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- name: "en-loading",
- props: {
- 'isBlack':{
- default:false
- }
- },
- components: {},
- data() {
- return {}
- },
- mounted() {
- },
- methods: {}
- }
- </script>
- <style scoped lang="scss">
- .mine-dialog{
- position: fixed;
- left: 0;
- top: 0;
- right: 0;
- bottom: 0;
- z-index: 999;
- .loader-inner{ position: absolute; left: 0; top: 0; right: 0; bottom: 0; width: 50px; height: 50px; margin: auto;}
- }
- .mine-dialog-black{
- background: #17191D;
- }
- @-webkit-keyframes ball-spin-fade-loader {
- 50% {
- opacity: 0.3;
- -webkit-transform: scale(0.4);
- transform: scale(0.4); }
- 100% {
- opacity: 1;
- -webkit-transform: scale(1);
- transform: scale(1); } }
- @keyframes ball-spin-fade-loader {
- 50% {
- opacity: 0.3;
- -webkit-transform: scale(0.4);
- transform: scale(0.4); }
- 100% {
- opacity: 1;
- -webkit-transform: scale(1);
- transform: scale(1); } }
- .ball-spin-fade-loader {
- position: relative;
- }
- .ball-spin-fade-loader > view:nth-child(1) {
- top: 32px;
- left: 17px;
- -webkit-animation: ball-spin-fade-loader 1s 0s infinite linear;
- animation: ball-spin-fade-loader 1s 0s infinite linear;
- }
- .ball-spin-fade-loader > view:nth-child(2) {
- top: 28.04545px;
- left: 28.04545px;
- -webkit-animation: ball-spin-fade-loader 1s 0.12s infinite linear;
- animation: ball-spin-fade-loader 1s 0.12s infinite linear;
- }
- .ball-spin-fade-loader > view:nth-child(3) {
- top: 17px;
- left: 32px;
- -webkit-animation: ball-spin-fade-loader 1s 0.24s infinite linear;
- animation: ball-spin-fade-loader 1s 0.24s infinite linear;
- }
- .ball-spin-fade-loader > view:nth-child(4) {
- top: 6.04545px;
- left: 28.04545px;
- -webkit-animation: ball-spin-fade-loader 1s 0.36s infinite linear;
- animation: ball-spin-fade-loader 1s 0.36s infinite linear;
- }
- .ball-spin-fade-loader > view:nth-child(5) {
- top: 2px;
- left: 17px;
- -webkit-animation: ball-spin-fade-loader 1s 0.48s infinite linear;
- animation: ball-spin-fade-loader 1s 0.48s infinite linear;
- }
- .ball-spin-fade-loader > view:nth-child(6) {
- top: 6.04545px;
- left: 6.04545px;
- -webkit-animation: ball-spin-fade-loader 1s 0.6s infinite linear;
- animation: ball-spin-fade-loader 1s 0.6s infinite linear;
- }
- .ball-spin-fade-loader > view:nth-child(7) {
- top: 17px;
- left: 2px;
- -webkit-animation: ball-spin-fade-loader 1s 0.72s infinite linear;
- animation: ball-spin-fade-loader 1s 0.72s infinite linear;
- }
- .ball-spin-fade-loader > view:nth-child(8) {
- top: 28.04545px;
- left: 6.04545px;
- -webkit-animation: ball-spin-fade-loader 1s 0.84s infinite linear;
- animation: ball-spin-fade-loader 1s 0.84s infinite linear;
- }
- .ball-spin-fade-loader > view {
- background-color: #AAAAAA;
- width: 10px;
- height: 10px;
- border-radius: 100%;
- margin: 2px;
- -webkit-animation-fill-mode: both;
- animation-fill-mode: both;
- position: absolute;
- }
- </style>
|