| | |
| | | @IBOutlet weak var btn_addStudent: QMUIButton! |
| | | @IBOutlet weak var tableView: UITableView! |
| | | @IBOutlet weak var cons_tableHei: NSLayoutConstraint! |
| | | @IBOutlet weak var btn_coupon: TapBtn! |
| | | |
| | | @IBOutlet weak var studentTableView: UITableView! |
| | | var CellW:Double! |
| | |
| | | btn_addStudent.imagePosition = .right |
| | | btn_addStudent.spacingBetweenImageAndTitle = 3 |
| | | } |
| | | |
| | | @IBAction func couponAction(_ sender: TapBtn) { |
| | | CouponChooseView.show() |
| | | } |
| | | |
| | | @IBAction func studentAction(_ sender: QMUIButton) { |
| | | StudentChooseView.show { |
| | | |
| | | } needAddClouse: { [weak self] () in |
| | | let vc = AddStudentVC() |
| | | self?.push(vc: vc) |
| | | } |
| | | |
| | | } |
| | | |
| | | @IBAction func paymentAction(_ sender: UIButton) { |
| | | PaymentView.show { status in |
| | | let paymentState:PaymentResultVC.PaymentResult = status ? .success:.fail |
| | | let vc = PaymentResultVC(result: paymentState, objType: .apply) |
| | | vc.modalPresentationStyle = .fullScreen |
| | | self.present(vc, animated: true) |
| | | } |
| | | } |
| | | } |
| | | |
| | | extension CourseDetailApplyVC:UICollectionViewDelegate{ |