2020-01-29 11:37:25 -08:00
|
|
|
<template>
|
|
|
|
<div class="yxspomdl">
|
2020-02-10 03:44:59 -08:00
|
|
|
<div class="ring"></div>
|
2020-01-29 11:37:25 -08:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import Vue from 'vue';
|
|
|
|
|
|
|
|
export default Vue.extend({
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
2020-02-10 03:44:59 -08:00
|
|
|
@keyframes ring {
|
|
|
|
0% {
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-01-29 11:37:25 -08:00
|
|
|
.yxspomdl {
|
|
|
|
padding: 32px;
|
|
|
|
text-align: center;
|
|
|
|
|
2020-02-10 03:44:59 -08:00
|
|
|
> .ring {
|
|
|
|
display: inline-block;
|
|
|
|
width: 80px;
|
|
|
|
height: 80px;
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .ring:after {
|
|
|
|
content: " ";
|
|
|
|
display: block;
|
|
|
|
width: 64px;
|
|
|
|
height: 64px;
|
|
|
|
margin: 8px;
|
|
|
|
border-radius: 50%;
|
|
|
|
border: solid 6px;
|
|
|
|
border-color: var(--fg) transparent transparent transparent;
|
|
|
|
animation: ring 0.5s linear infinite;
|
2020-01-29 11:37:25 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|