刘光辉
9 小时以前 0dfe84494048ce27ba8449831782128412d3eb13
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<script setup lang="ts">
import type { CSSProperties } from 'vue';
 
interface Props {
  dotClass?: string;
  dotStyle?: CSSProperties;
}
 
withDefaults(defineProps<Props>(), {
  dotClass: '',
  dotStyle: () => ({}),
});
</script>
<template>
  <span class="relative mr-1 flex size-1.5">
    <span :class="dotClass" :style="dotStyle" class="absolute inline-flex h-full w-full animate-ping rounded-full opacity-75"> </span>
    <span :class="dotClass" :style="dotStyle" class="relative inline-flex size-1.5 rounded-full"></span>
  </span>
</template>