From 152da0e2d8cd3bd522fb04d1114f0930c33c9fdf Mon Sep 17 00:00:00 2001 From: 无故事王国 <841720330@qq.com> Date: 星期四, 26 十月 2023 17:19:30 +0800 Subject: [PATCH] 修复BUG --- WanPai/Config/Def.swift | 17 ++++++++--------- 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/WanPai/Config/Def.swift b/WanPai/Config/Def.swift index abca89e..a76e966 100644 --- a/WanPai/Config/Def.swift +++ b/WanPai/Config/Def.swift @@ -57,19 +57,18 @@ //提示框 func alert(msg: String) { - hiddenHUD() - SVProgressHUD.showInfo(withStatus: msg) +// hiddenHUD() + SVProgressHUD.showInfo(withStatus: msg,maskType: .clear) } func alertError(msg:String){ - hiddenHUD() - SVProgressHUD.setMinimumDismissTimeInterval(1.5) - SVProgressHUD.showError(withStatus: msg) +// hiddenHUD() + SVProgressHUD.showError(withStatus: msg,maskType: .clear) } func alertSuccess(msg:String){ - hiddenHUD() - SVProgressHUD.showSuccess(withStatus: msg) +// hiddenHUD() + SVProgressHUD.showSuccess(withStatus: msg,maskType: .clear) } func showHUD(_ text:String? = nil){ @@ -130,7 +129,7 @@ case "加入玩湃": if page == "主页"{} - if page == "课程列表"{ + if page == "运动营列表"{ if type == "详情"{ JQ_currentViewController().jq_push(vc: CourseDetailVC(id:id ?? 0)) }else{ @@ -183,7 +182,7 @@ JQ_currentViewController().jq_push(vc: JoinMemberIntroduceVC()) } - case "开始课程": + case "开始运动营": if page == "主页"{ } -- Gitblit v1.7.1