diff --git a/to-live-photo/to-live-photo/Views/ProcessingView.swift b/to-live-photo/to-live-photo/Views/ProcessingView.swift index 58d8433..11ac0dc 100644 --- a/to-live-photo/to-live-photo/Views/ProcessingView.swift +++ b/to-live-photo/to-live-photo/Views/ProcessingView.swift @@ -54,7 +54,7 @@ struct ProcessingView: View { await startProcessing() } .onAppear { - withAnimation(.easeInOut(duration: 1.5).repeatForever(autoreverses: true)) { + withAnimation(.easeInOut(duration: 2.0).repeatForever(autoreverses: true)) { pulseAnimation = true } } @@ -88,8 +88,8 @@ struct ProcessingView: View { // 脉冲动画背景 Circle() .fill(Color.accentPurple.opacity(0.1)) - .frame(width: pulseAnimation ? 180 : 160, height: pulseAnimation ? 180 : 160) - .animation(.easeInOut(duration: 1.5).repeatForever(autoreverses: true), value: pulseAnimation) + .frame(width: pulseAnimation ? 175 : 160, height: pulseAnimation ? 175 : 160) + .animation(.easeInOut(duration: 2.0).repeatForever(autoreverses: true), value: pulseAnimation) // 进度环 SoftProgressRing(