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

一处字体大小修改

parent e09311a7
...@@ -76,7 +76,7 @@ class YHWorkExampleMessageTableViewCell: UITableViewCell { ...@@ -76,7 +76,7 @@ class YHWorkExampleMessageTableViewCell: UITableViewCell {
useButton = { useButton = {
let button = UIButton(type: .custom) let button = UIButton(type: .custom)
button.backgroundColor = UIColor(hex:0x2f7ef6).withAlphaComponent(0.08) button.backgroundColor = UIColor(hex:0x2f7ef6).withAlphaComponent(0.08)
button.titleLabel?.font = kBoldFont(size: 12) button.titleLabel?.font = UIFont.PFSC_M(ofSize: 12)
button.contentHorizontalAlignment = .center button.contentHorizontalAlignment = .center
button.setTitle("使用此模板", for: .normal) button.setTitle("使用此模板", for: .normal)
button.setTitleColor( UIColor(hex:0x2f7ef6), for: .normal) button.setTitleColor( UIColor(hex:0x2f7ef6), for: .normal)
......
...@@ -50,7 +50,7 @@ class YHWorkIntroductionItemView: UIView { ...@@ -50,7 +50,7 @@ class YHWorkIntroductionItemView: UIView {
subTitleLabel = { subTitleLabel = {
let label = UILabel() let label = UILabel()
label.font = kBoldFont(size: 12) label.font = UIFont.PFSC_M(ofSize: 12)
label.textAlignment = .left label.textAlignment = .left
label.textColor = UIColor.contentBkgColor label.textColor = UIColor.contentBkgColor
return label return label
......
...@@ -53,7 +53,7 @@ class YHWorkItemView: UIView { ...@@ -53,7 +53,7 @@ class YHWorkItemView: UIView {
subTitleLabel = { subTitleLabel = {
let label = UILabel() let label = UILabel()
label.font = kBoldFont(size: 12) label.font = UIFont.PFSC_M(ofSize: 12)
label.textAlignment = .left label.textAlignment = .left
label.textColor = UIColor.contentBkgColor label.textColor = UIColor.contentBkgColor
return label return label
......
...@@ -113,7 +113,7 @@ class YHCodeSueecssViewController: YHBaseViewController { ...@@ -113,7 +113,7 @@ class YHCodeSueecssViewController: YHBaseViewController {
getCodeLabel = { getCodeLabel = {
let button = UILabel() let button = UILabel()
button.font = kBoldFont(size: 12) button.font = UIFont.PFSC_M(ofSize: 12)
button.text = "重新发送(58s)" button.text = "重新发送(58s)"
button.textColor = UIColor(hex:0xc0c0c0) button.textColor = UIColor(hex:0xc0c0c0)
button.textAlignment = .center button.textAlignment = .center
...@@ -133,7 +133,7 @@ class YHCodeSueecssViewController: YHBaseViewController { ...@@ -133,7 +133,7 @@ class YHCodeSueecssViewController: YHBaseViewController {
getCodeButton = { getCodeButton = {
let button = UIButton(type: .custom) let button = UIButton(type: .custom)
button.titleLabel?.font = kBoldFont(size: 12) button.titleLabel?.font = UIFont.PFSC_M(ofSize: 12)
button.contentHorizontalAlignment = .center button.contentHorizontalAlignment = .center
button.setTitle("获取验证码", for: .normal) button.setTitle("获取验证码", for: .normal)
button.setTitleColor( UIColor.mainTextColor, for: .normal) button.setTitleColor( UIColor.mainTextColor, for: .normal)
......
...@@ -58,7 +58,7 @@ class YHLoginPrivacyView: UIView { ...@@ -58,7 +58,7 @@ class YHLoginPrivacyView: UIView {
serviceButton = { serviceButton = {
let button = UIButton(type: .custom) let button = UIButton(type: .custom)
button.titleLabel?.font = kBoldFont(size: 12) button.titleLabel?.font = UIFont.PFSC_M(ofSize: 12)
button.contentHorizontalAlignment = .center button.contentHorizontalAlignment = .center
button.setTitle("《隐私协议》", for: .normal) button.setTitle("《隐私协议》", for: .normal)
button.setTitleColor(UIColor(hex: 0x2f7ef6), for: .normal) button.setTitleColor(UIColor(hex: 0x2f7ef6), for: .normal)
...@@ -87,7 +87,7 @@ class YHLoginPrivacyView: UIView { ...@@ -87,7 +87,7 @@ class YHLoginPrivacyView: UIView {
} }
privacyButton = { privacyButton = {
let button = UIButton(type: .custom) let button = UIButton(type: .custom)
button.titleLabel?.font = kBoldFont(size: 12) button.titleLabel?.font = UIFont.PFSC_M(ofSize: 12)
button.contentHorizontalAlignment = .center button.contentHorizontalAlignment = .center
button.setTitle("《用户条款》", for: .normal) button.setTitle("《用户条款》", for: .normal)
button.setTitleColor(UIColor(hex: 0x2f7ef6), for: .normal) button.setTitleColor(UIColor(hex: 0x2f7ef6), for: .normal)
......
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