Commit 0d0cf9bf authored by David黄金龙's avatar David黄金龙

添加 导航栏高度

parent 7c0ad812
......@@ -144,8 +144,13 @@ extension YHJsApi {
} else {
//普通界面
if !url.isEmpty {
var tUrl = url + "?navigationH=\(k_Height_NavigationtBarAndStatuBar)"
let urlHasParam = String.hasQueryParameters(urlString: url)
if urlHasParam {
tUrl = url + "&navigationH=\(k_Height_NavigationtBarAndStatuBar)"
}
let vc = YHH5WebViewVC()
vc.url = url
vc.url = tUrl
vc.isFullScreenFlag = isFullScreen == 1 ? true : false
vc.navTitle = navTitle
self.delegate?.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