feat: 优化主题效果 添加展开 menu功能 优化图片清晰度 添加随机播放功能(#20)

This commit is contained in:
alger
2024-12-29 00:43:39 +08:00
parent abdb2bcd50
commit dfdf02a17f
15 changed files with 118 additions and 130 deletions
+4 -3
View File
@@ -92,9 +92,10 @@ watch(selectedCategory, async () => {
await loadMvList();
});
const getAnimationDelay = computed(() => {
return (index: number) => setAnimationDelay(index, 30);
});
const getAnimationDelay = (index: number) => {
const currentPageIndex = index % limit.value;
return setAnimationDelay(currentPageIndex, 30);
};
onMounted(async () => {
await loadMvList();