| | |
| | | self.btn_back.setTitle("返回", for: .normal) |
| | | self.btn_again.setTitle("再次支付", for: .normal) |
| | | label_content.text = string |
| | | if code == 3{btn_again.setTitle("去充值", for: .normal)} |
| | | if code == 2{btn_again.setTitle("去充值", for: .normal)} |
| | | |
| | | case .none:break |
| | | } |
| | |
| | | btn_again.setTitle("再次支付", for: .normal) |
| | | btn_back.setTitle("返回", for: .normal) |
| | | label_content.text = str |
| | | if code == 3{btn_again.setTitle("去充值", for: .normal)} |
| | | if code == 2{btn_again.setTitle("去充值", for: .normal)} |
| | | case .success: |
| | | btn_again.setTitle("立即预约", for: .normal) |
| | | btn_back.setTitle("返回首页", for: .normal) |
| | |
| | | btn_again.setTitle("再次支付", for: .normal) |
| | | btn_back.setTitle("返回", for: .normal) |
| | | label_content.text = str |
| | | if code == 3{btn_again.setTitle("去充值", for: .normal)} |
| | | if code == 2{btn_again.setTitle("去充值", for: .normal)} |
| | | case .success: |
| | | btn_again.setTitle("立即预约", for: .normal) |
| | | btn_back.setTitle("返回首页", for: .normal) |
| | |
| | | case .fail(let str, let code): |
| | | btn_back.setTitle("返回", for: .normal) |
| | | label_content.text = str |
| | | if code == 3{btn_again.setTitle("去充值", for: .normal)} |
| | | if code == 2{btn_again.setTitle("去充值", for: .normal)} |
| | | case .success: |
| | | btn_again.setTitle("查看报名", for: .normal) |
| | | btn_back.setTitle("返回首页", for: .normal) |
| | |
| | | label_content.text = str |
| | | btn_again.setTitle("再次支付", for: .normal) |
| | | btn_back.setTitle("返回", for: .normal) |
| | | if code == 3{btn_again.setTitle("去充值", for: .normal)} |
| | | if code == 2{btn_again.setTitle("去充值", for: .normal)} |
| | | case .success: |
| | | btn_again.setTitle("查看预约", for: .normal) |
| | | btn_back.setTitle("返回首页", for: .normal) |
| | |
| | | btn_again.setTitle("再次支付", for: .normal) |
| | | btn_back.setTitle("返回", for: .normal) |
| | | label_content.text = str |
| | | if code == 3{btn_again.setTitle("去充值", for: .normal)} |
| | | if code == 2{btn_again.setTitle("去充值", for: .normal)} |
| | | case .success: |
| | | btn_again.isHidden = true |
| | | btn_back.setTitleColor(.white, for: .normal) |
| | |
| | | btn_again.setTitle("再次支付", for: .normal) |
| | | btn_back.setTitle("返回", for: .normal) |
| | | label_content.text = msg |
| | | if code == 3{btn_again.setTitle("去充值", for: .normal)} |
| | | if code == 2{btn_again.setTitle("去充值", for: .normal)} |
| | | |
| | | case .none:break |
| | | } |
| | |
| | | }) |
| | | } |
| | | |
| | | if objType == .recharge{ |
| | | if objType == .recharge || objType == .yard{ |
| | | navigationController?.popViewController() |
| | | } |
| | | |
| | |
| | | cell.courseCouponModel = m |
| | | } |
| | | |
| | | if let m = model as? CouponInfoModel{ |
| | | if let m = model as? CouponInfo_1_Model{ |
| | | cell.couponInfoModel = m |
| | | } |
| | | |