Commit f671aae1 authored by David黄金龙's avatar David黄金龙

调整 资讯详情的展示

parent 6fcaec2b
...@@ -100,16 +100,15 @@ extension YHJsApi { ...@@ -100,16 +100,15 @@ extension YHJsApi {
let isFullScreen : Int = jsonObject["isFullScreen"] as? Int ?? 1 let isFullScreen : Int = jsonObject["isFullScreen"] as? Int ?? 1
let navTitle : String = jsonObject["navTitle"] as? String ?? "" let navTitle : String = jsonObject["navTitle"] as? String ?? ""
if !url.isEmpty { if isInformationUrl == 1 {
if isInformationUrl == 1 { //资讯详情
//资讯详情 let vc = YHHomeWebViewController()
let vc = YHHomeWebViewController() vc.id = id
vc.url = url vc.url = YHBaseUrlManager.shared.curH5URL() + "articleDetail.html" + "?id=\(id)"
vc.gk_navTitle = navTitle self.delegate?.navigationController?.pushViewController(vc)
// vc.id = model.id } else {
self.delegate?.navigationController?.pushViewController(vc) //普通界面
} else { if !url.isEmpty {
//普通界面
let vc = YHH5WebViewVC() let vc = YHH5WebViewVC()
vc.url = url vc.url = url
vc.isFullScreenFlag = isFullScreen == 1 ? true : false vc.isFullScreenFlag = isFullScreen == 1 ? true : false
......
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