杨锴
2024-11-05 0fb7413df54760ac6bd15b90b738e0706de1629e
XQMuse/Root/Plans/PlanGuideVC.swift
@@ -11,8 +11,6 @@
let PlantGuideQuit_Noti = Notification.Name.init(rawValue: "PlantGuideQuit_Noti")
let backgroundVoiceUrl = "https://xqgwzh.obs.cn-south-1.myhuaweicloud.com/question/backgroundQuestion.wav"
class PlanGuideVC: BaseVC {
            @IBOutlet weak var view_gradient: UIView!
@@ -68,11 +66,13 @@
            override func viewWillAppear(_ animated: Bool) {
                        super.viewWillAppear(animated)
                        player.play()
        bgplayer.play()
            }
            override func viewDidDisappear(_ animated: Bool) {
                        super.viewDidDisappear(animated)
                        player.pause()
//        bgplayer.pause()
            }
            override func setUI() {
@@ -134,11 +134,11 @@
                                                            let vc = PlanGuide_1_VC()
                                                            self?.jq_push(vc: vc)
                                                case .toSeting:
                                                            self?.dismiss(animated: true) {
//                                                            self?.dismiss(animated: true) {
                                                                        let vc = BackgroundVoiceVC()
                                                                        vc.hidesBottomBarWhenPushed = true
                                                                        JQ_currentNavigationController().pushViewController(vc)
                                                            }
//                                                            }
                                    }
                        }
            }