From 0fb7413df54760ac6bd15b90b738e0706de1629e Mon Sep 17 00:00:00 2001
From: 杨锴 <841720330@qq.com>
Date: 星期二, 05 十一月 2024 19:03:09 +0800
Subject: [PATCH] fix bug

---
 XQMuse/Root/Plans/PlanGuideVC.swift |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/XQMuse/Root/Plans/PlanGuideVC.swift b/XQMuse/Root/Plans/PlanGuideVC.swift
index 5fd10aa..3fb11b0 100644
--- a/XQMuse/Root/Plans/PlanGuideVC.swift
+++ b/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)
-																				}
+//																				}
 												}
 								}
 				}

--
Gitblit v1.7.1