mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-05-17 18:47:29 +08:00
✨ feat: 优化主题效果 添加展开 menu功能 优化图片清晰度 添加随机播放功能(#20)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user