From 35df2cd9a90a392d76b52acd3c91bd973474314e Mon Sep 17 00:00:00 2001 From: Leeway213 Date: Sun, 24 Mar 2024 14:14:35 +0800 Subject: [PATCH] Update HomeView.vue --- src/views/HomeView.vue | 35 +---------------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index b76384f..ba7e775 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -20,39 +20,6 @@ const bibTex = ref(`@inproceedings{2024champ, year = {2024} }`); -// import { initTWE, Carousel } from 'tw-elements'; -// onMounted(() => { -// initTWE({ Carousel }, { allowReinits: true }); -// }); - -// const animateHumanVideos = ref([]); -// const animateHumanCarousel = ref(); -// watch(animateHumanCarousel, (v) => { -// if (v) { -// v.addEventListener('slide.twe.carousel', (evt: any) => { -// v.addEventListener('slide.twe.carousel', (v: any) => { -// const from = v.from; -// const to = v.to; -// animateHumanVideos.value[from]?.pause(); -// animateHumanVideos.value[to]?.play(); -// }) -// }); -// } -// }); - -// const comparisionsCarousel = ref(); -// const comparisionVideos = ref([]); -// watch(comparisionsCarousel, (newV) => { -// if (newV) { -// newV.addEventListener('slide.twe.carousel', (v: any) => { -// const from = v.from; -// const to = v.to; -// comparisionVideos.value[from]?.pause(); -// comparisionVideos.value[to]?.play(); -// }) -// } -// }, { once: true }); -