杨锴
2024-11-05 0fb7413df54760ac6bd15b90b738e0706de1629e
XQMuse/Root/Login/View/Popup_1_View.swift
@@ -44,14 +44,14 @@
                        sceneDelegate?.window?.addSubview(popupView)
                        popupView.frame = sceneDelegate?.window?.frame ?? .zero
                        var t = 3
                        var t = 2
                        UIView.animate(withDuration: 0.4) {
                                    popupView.alpha = 1
                                    popupView.view_content.transform = .init(scaleX: 1.0, y: 1.0)
                        }completion: { _ in
                                    Timer.scheduledTimer(withTimeInterval: 1.0, repeats: true) { _ in
                                                t -= 1
                                                popupView.label_times.text = "\(t)s"
                                                popupView.label_times.text = "\(min(t,1))s"
                                                if t == 0{
                                                            popupView.hidden()
                                                }