mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-06 16:16:42 +08:00
更新 recommend.vue
This commit is contained in:
@@ -195,15 +195,6 @@ onMounted(async () => {
|
|||||||
onActivated(async () => {
|
onActivated(async () => {
|
||||||
loadExtraRecommendSources()
|
loadExtraRecommendSources()
|
||||||
})
|
})
|
||||||
|
|
||||||
// 监听分类变更,平滑过渡
|
|
||||||
watch(currentCategory, () => {
|
|
||||||
// 当分类变更时,应用渐变动画
|
|
||||||
const contentGroups = document.querySelectorAll('.content-group')
|
|
||||||
contentGroups.forEach(group => {
|
|
||||||
group.classList.add('fade-transition')
|
|
||||||
})
|
|
||||||
})
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
Reference in New Issue
Block a user