Commit 3cb995ed authored by Steven杜宇's avatar Steven杜宇

// 家庭信息UI

parent 127097e3
......@@ -31,7 +31,7 @@ class YHFamilyInfoUpdateViewController: YHBaseViewController {
lazy var tableView: UITableView = {
let tableView = UITableView(frame:.zero, style:.grouped)
tableView.estimatedSectionHeaderHeight = 16.0
tableView.estimatedSectionHeaderHeight = 0.01
tableView.estimatedSectionFooterHeight = 0.01
tableView.contentInsetAdjustmentBehavior = .never
tableView.showsVerticalScrollIndicator = false
......@@ -264,7 +264,7 @@ extension YHFamilyInfoUpdateViewController: UITableViewDelegate, UITableViewData
}
private func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> CGFloat {
return 0.01
return 16.0
}
func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
......
......@@ -199,10 +199,10 @@ class YHIFamilyInfoListCell: UITableViewCell {
whiteView.addSubview(itemsContentView)
whiteView.snp.makeConstraints { make in
make.top.equalTo(16)
make.top.equalTo(16.0)
make.left.equalTo(16)
make.right.equalTo(-16)
make.bottom.equalTo(-16)
make.bottom.equalTo(0)
}
titleLabel.snp.makeConstraints { make in
......
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