Commit 3cbac33a authored by David黄金龙's avatar David黄金龙

处理 首页的UI的bug

parent 4d3ccc33
...@@ -88,7 +88,7 @@ class YHHomeHoldViewPageViewController: YHBaseViewController { ...@@ -88,7 +88,7 @@ class YHHomeHoldViewPageViewController: YHBaseViewController {
let offy = k_Height_safeAreaInsetsTop() + 6 + YHHomeSearchView.viewH + 6 let offy = k_Height_safeAreaInsetsTop() + 6 + YHHomeSearchView.viewH + 6
segmentedView.frame = CGRect(x: 0, y: offy, width: view.bounds.size.width, height: 48) segmentedView.frame = CGRect(x: 0, y: offy, width: view.bounds.size.width, height: 48)
let offy1 = offy + 48 let offy1 = offy + 48 + 10
listContainerView.frame = CGRect(x: 0, y: offy1, width: view.bounds.size.width, height: view.bounds.size.height - offy1 - k_Height_TabBar) listContainerView.frame = CGRect(x: 0, y: offy1, width: view.bounds.size.width, height: view.bounds.size.height - offy1 - k_Height_TabBar)
} }
......
...@@ -59,7 +59,7 @@ class YHServerTableHeadView: UIView { ...@@ -59,7 +59,7 @@ class YHServerTableHeadView: UIView {
}() }()
addSubview(bannarView) addSubview(bannarView)
bannarView.snp.makeConstraints { make in bannarView.snp.makeConstraints { make in
make.top.equalTo(6) make.top.equalToSuperview()
make.height.equalTo(235) make.height.equalTo(235)
make.left.right.equalToSuperview() make.left.right.equalToSuperview()
} }
......
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