无故事王国
2023-10-18 e86e19e5e5909f46e09adec1df430e0214a81590
WanPai/Root/Other/VC/PaymentResultVC.swift
@@ -137,17 +137,19 @@
            collectionView.isHidden =  true
            switch result {
               case .fail(let str):
                  label_title.text = "支付失败"
                  btn_again.setTitle("再次支付", for: .normal)
                  btn_back.setTitle("返回", for: .normal)
                  img_paymentState.image = UIImage(named: "icon_fail")
                  label_content.text = str
               case .success:
                  label_title.text = "支付成功"
                  btn_again.isHidden = true
                  btn_back.setTitleColor(.white, for: .normal)
                  btn_back.backgroundColor = Def_ThemeColor
                  btn_back.setTitle("选择游戏", for: .normal)
                  btn_back.setTitle("我的数据", for: .normal)
                  img_paymentState.image = UIImage(named: "icon_success")
                  label_content.text = "支付成功,请选择游戏!"
                  label_content.text = "支付成功"
               case .none:break
            }
@@ -189,7 +191,9 @@
      if let handleVC{
         handleVC.navigationController?.popToRootViewController(animated: true)
      }
      dismiss(animated: true)
      dismiss(animated: true) {
         JQ_currentViewController().jq_push(vc: GamesDataSourceVC())
      }
    }
}