Commit 31fbfafb authored by David黄金龙's avatar David黄金龙

我的清单 UI完善

parent 604019a2
...@@ -26,7 +26,7 @@ class YHFileListViewController: YHBaseViewController { ...@@ -26,7 +26,7 @@ class YHFileListViewController: YHBaseViewController {
private lazy var myScrollView : UIScrollView = { private lazy var myScrollView : UIScrollView = {
let view = UIScrollView() let view = UIScrollView()
view.backgroundColor = .red // view.backgroundColor = .red
return view return view
}() }()
...@@ -80,6 +80,8 @@ extension YHFileListViewController { ...@@ -80,6 +80,8 @@ extension YHFileListViewController {
gk_navBarAlpha = 1.0 gk_navBarAlpha = 1.0
gk_navBackgroundColor = .white gk_navBackgroundColor = .white
view.backgroundColor = UIColor(hex:0x0D37C7, alpha: 1.0)
view.addSubview(bottomView) view.addSubview(bottomView)
bottomView.snp.makeConstraints { make in bottomView.snp.makeConstraints { make in
make.left.right.bottom.equalToSuperview() make.left.right.bottom.equalToSuperview()
......
...@@ -43,6 +43,27 @@ class YHFileListHeaerView: UIView { ...@@ -43,6 +43,27 @@ class YHFileListHeaerView: UIView {
return imagV return imagV
}() }()
//待提交
private lazy var waitSubmitLable : UILabel = {
let imagV = UILabel()
imagV.text = "您有 4 项待提交"
imagV.font = UIFont.PFSC_R(ofSize: 14)
imagV.textColor = UIColor.white
return imagV
}()
//重传
private lazy var reuploadLable : UILabel = {
let imagV = UILabel()
imagV.text = "您有 4 项需重传"
imagV.font = UIFont.PFSC_R(ofSize: 14)
imagV.textColor = UIColor.white
return imagV
}()
...@@ -81,7 +102,7 @@ private extension YHFileListHeaerView { ...@@ -81,7 +102,7 @@ private extension YHFileListHeaerView {
addSubview(imagVDot1) addSubview(imagVDot1)
imagVDot1.snp.makeConstraints { make in imagVDot1.snp.makeConstraints { make in
make.left.equalTo(28) make.left.equalTo(28)
make.top.equalTo(topBkg.snp.bottom).offset(21) make.top.equalTo(imageV1.snp.bottom).offset(21)
make.width.height.equalTo(8) make.width.height.equalTo(8)
} }
...@@ -121,5 +142,25 @@ private extension YHFileListHeaerView { ...@@ -121,5 +142,25 @@ private extension YHFileListHeaerView {
make.height.equalTo(23) make.height.equalTo(23)
} }
addSubview(waitSubmitLable)
waitSubmitLable.snp.makeConstraints { make in
make.centerY.equalTo(imagVDot1)
make.left.equalTo(imagVDot1.snp.right).offset(20)
make.height.equalTo(21)
make.right.equalTo(imagVBkg1.snp.right).offset(4)
}
addSubview(reuploadLable)
reuploadLable.snp.makeConstraints { make in
make.centerY.equalTo(imagVDot2)
make.left.equalTo(imagVDot2.snp.right).offset(20)
make.height.equalTo(21)
make.right.equalTo(imagVBkg2.snp.right).offset(4)
}
} }
} }
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