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

Merge branch 'youhua-dev' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS into youhua-dev

* 'youhua-dev' of http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS:
  //  首页身份
parents 2f8f0c49 61ca59f2
......@@ -54,7 +54,7 @@ class YHHomeIdentityListVC: YHBaseViewController {
}()
lazy var headerView:UIView = {
let view = UIView(frame: CGRectMake(0, 0, KScreenWidth, KScreenWidth+44.0+8.0))
let view = UIView(frame: CGRectMake(0, 0, KScreenWidth, KScreenWidth+44.0+9.0))
view.backgroundColor = .white
view.addSubview(self.headImgView)
headImgView.snp.makeConstraints { make in
......@@ -63,12 +63,19 @@ class YHHomeIdentityListVC: YHBaseViewController {
}
self.segmentedView.dataSource = segmentedDataSource
view.addSubview(self.segmentedView)
let lineView = UIView()
lineView.backgroundColor = .separatorColor
view.addSubview(lineView)
segmentedView.snp.makeConstraints { make in
make.left.equalTo(0)
make.right.equalTo(0)
make.height.equalTo(44)
make.top.equalTo(headImgView.snp.bottom).offset(8.0)
}
lineView.snp.makeConstraints { make in
make.left.right.bottom.equalToSuperview()
make.height.equalTo(1.0)
}
return view
}()
......@@ -122,8 +129,7 @@ class YHHomeIdentityListVC: YHBaseViewController {
self.view.addSubview(self.tableView)
self.tableView.snp.makeConstraints { make in
make.top.equalToSuperview().offset(8.0)
make.left.right.bottom.equalToSuperview()
make.top.left.right.bottom.equalToSuperview()
}
let left = 20.0-Self.tabGap
self.segmentedView.snp.remakeConstraints { 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