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

1、删除不使用代码

2、处理一处展示bug
parent d3542a79
......@@ -37,16 +37,6 @@ class YHPreviewBaseViewController: YHBaseViewController {
make.left.equalTo(16)
make.right.equalTo(-16)
}
}
override func viewWillLayoutSubviews() {
super.viewWillLayoutSubviews()
// homeTableView.snp.makeConstraints { make in
// make.top.bottom.equalToSuperview()
// make.left.equalTo(16)
// make.right.equalTo(-16)
// }
}
}
......
......@@ -129,9 +129,6 @@ class YHPreviewControllerHoldViewController: UIViewController {
segmentedView.frame = CGRect(x: 0, y: 0, width: view.bounds.size.width, height: 55)
listContainerView.frame = CGRect(x: 0, y: 55, width: view.bounds.size.width, height: view.bounds.size.height - 55)
segmentedView.backgroundColor = .white
view.backgroundColor = .yellow//for test hjl
}
}
......
......@@ -48,7 +48,7 @@ extension YHPreviewInfoCell {
holdView.snp.makeConstraints { make in
make.top.equalTo(14)
make.left.equalToSuperview()
make.bottom.equalToSuperview().offset(-40)
make.bottom.equalToSuperview()
make.width.equalTo(contentView.snp.width)
}
......
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