Commit 098d2bb3 authored by pete谢兆麟's avatar pete谢兆麟

id为 0 的情况处理

parent b7b08a63
......@@ -110,6 +110,11 @@ class YHHomeWebViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
}
getData()
if id == 0 {
bottomView.isHidden = true
webview.frame = CGRect(x: 0, y: statusHeight + navHeight!, width: self.view.frame.width, height: self.view.frame.height - statusHeight - navHeight!)
}
}
deinit {
......
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