Commit 5919fdb8 authored by David黄金龙's avatar David黄金龙

几处代码优化

parent fd07c51e
...@@ -47,6 +47,7 @@ class YHInformationPerfectListVC: YHBaseViewController { ...@@ -47,6 +47,7 @@ class YHInformationPerfectListVC: YHBaseViewController {
let titleLable = UILabel(text: "您好,-") let titleLable = UILabel(text: "您好,-")
titleLable.font = UIFont.PFSC_B(ofSize: 21) titleLable.font = UIFont.PFSC_B(ofSize: 21)
titleLable.textColor = UIColor.mainTextColor titleLable.textColor = UIColor.mainTextColor
titleLable.lineBreakMode = .byTruncatingMiddle
return titleLable return titleLable
}() }()
......
...@@ -32,6 +32,7 @@ class YHCertificateEntryHeadView: UIView { ...@@ -32,6 +32,7 @@ class YHCertificateEntryHeadView: UIView {
let titleLable = UILabel(text: "您好,李先生") let titleLable = UILabel(text: "您好,李先生")
titleLable.font = UIFont.PFSC_B(ofSize: 21) titleLable.font = UIFont.PFSC_B(ofSize: 21)
titleLable.textColor = UIColor.mainTextColor titleLable.textColor = UIColor.mainTextColor
titleLable.lineBreakMode = .byTruncatingMiddle
return titleLable return titleLable
}() }()
......
...@@ -60,6 +60,7 @@ class YHMyDocListHeaderView: UIView { ...@@ -60,6 +60,7 @@ class YHMyDocListHeaderView: UIView {
let lable0 = UILabel(text: "您好,尊敬的客户") let lable0 = UILabel(text: "您好,尊敬的客户")
lable0.textColor = UIColor.mainTextColor lable0.textColor = UIColor.mainTextColor
lable0.font = UIFont.PFSC_M(ofSize: 21) lable0.font = UIFont.PFSC_M(ofSize: 21)
lable0.lineBreakMode = .byTruncatingMiddle
return lable0 return lable0
}() }()
......
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