| | |
| | | case games //邮箱 |
| | | } |
| | | |
| | | |
| | | @IBOutlet weak var label_title: UILabel! |
| | | |
| | | @IBOutlet weak var img_paymentState: UIImageView! |
| | | @IBOutlet weak var label_content: UILabel! |
| | | @IBOutlet weak var collectionView: UICollectionView! |
| | |
| | | private var courseConfigId:Int? |
| | | private var handleVC:UIViewController? |
| | | private var models = [CourseCouponModel]() |
| | | |
| | | private var againClouse:(()->Void)? |
| | | |
| | | var isExtend:Bool = false |
| | | |
| | | required init(result:PaymentResult,objType:PaymentObjType,handleVC:UIViewController? = nil,courseConfigId:Int? = nil,againClouse:(()->Void)? = nil) { |
| | | super.init(nibName: nil, bundle: nil) |
| | |
| | | btn_again.setTitle("立即预约", for: .normal) |
| | | btn_back.setTitle("返回首页", for: .normal) |
| | | label_content.text = "报名成功,请及时预约课程上课!" |
| | | if isExtend{ |
| | | btn_back.isHidden = true |
| | | btn_again.setTitle("返回", for: .normal) |
| | | label_content.text = "续课成功!" |
| | | } |
| | | case .none:break |
| | | } |
| | | |
| | |
| | | let vc = YardBookingListVC() |
| | | JQ_currentViewController().jq_push(vc: vc) |
| | | case "立即预约": |
| | | navigationController?.popToRootViewController(animated: true) |
| | | navigationController?.qmui_popToRootViewController(animated: true, completion: { () in |
| | | JQ_currentViewController().tabBarController?.selectedIndex = 1 |
| | | }) |
| | | NotificationCenter.default.post(name: UpdateCurrentStore_Noti, object: nil) |
| | | NotificationCenter.default.post(name: StudentRefresh_Nofi, object: nil) |
| | | case "查看报名": |
| | | let vc = ActivitySignupListVC() |
| | | JQ_currentViewController().jq_push(vc: vc) |
| | |
| | | navigationController?.popViewController(animated: true, {() in |
| | | let vc = RechargeCenterVC() |
| | | JQ_currentViewController().jq_push(vc: vc) |
| | | }) |
| | | case "返回": |
| | | navigationController?.popViewController(animated: true, {() in |
| | | |
| | | }) |
| | | default:break |
| | | } |
| | |
| | | } |
| | | |
| | | override var preferredStatusBarStyle: UIStatusBarStyle{ |
| | | return .default |
| | | return .lightContent |
| | | } |
| | | } |
| | | |