feat: 优化音乐解析,添加搜索记录 添加搜索滚动加载更多 添加关闭动画功能

This commit is contained in:
alger
2025-01-13 22:13:21 +08:00
parent 744fd53fb1
commit 8e86d378d0
7 changed files with 391 additions and 62 deletions
+3
View File
@@ -23,6 +23,9 @@ export const setAnimationClass = (type: String) => {
};
// 设置动画延时
export const setAnimationDelay = (index: number = 6, time: number = 50) => {
if (store.state.setData?.noAnimate) {
return '';
}
const speed = store.state.setData?.animationSpeed || 1;
return `animation-delay:${(index * time) / (speed * 2)}ms`;
};