Commit e09311a7 authored by David黄金龙's avatar David黄金龙

示例模版 大小 颜色值修改

parent 9ed7e618
...@@ -23,7 +23,7 @@ class YHBbxCollectionViewCell: UICollectionViewCell { ...@@ -23,7 +23,7 @@ class YHBbxCollectionViewCell: UICollectionViewCell {
lazy var descripeLable:UILabel = { lazy var descripeLable:UILabel = {
let label = UILabel() let label = UILabel()
label.textColor = UIColor(red: 0.315, green: 0.315, blue: 0.315, alpha: 1) label.textColor = UIColor(red: 0.315, green: 0.315, blue: 0.315, alpha: 1)
label.font = kFont(size: 12) label.font = UIFont.PFSC_R(ofSize: 12)
label.textAlignment = .center label.textAlignment = .center
label.text = "证件办理" label.text = "证件办理"
// label.backgroundColor = .blue // label.backgroundColor = .blue
......
...@@ -99,11 +99,11 @@ class YHMainInformationCardTableViewCell: UITableViewCell { ...@@ -99,11 +99,11 @@ class YHMainInformationCardTableViewCell: UITableViewCell {
exampleButton = { exampleButton = {
let button = UIButton(type: .custom) let button = UIButton(type: .custom)
button.backgroundColor = UIColor(hex:0x1f93ff).withAlphaComponent(0.12) button.backgroundColor = UIColor.brandMainColor.withAlphaComponent(0.08)
button.titleLabel?.font = kBoldFont(size: 10) button.titleLabel?.font = UIFont.PFSC_M(ofSize: 10)
button.contentHorizontalAlignment = .center button.contentHorizontalAlignment = .center
button.setTitle("示例模板", for: .normal) button.setTitle("示例模板", for: .normal)
button.setTitleColor( UIColor(hex:0x0085ff), for: .normal) button.setTitleColor( UIColor.brandMainColor, for: .normal)
button.layer.cornerRadius = 4 button.layer.cornerRadius = 4
button.addTarget(self, action: #selector(exampleClick), for: .touchUpInside) button.addTarget(self, action: #selector(exampleClick), for: .touchUpInside)
return button return button
...@@ -131,8 +131,8 @@ class YHMainInformationCardTableViewCell: UITableViewCell { ...@@ -131,8 +131,8 @@ class YHMainInformationCardTableViewCell: UITableViewCell {
frontLabel = { frontLabel = {
let label = UILabel() let label = UILabel()
label.font = kFont(size: 12) label.font = UIFont.PFSC_R(ofSize: 12)
label.textColor = UIColor(hex:0x888f98) label.textColor = UIColor.contentBkgColor
label.textAlignment = .center label.textAlignment = .center
return label return label
}() }()
...@@ -146,8 +146,8 @@ class YHMainInformationCardTableViewCell: UITableViewCell { ...@@ -146,8 +146,8 @@ class YHMainInformationCardTableViewCell: UITableViewCell {
backSurfaceLabel = { backSurfaceLabel = {
let label = UILabel() let label = UILabel()
label.font = kFont(size: 12) label.font = UIFont.PFSC_R(ofSize: 12)
label.textColor = UIColor(hex:0x888f98) label.textColor = UIColor.contentBkgColor
label.textAlignment = .center label.textAlignment = .center
return label return label
}() }()
......
...@@ -80,9 +80,9 @@ class YHWorkExperienceListTableViewCell: UITableViewCell { ...@@ -80,9 +80,9 @@ class YHWorkExperienceListTableViewCell: UITableViewCell {
subTitleLabel = { subTitleLabel = {
let label = UILabel() let label = UILabel()
label.font = kFont(size: 12) label.font = UIFont.PFSC_R(ofSize: 12)
label.text = "(从最近一份全职工作开始,直至毕业后的第一份工作)" label.text = "(从最近一份全职工作开始,直至毕业后的第一份工作)"
label.textColor = UIColor(hex:0x888f98) label.textColor = UIColor.contentBkgColor
return label return label
}() }()
centerView.addSubview(subTitleLabel) centerView.addSubview(subTitleLabel)
......
...@@ -84,7 +84,7 @@ class YHWorkHighlightsTableViewCell: UITableViewCell { ...@@ -84,7 +84,7 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
let label = UILabel() let label = UILabel()
label.text = "温馨提示:如下模板仅供思路参考,工作内容请按您的实际填写,后期文案会基于该内容进行文书材料撰写,望悉知" label.text = "温馨提示:如下模板仅供思路参考,工作内容请按您的实际填写,后期文案会基于该内容进行文书材料撰写,望悉知"
label.textColor = UIColor(hex: 0x2f7ef6) label.textColor = UIColor(hex: 0x2f7ef6)
label.font = kFont(size: 12) label.font = UIFont.PFSC_R(ofSize: 12)
label.numberOfLines = 0 label.numberOfLines = 0
return label return label
}() }()
......
...@@ -52,7 +52,7 @@ class YHWorkIntroductionItemView: UIView { ...@@ -52,7 +52,7 @@ class YHWorkIntroductionItemView: UIView {
let label = UILabel() let label = UILabel()
label.font = kBoldFont(size: 12) label.font = kBoldFont(size: 12)
label.textAlignment = .left label.textAlignment = .left
label.textColor = UIColor(hex:0x888f98) label.textColor = UIColor.contentBkgColor
return label return label
}() }()
addSubview(subTitleLabel) addSubview(subTitleLabel)
......
...@@ -55,7 +55,7 @@ class YHWorkItemView: UIView { ...@@ -55,7 +55,7 @@ class YHWorkItemView: UIView {
let label = UILabel() let label = UILabel()
label.font = kBoldFont(size: 12) label.font = kBoldFont(size: 12)
label.textAlignment = .left label.textAlignment = .left
label.textColor = UIColor(hex:0x888f98) label.textColor = UIColor.contentBkgColor
return label return label
}() }()
addSubview(subTitleLabel) addSubview(subTitleLabel)
...@@ -69,7 +69,7 @@ class YHWorkItemView: UIView { ...@@ -69,7 +69,7 @@ class YHWorkItemView: UIView {
let label = UILabel() let label = UILabel()
label.font = kBoldFont(size: 14) label.font = kBoldFont(size: 14)
label.textAlignment = .right label.textAlignment = .right
label.textColor = UIColor(hex:0x888f98) label.textColor = UIColor.contentBkgColor
return label return label
}() }()
addSubview(explainLabel) addSubview(explainLabel)
......
...@@ -82,7 +82,7 @@ class YHWorkResponsibilitiesTableViewCell: UITableViewCell { ...@@ -82,7 +82,7 @@ class YHWorkResponsibilitiesTableViewCell: UITableViewCell {
let label = UILabel() let label = UILabel()
label.text = "温馨提示:如下模板仅供思路参考,工作内容请按您的实际填写,后期文案会基于该内容进行文书材料撰写,望悉知" label.text = "温馨提示:如下模板仅供思路参考,工作内容请按您的实际填写,后期文案会基于该内容进行文书材料撰写,望悉知"
label.textColor = UIColor(hex: 0x2f7ef6) label.textColor = UIColor(hex: 0x2f7ef6)
label.font = kFont(size: 12) label.font = UIFont.PFSC_R(ofSize: 12)
label.numberOfLines = 0 label.numberOfLines = 0
return label return label
}() }()
......
...@@ -165,7 +165,7 @@ class YHLoginViewController: YHBaseViewController { ...@@ -165,7 +165,7 @@ class YHLoginViewController: YHBaseViewController {
promptsLabel = { promptsLabel = {
let label = UILabel() let label = UILabel()
label.text = "其他登录方式(第三方账号注册需绑定手机号)" label.text = "其他登录方式(第三方账号注册需绑定手机号)"
label.font = kFont(size: 12) label.font = UIFont.PFSC_R(ofSize: 12)
label.textColor = UIColor(hex:0xffffff) label.textColor = UIColor(hex:0xffffff)
label.textAlignment = .center label.textAlignment = .center
return label return label
......
...@@ -150,7 +150,7 @@ class YHVerificationCodeLoginController: YHBaseViewController { ...@@ -150,7 +150,7 @@ class YHVerificationCodeLoginController: YHBaseViewController {
promptsLabel = { promptsLabel = {
let label = UILabel() let label = UILabel()
label.text = "其他登录方式(第三方账号注册需绑定手机号)" label.text = "其他登录方式(第三方账号注册需绑定手机号)"
label.font = kFont(size: 12) label.font = UIFont.PFSC_R(ofSize: 12)
label.textColor = UIColor(hex:0xffffff) label.textColor = UIColor(hex:0xffffff)
label.textAlignment = .center label.textAlignment = .center
return label return label
......
...@@ -44,8 +44,8 @@ class YHLoginPrivacyView: UIView { ...@@ -44,8 +44,8 @@ class YHLoginPrivacyView: UIView {
messageLabel = { messageLabel = {
let label = UILabel() let label = UILabel()
label.text = "我已阅读并同意" label.text = "我已阅读并同意"
label.font = kFont(size: 12) label.font = UIFont.PFSC_R(ofSize: 12)
label.textColor = UIColor(hex:0x888f98) label.textColor = UIColor.contentBkgColor
label.textAlignment = .left label.textAlignment = .left
return label return label
}() }()
...@@ -74,8 +74,8 @@ class YHLoginPrivacyView: UIView { ...@@ -74,8 +74,8 @@ class YHLoginPrivacyView: UIView {
andLabel = { andLabel = {
let label = UILabel() let label = UILabel()
label.text = "和" label.text = "和"
label.font = kFont(size: 12) label.font = UIFont.PFSC_R(ofSize: 12)
label.textColor = UIColor(hex:0x888f98) label.textColor = UIColor.contentBkgColor
label.textAlignment = .left label.textAlignment = .left
return label return label
}() }()
......
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