Commit 61fbdeb6 authored by David黄金龙's avatar David黄金龙

优化 代码

parent a064fc53
......@@ -69,7 +69,6 @@ extension YHResignUploadTravelCardFootViewController {
@objc func click() {
let vc = YHH5WebViewVC()
vc.url = "https://www.ctshk.com/mep/zh/"
vc.isShowRightShareItemFlag = false
vc.isFullScreenFlag = false
UIViewController.current?.navigationController?.pushViewController(vc)
}
......
......@@ -140,7 +140,6 @@ extension YHResignUploadTravelGuideView {
dismiss()
let vc = YHH5WebViewVC()
vc.url = "https://www.ctshk.com/mep/zh/"
vc.isShowRightShareItemFlag = false
vc.isFullScreenFlag = false
UIViewController.current?.navigationController?.pushViewController(vc)
}
......
......@@ -341,14 +341,14 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
return
}
if true {
YHResignAppointTipsView.alertView().show()
// let vc = YHResignInfoConfirmViewController()
// self.navigationController?.pushViewController(vc)
return
}
// if true {
//
// YHResignAppointTipsView.alertView().show()
//
//// let vc = YHResignInfoConfirmViewController()
//// self.navigationController?.pushViewController(vc)
// return
// }
let item: PersonalModuleItem = items[indexPath.row]
switch item.type {
......@@ -408,6 +408,21 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
case .aboutUs:
let vc = YHAboutGalaxyViewController()
self.navigationController?.pushViewController(vc)
// SFSafariViewController
// let vc = YHH5WebViewVC()
// vc.url = "https://beta-sign.galaxy-immi.com/webPayConfirm?id=Qk9sbUlzenp0OGFOdVZ4ekphQXJGWnJ0ODdBS3gxdWNJcURrOHBLbm4xND0%3D"
// vc.isFullScreenFlag = false
// vc.isSupportWebviewInterBackFlag = true
// UIViewController.current?.navigationController?.pushViewController(vc)//for test hjl
// if let url = URL(string: "https://beta-sign.galaxy-immi.com/webPayConfirm?id=Qk9sbUlzenp0OGFOdVZ4ekphQXJGWnJ0ODdBS3gxdWNJcURrOHBLbm4xND0%3D") {
// let safariViewController = SFSafariViewController(url: url)
// safariViewController.dismissButtonStyle = .close
// safariViewController.modalPresentationStyle = .fullScreen
// UIViewController.current?.present(safariViewController, animated: true, completion: nil)
// }//for test hjl
default:
printLog("不需要响应")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment