<template>
  <div style="position: relative;">
    <div class="div" />
    <p class="text">
      正在唤起录音
    </p>
  </div>
</template>

<style scoped>
.text{
  display: block;
  width: 100%;
  font-size: 1.5em;
  text-align: center;
  position: absolute;
  left: 0;
  bottom: -2em;
}
.div {
  width: 28em;
  height: 28em;
  border: 3em solid transparent;
  border-top-color: #7fe7c4;
  border-bottom-color: #7fe7c4;
  border-radius: 50%;
  animation: spin-stretch 1.5s ease infinite;
}

@keyframes spin-stretch {
  50% {
    transform: rotate(360deg) scale(0.4, 0.33);
    border-width: 1.5em;
  }
  100% {
    transform: rotate(720deg) scale(1, 1);
    border-width: 3em;
  }
}

@keyframes fill {
  25%,
  50% {
    transform: scaleY(0);
  }
  100% {
    transform: scaleY(1);
  }
}
</style>
