更新 recommend.vue

This commit is contained in:
jxxghp
2025-04-09 23:01:13 +08:00
committed by GitHub
parent 675c32cee3
commit f58d4fcb7e

View File

@@ -195,15 +195,6 @@ onMounted(async () => {
onActivated(async () => {
loadExtraRecommendSources()
})
// 监听分类变更,平滑过渡
watch(currentCategory, () => {
// 当分类变更时,应用渐变动画
const contentGroups = document.querySelectorAll('.content-group')
contentGroups.forEach(group => {
group.classList.add('fade-transition')
})
})
</script>
<template>