无故事王国
2023-10-26 152da0e2d8cd3bd522fb04d1114f0930c33c9fdf
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 == "主页"{
         }