Commit f0890bbb authored by Steven杜宇's avatar Steven杜宇

// 搜索

parent 6fb1ad13
......@@ -36,7 +36,7 @@ class YHCertificateEntryHeadView: UIView {
return titleLable
}()
let numFont = UIFont(name: "DINAlternate-Bold", size: 14)!
let numFont = UIFont(name: "DINAlternate-Bold", size: 17)!
private lazy var statiticLable : UILabel = {
......@@ -67,19 +67,19 @@ private extension YHCertificateEntryHeadView {
}
let a: ASAttributedString = .init("待上传", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.mainTextColor))
let aa: ASAttributedString = .init("0", .font(numFont),.foreground(UIColor.warnColor))
let aa: ASAttributedString = .init(" 0 ", .font(numFont),.foreground(UIColor.warnColor))
let b: ASAttributedString = .init("件,已驳回", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.mainTextColor))
let bb: ASAttributedString = .init("0", .font(numFont),.foreground(UIColor.warnColor))
let bb: ASAttributedString = .init(" 0 ", .font(numFont),.foreground(UIColor.warnColor))
let c: ASAttributedString = .init("件,审核中", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.mainTextColor))
let cc: ASAttributedString = .init("0", .font(numFont),.foreground(UIColor.warnColor))
let cc: ASAttributedString = .init(" 0 ", .font(numFont),.foreground(UIColor.warnColor))
let d: ASAttributedString = .init("件,已完成", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.mainTextColor))
let dd: ASAttributedString = .init("0", .font(numFont),.foreground(UIColor.warnColor))
let dd: ASAttributedString = .init(" 0 ", .font(numFont),.foreground(UIColor.warnColor))
let e: ASAttributedString = .init("件", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.mainTextColor))
......@@ -105,19 +105,19 @@ private extension YHCertificateEntryHeadView {
nameLable.text = "您好," + tmp
let a: ASAttributedString = .init("待上传", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.mainTextColor))
let aa: ASAttributedString = .init(NSAttributedString(string: String(dataModel.to_be_submit_num)), .font(numFont),.foreground(UIColor.warnColor))
let aa: ASAttributedString = .init(NSAttributedString(string: " \(dataModel.to_be_submit_num) "), .font(numFont),.foreground(UIColor.warnColor))
let b: ASAttributedString = .init("件,已驳回", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.mainTextColor))
let bb: ASAttributedString = .init(NSAttributedString(string: String(dataModel.reject_num)), .font(numFont),.foreground(UIColor.warnColor))
let bb: ASAttributedString = .init(NSAttributedString(string: " \(dataModel.reject_num) "), .font(numFont),.foreground(UIColor.warnColor))
let c: ASAttributedString = .init("件,审核中", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.mainTextColor))
let cc: ASAttributedString = .init(NSAttributedString(string: String(dataModel.to_be_audit_num)), .font(numFont),.foreground(UIColor.warnColor))
let cc: ASAttributedString = .init(NSAttributedString(string: " \(dataModel.to_be_audit_num) "), .font(numFont),.foreground(UIColor.warnColor))
let d: ASAttributedString = .init("件,已完成", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.mainTextColor))
let dd: ASAttributedString = .init(NSAttributedString(string: String(dataModel.pass_num)), .font(numFont),.foreground(UIColor.warnColor))
let dd: ASAttributedString = .init(NSAttributedString(string: " \(dataModel.pass_num) "), .font(numFont),.foreground(UIColor.warnColor))
let e: ASAttributedString = .init("件", .font(UIFont.PFSC_R(ofSize: 13)),.foreground(UIColor.mainTextColor))
......
......@@ -26,7 +26,6 @@ class YHCertificateSearchBar: UIView {
private lazy var contentView = {
let view = UIView()
view.backgroundColor = .contentBkgColor
view.layer.cornerRadius = Self.height/2.0
view.clipsToBounds = true
return view
}()
......@@ -50,7 +49,6 @@ class YHCertificateSearchBar: UIView {
btn.titleLabel?.font = UIFont.PFSC_M(ofSize: 12)
btn.setTitleColor(.white, for: .normal)
btn.backgroundColor = UIColor.brandMainColor
btn.layer.cornerRadius = Self.cancelBtnHeight/2.0
btn.addTarget(self, action: #selector(searchBtnClicked), for: .touchUpInside)
return btn
}()
......
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