feat: enhance Q&A section with detailed explanations and accordion functionality; update localization for English and Traditional Chinese

This commit is contained in:
yuanhau 2025-05-13 11:24:13 +08:00
parent 28240b38dc
commit 5a585ddf7c
4 changed files with 56 additions and 32 deletions

View file

@ -281,8 +281,14 @@ onMounted(() => {
});
watchEffect((cleanupFn) => {
const timer = setTimeout(() => (progress.value = 100), 500);
const tier = setTimeout(() => (progress.value = 10), 200);
const timer = setTimeout(() => (progress.value = 30), 500);
const timmer = setTimeout(() => (progress.value = 70), 1000);
const timmmer = setTimeout(() => (progress.value = 100), 1600);
cleanupFn(() => clearTimeout(tier));
cleanupFn(() => clearTimeout(timer));
cleanupFn(() => clearTimeout(timmer));
cleanupFn(() => clearTimeout(timmmer));
});
</script>
<template>