Commit 7f625161 authored by David黄金龙's avatar David黄金龙

一处 代码优化

parent a9d199f3
...@@ -142,8 +142,9 @@ extension YHHomeBannerView: FSPagerViewDataSource, FSPagerViewDelegate { ...@@ -142,8 +142,9 @@ extension YHHomeBannerView: FSPagerViewDataSource, FSPagerViewDelegate {
url = model.skip_url + "&param=" + token url = model.skip_url + "&param=" + token
} }
printLog("url: \(url)") printLog("url: \(url)")
let vc = YHHomeWebViewController() let vc = YHH5WebViewVC()
vc.url = url vc.url = url
vc.isFullScreenFlag = false
self.parentViewController?.navigationController?.pushViewController(vc) self.parentViewController?.navigationController?.pushViewController(vc)
case 2: //跳转APP内Tab case 2: //跳转APP内Tab
goAppTab(tabBarName:model.skip_url) goAppTab(tabBarName:model.skip_url)
......
...@@ -130,8 +130,9 @@ extension YHServiceBannerView: FSPagerViewDataSource, FSPagerViewDelegate { ...@@ -130,8 +130,9 @@ extension YHServiceBannerView: FSPagerViewDataSource, FSPagerViewDelegate {
url = model.skip_url + "&param=" + token url = model.skip_url + "&param=" + token
} }
printLog("url: \(url)") printLog("url: \(url)")
let vc = YHHomeWebViewController() let vc = YHH5WebViewVC()
vc.url = url vc.url = url
vc.isFullScreenFlag = false
self.parentViewController?.navigationController?.pushViewController(vc) self.parentViewController?.navigationController?.pushViewController(vc)
case 2: //跳转APP内Tab case 2: //跳转APP内Tab
goAppTab(tabBarName:model.skip_url) goAppTab(tabBarName:model.skip_url)
......
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