Commit 4982e168 authored by Steven杜宇's avatar Steven杜宇

// 体验中心

parent 45ae73eb
...@@ -61,7 +61,8 @@ class YHDetailViewController: YHBaseViewController { ...@@ -61,7 +61,8 @@ class YHDetailViewController: YHBaseViewController {
} }
@objc func visitBtnClicked() { @objc func visitBtnClicked() {
var url = YHBaseUrlManager.shared.businessH5Url() + "/pre-sale/startup/visit/appointment?centerId=" + "\(model.id)" let name = YHURLEncodeHelper.urlEncodedString(model.tag) ?? ""
var url = YHBaseUrlManager.shared.businessH5Url() + "/pre-sale/startup/visit/appointment?centerName=" + name
if YHLoginManager.shared.isLogin() { if YHLoginManager.shared.isLogin() {
let token = YHLoginManager.shared.h5Token let token = YHLoginManager.shared.h5Token
let urlHasParam = String.hasQueryParameters(urlString: url) let urlHasParam = String.hasQueryParameters(urlString: url)
...@@ -80,6 +81,7 @@ class YHDetailViewController: YHBaseViewController { ...@@ -80,6 +81,7 @@ class YHDetailViewController: YHBaseViewController {
} }
let vc = YHH5WebViewVC() let vc = YHH5WebViewVC()
vc.url = tUrl vc.url = tUrl
vc.isFullScreenFlag = false
UIViewController.current?.navigationController?.pushViewController(vc) UIViewController.current?.navigationController?.pushViewController(vc)
} }
} }
......
...@@ -51,6 +51,7 @@ class YHListViewController: YHBaseViewController { ...@@ -51,6 +51,7 @@ class YHListViewController: YHBaseViewController {
} }
let vc = YHH5WebViewVC() let vc = YHH5WebViewVC()
vc.url = tUrl vc.url = tUrl
vc.isFullScreenFlag = false
UIViewController.current?.navigationController?.pushViewController(vc) UIViewController.current?.navigationController?.pushViewController(vc)
} }
} }
......
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