Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
ce0bd010
Commit
ce0bd010
authored
Feb 22, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
字体替换
parent
cd8777e2
Changes
26
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
48 additions
and
67 deletions
+48
-67
YHTwoOptionAlertView.swift
galaxy/galaxy/Classes/Base/V/YHTwoOptionAlertView.swift
+3
-3
YHDavidCell3.swift
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHDavidCell3.swift
+2
-2
YHDavidCell5.swift
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHDavidCell5.swift
+2
-2
YHCardExampleView.swift
...ainApplicantInformation(主申请人信息)/V/YHCardExampleView.swift
+1
-1
YHDatePickView.swift
...)/MainApplicantInformation(主申请人信息)/V/YHDatePickView.swift
+2
-2
YHImagePickerView.swift
...ainApplicantInformation(主申请人信息)/V/YHImagePickerView.swift
+3
-3
YHWorkExampleViewController.swift
...ss(流程)/WorkExperience/C/YHWorkExampleViewController.swift
+1
-1
YHWorkExperienceListViewController.swift
...WorkExperience/C/YHWorkExperienceListViewController.swift
+1
-1
YHWorkIntroductionViewController.swift
...)/WorkExperience/C/YHWorkIntroductionViewController.swift
+1
-1
YHWorkExampleMessageView.swift
...ocess(流程)/WorkExperience/V/YHWorkExampleMessageView.swift
+1
-1
YHWorkExampleTypeView.swift
...eProcess(流程)/WorkExperience/V/YHWorkExampleTypeView.swift
+1
-1
YHWorkExperienceListTableViewCell.swift
.../WorkExperience/V/YHWorkExperienceListTableViewCell.swift
+2
-2
YHWorkFileItemView.swift
...viceProcess(流程)/WorkExperience/V/YHWorkFileItemView.swift
+1
-1
YHWorkIntroductionItemView.swift
...ess(流程)/WorkExperience/V/YHWorkIntroductionItemView.swift
+1
-1
YHWorkIntroductionTableViewCell.swift
...程)/WorkExperience/V/YHWorkIntroductionTableViewCell.swift
+2
-2
YHWorkItemView.swift
.../ServiceProcess(流程)/WorkExperience/V/YHWorkItemView.swift
+2
-2
YHSubmitAllInfoCheckView.swift
...IntelligentService(服务中心)/V/YHSubmitAllInfoCheckView.swift
+1
-1
YHCodeResultViewController.swift
...sses/Modules/Login(登录)/C/YHCodeResultViewController.swift
+5
-5
YHCodeSueecssViewController.swift
...ses/Modules/Login(登录)/C/YHCodeSueecssViewController.swift
+1
-1
YHLoginViewController.swift
...y/Classes/Modules/Login(登录)/C/YHLoginViewController.swift
+4
-4
YHPhoneLoginViewController.swift
...sses/Modules/Login(登录)/C/YHPhoneLoginViewController.swift
+2
-2
YHPickPhoneAddressViewController.swift
...odules/Login(登录)/C/YHPickPhoneAddressViewController.swift
+1
-1
YHVerificationCodeLoginController.swift
...dules/Login(登录)/C/YHVerificationCodeLoginController.swift
+5
-5
YHLoginStyleButton.swift
...laxy/Classes/Modules/Login(登录)/V/YHLoginStyleButton.swift
+1
-1
YHPhoneMessageView.swift
...laxy/Classes/Modules/Login(登录)/V/YHPhoneMessageView.swift
+2
-2
YhConstant.swift
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
+0
-19
No files found.
galaxy/galaxy/Classes/Base/V/YHTwoOptionAlertView.swift
View file @
ce0bd010
...
...
@@ -54,7 +54,7 @@ class YHTwoOptionAlertView: UIView {
messageLabel
=
{
let
label
=
UILabel
()
label
.
text
=
""
label
.
font
=
kFont
(
s
ize
:
16
)
label
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
16
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
.
center
label
.
numberOfLines
=
0
...
...
@@ -65,7 +65,7 @@ class YHTwoOptionAlertView: UIView {
leftButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
backgroundColor
=
UIColor
(
hex
:
0xffffff
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
14
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
14
)
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"取消"
.
local
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x3c86f8
),
for
:
.
normal
)
...
...
@@ -80,7 +80,7 @@ class YHTwoOptionAlertView: UIView {
rightButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
backgroundColor
=
UIColor
(
hex
:
0x3c86f8
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
14
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
14
)
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"确认"
.
local
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0xffffff
),
for
:
.
normal
)
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHDavidCell3.swift
View file @
ce0bd010
...
...
@@ -63,7 +63,7 @@ class YHDavidCell3: UITableViewCell {
let
bbxLable
=
UILabel
()
bbxLable
.
text
=
"银河推荐官"
bbxLable
.
textColor
=
UIColor
(
red
:
0.2
,
green
:
0.2
,
blue
:
0.2
,
alpha
:
1
)
bbxLable
.
font
=
kFont
(
s
ize
:
18
)
bbxLable
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
18
)
subContentView
.
addSubview
(
bbxLable
)
bbxLable
.
snp
.
makeConstraints
{
make
in
...
...
@@ -75,7 +75,7 @@ class YHDavidCell3: UITableViewCell {
desLable
.
text
=
"邀请拉新,合作共赢"
desLable
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
141.5
,
height
:
11.5
)
desLable
.
textColor
=
UIColor
(
red
:
0.592
,
green
:
0.592
,
blue
:
0.592
,
alpha
:
1
)
desLable
.
font
=
kFont
(
s
ize
:
10
)
desLable
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
10
)
subContentView
.
addSubview
(
desLable
)
desLable
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
bbxLable
.
snp
.
right
)
.
offset
(
11
)
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHDavidCell5.swift
View file @
ce0bd010
...
...
@@ -67,7 +67,7 @@ class YHDavidCell5: UITableViewCell {
let
bbxLable
=
UILabel
()
bbxLable
.
text
=
"百宝箱"
bbxLable
.
textColor
=
UIColor
(
red
:
0.2
,
green
:
0.2
,
blue
:
0.2
,
alpha
:
1
)
bbxLable
.
font
=
kFont
(
s
ize
:
18
)
bbxLable
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
18
)
subContentView
.
addSubview
(
bbxLable
)
bbxLable
.
snp
.
makeConstraints
{
make
in
...
...
@@ -79,7 +79,7 @@ class YHDavidCell5: UITableViewCell {
desLable
.
text
=
"香港本地宝,智慧小助手"
desLable
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
141.5
,
height
:
11.5
)
desLable
.
textColor
=
UIColor
(
red
:
0.592
,
green
:
0.592
,
blue
:
0.592
,
alpha
:
1
)
desLable
.
font
=
kFont
(
s
ize
:
10
)
desLable
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
10
)
subContentView
.
addSubview
(
desLable
)
desLable
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
bbxLable
.
snp
.
right
)
.
offset
(
11
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/V/YHCardExampleView.swift
View file @
ce0bd010
...
...
@@ -154,7 +154,7 @@ class YHCardExampleView: UIView {
bottomButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
backgroundColor
=
UIColor
(
hex
:
0x4d9ffb
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
16
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
16
)
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"知道了"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0xffffff
),
for
:
.
normal
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/V/YHDatePickView.swift
View file @
ce0bd010
...
...
@@ -98,7 +98,7 @@ class YHDatePickView: UIView {
closeButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
14
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
14
)
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"取消"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
...
...
@@ -115,7 +115,7 @@ class YHDatePickView: UIView {
sureButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
14
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
14
)
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"确定"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x4487f9
),
for
:
.
normal
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/V/YHImagePickerView.swift
View file @
ce0bd010
...
...
@@ -84,7 +84,7 @@ class YHImagePickerView: UIView {
takePhotoBtton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
14
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
14
)
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"拍照上传"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
...
...
@@ -101,7 +101,7 @@ class YHImagePickerView: UIView {
selectPhotoButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
14
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
14
)
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"相册上传"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
...
...
@@ -118,7 +118,7 @@ class YHImagePickerView: UIView {
cannalButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
14
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
14
)
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"取消"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x909090
),
for
:
.
normal
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/C/YHWorkExampleViewController.swift
View file @
ce0bd010
...
...
@@ -52,7 +52,7 @@ class YHWorkExampleViewController: YHBaseViewController {
titleLabel
=
{
let
label
=
UILabel
()
label
.
text
=
"参考示例"
label
.
font
=
kBoldFont
(
s
ize
:
17
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
17
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
.
center
return
label
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/C/YHWorkExperienceListViewController.swift
View file @
ce0bd010
...
...
@@ -72,7 +72,7 @@ class YHWorkExperienceListViewController: YHBaseViewController {
bottomButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
backgroundColor
=
UIColor
(
hex
:
0x2274ee
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
16
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
16
)
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"提交"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0xffffff
),
for
:
.
normal
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/C/YHWorkIntroductionViewController.swift
View file @
ce0bd010
...
...
@@ -208,7 +208,7 @@ class YHWorkIntroductionViewController: YHBaseViewController {
bottomButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
backgroundColor
=
UIColor
(
hex
:
0x2274ee
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
16
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
16
)
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"保存"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0xffffff
),
for
:
.
normal
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkExampleMessageView.swift
View file @
ce0bd010
...
...
@@ -49,7 +49,7 @@ class YHWorkExampleMessageView: UIView {
titleLabel
=
{
let
label
=
UILabel
()
label
.
font
=
kBoldFont
(
s
ize
:
16
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
16
)
label
.
text
=
"业务支援及人力资源"
label
.
textAlignment
=
.
left
label
.
textColor
=
UIColor
.
mainTextColor
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkExampleTypeView.swift
View file @
ce0bd010
...
...
@@ -30,7 +30,7 @@ class YHWorkExampleTypeView: UIView {
func
setUpView
()
{
titleLabel
=
{
let
label
=
UILabel
()
label
.
font
=
kBoldFont
(
s
ize
:
14
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
14
)
label
.
text
=
"请选择您的行业:"
label
.
textAlignment
=
.
left
label
.
textColor
=
UIColor
.
mainTextColor
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkExperienceListTableViewCell.swift
View file @
ce0bd010
...
...
@@ -65,7 +65,7 @@ class YHWorkExperienceListTableViewCell: UITableViewCell {
titleLabel
=
{
let
label
=
UILabel
()
label
.
font
=
kFont
(
s
ize
:
16
)
label
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
16
)
label
.
text
=
"主申请人工作经历"
label
.
textColor
=
UIColor
.
mainTextColor
return
label
...
...
@@ -95,7 +95,7 @@ class YHWorkExperienceListTableViewCell: UITableViewCell {
cannalButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
14
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
14
)
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"取消操作"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x2f7ef6
),
for
:
.
normal
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkFileItemView.swift
View file @
ce0bd010
...
...
@@ -32,7 +32,7 @@ class YHWorkFileItemView: UIView {
func
setUpView
()
{
titleLabel
=
{
let
label
=
UILabel
()
label
.
font
=
kBoldFont
(
s
ize
:
14
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
14
)
label
.
textAlignment
=
.
left
label
.
textColor
=
UIColor
.
mainTextColor
return
label
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkIntroductionItemView.swift
View file @
ce0bd010
...
...
@@ -35,7 +35,7 @@ class YHWorkIntroductionItemView: UIView {
func
setUpView
()
{
titleLabel
=
{
let
label
=
UILabel
()
label
.
font
=
kBoldFont
(
s
ize
:
14
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
14
)
label
.
textAlignment
=
.
left
label
.
textColor
=
UIColor
.
mainTextColor
return
label
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkIntroductionTableViewCell.swift
View file @
ce0bd010
...
...
@@ -64,7 +64,7 @@ class YHWorkIntroductionTableViewCell: UITableViewCell {
titleLabel
=
{
let
label
=
UILabel
()
label
.
font
=
kFont
(
s
ize
:
16
)
label
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
16
)
label
.
text
=
"项目介绍(选填)"
label
.
textColor
=
UIColor
.
mainTextColor
return
label
...
...
@@ -79,7 +79,7 @@ class YHWorkIntroductionTableViewCell: UITableViewCell {
cannalButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
14
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
14
)
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"取消操作"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x2f7ef6
),
for
:
.
normal
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkItemView.swift
View file @
ce0bd010
...
...
@@ -38,7 +38,7 @@ class YHWorkItemView: UIView {
func
setUpView
()
{
titleLabel
=
{
let
label
=
UILabel
()
label
.
font
=
kBoldFont
(
s
ize
:
14
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
14
)
label
.
textAlignment
=
.
left
label
.
textColor
=
UIColor
.
mainTextColor
return
label
...
...
@@ -67,7 +67,7 @@ class YHWorkItemView: UIView {
explainLabel
=
{
let
label
=
UILabel
()
label
.
font
=
kBoldFont
(
s
ize
:
14
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
14
)
label
.
textAlignment
=
.
right
label
.
textColor
=
UIColor
.
contentBkgColor
return
label
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHSubmitAllInfoCheckView.swift
View file @
ce0bd010
...
...
@@ -57,7 +57,7 @@ class YHSubmitAllInfoCheckView: UIView {
// titleLabel = {
// let label = UILabel()
// label.text = "同意隐私协议"
// label.font =
kFont(s
ize: 16)
// label.font =
UIFont.PFSC_R(ofS
ize: 16)
// label.textColor = UIColor.mainTextColor
// label.textAlignment = .center
// return label
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHCodeResultViewController.swift
View file @
ce0bd010
...
...
@@ -39,7 +39,7 @@ class YHCodeResultViewController: YHBaseViewController {
loginTitleLabel
=
{
let
label
=
UILabel
()
label
.
text
=
"登录后更精彩"
label
.
font
=
kBoldFont
(
s
ize
:
32
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
32
)
label
.
textColor
=
UIColor
(
hex
:
0xffffff
)
return
label
}()
...
...
@@ -53,7 +53,7 @@ class YHCodeResultViewController: YHBaseViewController {
loginSubTitleLabel
=
{
let
label
=
UILabel
()
label
.
text
=
"香港美好生活期待与你的相遇"
label
.
font
=
kFont
(
s
ize
:
20
)
label
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
20
)
label
.
textColor
=
UIColor
(
hex
:
0xffffff
)
return
label
}()
...
...
@@ -67,7 +67,7 @@ class YHCodeResultViewController: YHBaseViewController {
phoneLabel
=
{
let
label
=
UILabel
()
label
.
text
=
"已发送验证码至13352933800"
label
.
font
=
kBoldFont
(
s
ize
:
17
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
17
)
label
.
textAlignment
=
.
left
label
.
textColor
=
UIColor
(
hex
:
0xffffff
)
return
label
...
...
@@ -96,7 +96,7 @@ class YHCodeResultViewController: YHBaseViewController {
getCodeLabel
=
{
let
button
=
UILabel
()
button
.
font
=
kBoldFont
(
s
ize
:
16
)
button
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
16
)
button
.
text
=
"重新发送(58s)"
button
.
textColor
=
UIColor
(
hex
:
0xffffff
)
button
.
isHidden
=
false
...
...
@@ -112,7 +112,7 @@ class YHCodeResultViewController: YHBaseViewController {
getCodeButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
16
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
16
)
button
.
contentHorizontalAlignment
=
.
left
button
.
setTitle
(
"重新获取验证码"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0xffffff
),
for
:
.
normal
)
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHCodeSueecssViewController.swift
View file @
ce0bd010
...
...
@@ -63,7 +63,7 @@ class YHCodeSueecssViewController: YHBaseViewController {
loginTitleLabel
=
{
let
label
=
UILabel
()
label
.
text
=
"请输入验证码"
label
.
font
=
kBoldFont
(
s
ize
:
28
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
28
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
}()
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHLoginViewController.swift
View file @
ce0bd010
...
...
@@ -55,7 +55,7 @@ class YHLoginViewController: YHBaseViewController {
loginTitleLabel
=
{
let
label
=
UILabel
()
label
.
text
=
"登录后更精彩"
label
.
font
=
kBoldFont
(
s
ize
:
32
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
32
)
label
.
textColor
=
UIColor
(
hex
:
0xffffff
)
return
label
}()
...
...
@@ -69,7 +69,7 @@ class YHLoginViewController: YHBaseViewController {
loginSubTitleLabel
=
{
let
label
=
UILabel
()
label
.
text
=
"香港美好生活期待与你的相遇"
label
.
font
=
kFont
(
s
ize
:
20
)
label
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
20
)
label
.
textColor
=
UIColor
(
hex
:
0xffffff
)
return
label
}()
...
...
@@ -83,7 +83,7 @@ class YHLoginViewController: YHBaseViewController {
loginPhoneLabel
=
{
let
label
=
UILabel
()
label
.
text
=
"+86 133****3800"
label
.
font
=
kBoldFont
(
s
ize
:
20
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
20
)
label
.
textAlignment
=
.
center
label
.
textColor
=
UIColor
(
hex
:
0xffffff
)
return
label
...
...
@@ -98,7 +98,7 @@ class YHLoginViewController: YHBaseViewController {
loginButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
backgroundColor
=
UIColor
(
hex
:
0x4d9ff8
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
16
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
16
)
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"本机号码一键登录"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0xffffff
),
for
:
.
normal
)
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHPhoneLoginViewController.swift
View file @
ce0bd010
...
...
@@ -81,7 +81,7 @@ class YHPhoneLoginViewController: YHBaseViewController {
loginTitleLabel
=
{
let
label
=
UILabel
()
label
.
text
=
"手机号登录"
label
.
font
=
kBoldFont
(
s
ize
:
28
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
28
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
}()
...
...
@@ -137,7 +137,7 @@ class YHPhoneLoginViewController: YHBaseViewController {
getCodeButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
backgroundColor
=
UIColor
(
hex
:
0x2274ee
)
.
withAlphaComponent
(
0.4
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
16
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
16
)
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"获取验证码"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0xffffff
),
for
:
.
normal
)
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHPickPhoneAddressViewController.swift
View file @
ce0bd010
...
...
@@ -33,7 +33,7 @@ class YHPickPhoneAddressViewController: YHBaseViewController {
// loginTitleLabel = {
// let label = UILabel()
// label.text = "登录后更精彩"
// label.font =
kBoldFont(s
ize: 32)
// label.font =
UIFont.PFSC_M(ofS
ize: 32)
// label.textColor = UIColor(hex:0xffffff)
// return label
// }()
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHVerificationCodeLoginController.swift
View file @
ce0bd010
...
...
@@ -42,7 +42,7 @@ class YHVerificationCodeLoginController: YHBaseViewController {
loginTitleLabel
=
{
let
label
=
UILabel
()
label
.
text
=
"登录后更精彩"
label
.
font
=
kBoldFont
(
s
ize
:
32
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
32
)
label
.
textColor
=
UIColor
(
hex
:
0xffffff
)
return
label
}()
...
...
@@ -56,7 +56,7 @@ class YHVerificationCodeLoginController: YHBaseViewController {
loginSubTitleLabel
=
{
let
label
=
UILabel
()
label
.
text
=
"香港美好生活期待与你的相遇"
label
.
font
=
kFont
(
s
ize
:
20
)
label
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
20
)
label
.
textColor
=
UIColor
(
hex
:
0xffffff
)
return
label
}()
...
...
@@ -70,7 +70,7 @@ class YHVerificationCodeLoginController: YHBaseViewController {
phoneLabel
=
{
let
label
=
UILabel
()
label
.
text
=
"未注册手机验证后完成注册"
label
.
font
=
kBoldFont
(
s
ize
:
17
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
17
)
label
.
textAlignment
=
.
left
label
.
textColor
=
UIColor
(
hex
:
0xffffff
)
return
label
...
...
@@ -105,7 +105,7 @@ class YHVerificationCodeLoginController: YHBaseViewController {
getCodeButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
backgroundColor
=
UIColor
(
hex
:
0xd8d8d8
)
.
withAlphaComponent
(
0.8
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
16
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
16
)
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"获取验证码"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x979797
),
for
:
.
normal
)
...
...
@@ -122,7 +122,7 @@ class YHVerificationCodeLoginController: YHBaseViewController {
}
emailButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
16
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
16
)
button
.
setTitle
(
"邮箱登录"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0xffffff
),
for
:
.
normal
)
return
button
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/V/YHLoginStyleButton.swift
View file @
ce0bd010
...
...
@@ -32,7 +32,7 @@ class YHLoginStyleButton: UIButton {
messageLabel
=
{
let
label
=
UILabel
()
label
.
font
=
kBoldFont
(
s
ize
:
16
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
16
)
label
.
textColor
=
UIColor
(
hex
:
0xffffff
)
label
.
textAlignment
=
.
right
return
label
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/V/YHPhoneMessageView.swift
View file @
ce0bd010
...
...
@@ -28,7 +28,7 @@ class YHPhoneMessageView: UIView {
func
setView
()
{
messageButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
s
ize
:
16
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
16
)
button
.
setTitle
(
"+86"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x000000
),
for
:
.
normal
)
button
.
addTarget
(
self
,
action
:
#selector(
messageClick
)
,
for
:
.
touchUpInside
)
...
...
@@ -56,7 +56,7 @@ class YHPhoneMessageView: UIView {
phoneTextField
=
{
let
text
=
UITextField
()
text
.
placeholder
=
"请输入签约手机号"
text
.
font
=
kFont
(
s
ize
:
16
)
text
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
16
)
text
.
textColor
=
UIColor
(
hex
:
0x000000
)
text
.
textAlignment
=
.
left
text
.
keyboardType
=
.
phonePad
...
...
galaxy/galaxy/Classes/Tools/Helper/YhConstant.swift
View file @
ce0bd010
...
...
@@ -114,25 +114,6 @@ func kIsEmpty(string: String) -> Bool {
}
}
/** 文字大小设置
* parameter name 字体名字 (为空时默认字体)
* parameter size 字体大小
*/
func
kFont
(
name
:
String
=
""
,
size
:
CGFloat
)
->
UIFont
{
if
!
kIsEmpty
(
string
:
name
)
{
return
UIFont
.
init
(
name
:
name
,
size
:
size
)
!
}
else
{
return
UIFont
.
systemFont
(
ofSize
:
size
)
}
}
func
kBoldFont
(
name
:
String
=
""
,
size
:
CGFloat
)
->
UIFont
{
if
!
kIsEmpty
(
string
:
name
)
{
return
UIFont
.
init
(
name
:
name
,
size
:
size
)
!
}
else
{
return
UIFont
.
boldSystemFont
(
ofSize
:
size
)
}
}
/// 版本号相同:
func
systemVersionEqual
(
version
:
String
)
->
Bool
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment