index.tsx 399 B

123456789101112131415
  1. import { defineComponent } from "vue";
  2. import { Vue3Lottie } from "vue3-lottie";
  3. import styles from "./index.module.less";
  4. import AstronautJSON from "@/assets/animate/bigLoad.json";
  5. export default defineComponent({
  6. name: "TheLoading",
  7. setup() {
  8. return () => (
  9. <div class={styles.theLoading}>
  10. <Vue3Lottie animationData={AstronautJSON} speed={3} />
  11. </div>
  12. );
  13. },
  14. });