younger_times
2023-07-14 b932f704f6c04adc7d7b4104a06cbc09c8d49cb5
WanPai/Root/Activity/VC/ActivityDetailApplyVC.swift
@@ -28,7 +28,7 @@
    }
    
    @IBAction func addStudentAction(_ sender: QMUIButton) {
        StudentChooseView.show(itemType:.activity) {
        StudentChooseView.show(itemType: .activity) { studs in
            
        } needAddClouse: {[weak self] () in
            let vc = ActivityStudentListVC()
@@ -38,16 +38,20 @@
    
    @IBAction func applyAction(_ sender: UIButton) {
        
        StoresInfoView.show({ status in
            if status{
                PaymentView.show { stat in
                    let result:PaymentResultVC.PaymentResult = status ? .success:.fail
                    let vc = PaymentResultVC(result: result, objType: .activityApply)
                    vc.modalPresentationStyle = .fullScreen
                    self.present(vc, animated: true)
        StoresInfoView.show(CourseDetailModel()) { status in
                }
            }
        })
//        StoresInfoView.show(CourseDetailModel() { status in
//            if status{
//                PaymentView.show(money: (ali:1,wx:2,coin:2,course:2)) { stat in
//                    let result:PaymentResultVC.PaymentResult = status ? .success:.fail
//                    let vc = PaymentResultVC(result: result, objType: .activityApply)
//                    vc.modalPresentationStyle = .fullScreen
//                    self.present(vc, animated: true)
//                }
//            }
//        }
    }
}