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

优化 代码

parent a064fc53
...@@ -69,7 +69,6 @@ extension YHResignUploadTravelCardFootViewController { ...@@ -69,7 +69,6 @@ extension YHResignUploadTravelCardFootViewController {
@objc func click() { @objc func click() {
let vc = YHH5WebViewVC() let vc = YHH5WebViewVC()
vc.url = "https://www.ctshk.com/mep/zh/" vc.url = "https://www.ctshk.com/mep/zh/"
vc.isShowRightShareItemFlag = false
vc.isFullScreenFlag = false vc.isFullScreenFlag = false
UIViewController.current?.navigationController?.pushViewController(vc) UIViewController.current?.navigationController?.pushViewController(vc)
} }
......
...@@ -140,7 +140,6 @@ extension YHResignUploadTravelGuideView { ...@@ -140,7 +140,6 @@ extension YHResignUploadTravelGuideView {
dismiss() dismiss()
let vc = YHH5WebViewVC() let vc = YHH5WebViewVC()
vc.url = "https://www.ctshk.com/mep/zh/" vc.url = "https://www.ctshk.com/mep/zh/"
vc.isShowRightShareItemFlag = false
vc.isFullScreenFlag = false vc.isFullScreenFlag = false
UIViewController.current?.navigationController?.pushViewController(vc) UIViewController.current?.navigationController?.pushViewController(vc)
} }
......
...@@ -341,14 +341,14 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource { ...@@ -341,14 +341,14 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
return return
} }
if true { // if true {
//
YHResignAppointTipsView.alertView().show() // YHResignAppointTipsView.alertView().show()
//
// let vc = YHResignInfoConfirmViewController() //// let vc = YHResignInfoConfirmViewController()
// self.navigationController?.pushViewController(vc) //// self.navigationController?.pushViewController(vc)
return // return
} // }
let item: PersonalModuleItem = items[indexPath.row] let item: PersonalModuleItem = items[indexPath.row]
switch item.type { switch item.type {
...@@ -408,6 +408,21 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource { ...@@ -408,6 +408,21 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
case .aboutUs: case .aboutUs:
let vc = YHAboutGalaxyViewController() let vc = YHAboutGalaxyViewController()
self.navigationController?.pushViewController(vc) 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: default:
printLog("不需要响应") 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