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
10ec02cd
Commit
10ec02cd
authored
Feb 22, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'davidhuang' into develop
* davidhuang: itemView 的 title 字体 和颜色 调整 1、统一使用 使用圆角 6
parents
e94b40ca
9d0bae67
Changes
36
Hide whitespace changes
Inline
Side-by-side
Showing
36 changed files
with
114 additions
and
105 deletions
+114
-105
YHTwoOptionAlertView.swift
galaxy/galaxy/Classes/Base/V/YHTwoOptionAlertView.swift
+2
-2
YHDavidCell1.swift
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHDavidCell1.swift
+1
-1
YHDavidCell2.swift
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHDavidCell2.swift
+1
-1
YHFormItemExpireDateCell.swift
...程)/FamilyMember(家庭成员信息表)/V/YHFormItemExpireDateCell.swift
+1
-1
YHFormItemOnlyDoubleChoiceCell.swift
...ilyMember(家庭成员信息表)/V/YHFormItemOnlyDoubleChoiceCell.swift
+1
-1
YHMainApplicantInformationViewController.swift
...(主申请人信息)/C/YHMainApplicantInformationViewController.swift
+2
-0
YHSelectCountryViewController.swift
...Information(主申请人信息)/C/YHSelectCountryViewController.swift
+2
-2
YHBottomNextView.swift
...MainApplicantInformation(主申请人信息)/V/YHBottomNextView.swift
+1
-1
YHCardExampleView.swift
...ainApplicantInformation(主申请人信息)/V/YHCardExampleView.swift
+6
-6
YHDatePickView.swift
...)/MainApplicantInformation(主申请人信息)/V/YHDatePickView.swift
+4
-4
YHImagePickerView.swift
...ainApplicantInformation(主申请人信息)/V/YHImagePickerView.swift
+5
-5
YHItemView.swift
...s(流程)/MainApplicantInformation(主申请人信息)/V/YHItemView.swift
+5
-3
YHMainInformationCardTableViewCell.swift
...mation(主申请人信息)/V/YHMainInformationCardTableViewCell.swift
+9
-6
YHMainInformationTableViewCell.swift
...nformation(主申请人信息)/V/YHMainInformationTableViewCell.swift
+8
-6
YHScoreItemCell.swift
.../ServiceProcess(流程)/MyScore(我的评分)/V/YHScoreItemCell.swift
+1
-1
YHWorkExampleViewController.swift
...ss(流程)/WorkExperience/C/YHWorkExampleViewController.swift
+2
-2
YHWorkIntroductionViewController.swift
...)/WorkExperience/C/YHWorkIntroductionViewController.swift
+6
-6
YHWorkExampleMessageTableViewCell.swift
.../WorkExperience/V/YHWorkExampleMessageTableViewCell.swift
+5
-5
YHWorkExampleMessageView.swift
...ocess(流程)/WorkExperience/V/YHWorkExampleMessageView.swift
+1
-1
YHWorkExampleTypeView.swift
...eProcess(流程)/WorkExperience/V/YHWorkExampleTypeView.swift
+1
-1
YHWorkExperienceItemView.swift
...ocess(流程)/WorkExperience/V/YHWorkExperienceItemView.swift
+3
-3
YHWorkExperienceListTableViewCell.swift
.../WorkExperience/V/YHWorkExperienceListTableViewCell.swift
+5
-5
YHWorkExperienceTableViewCell.swift
...(流程)/WorkExperience/V/YHWorkExperienceTableViewCell.swift
+5
-5
YHWorkExperienceTextItemView.swift
...s(流程)/WorkExperience/V/YHWorkExperienceTextItemView.swift
+4
-4
YHWorkFileItemView.swift
...viceProcess(流程)/WorkExperience/V/YHWorkFileItemView.swift
+2
-2
YHWorkFileSyncTableViewCell.swift
...ss(流程)/WorkExperience/V/YHWorkFileSyncTableViewCell.swift
+4
-4
YHWorkHighlightsTableViewCell.swift
...(流程)/WorkExperience/V/YHWorkHighlightsTableViewCell.swift
+5
-5
YHWorkIntroductionItemView.swift
...ess(流程)/WorkExperience/V/YHWorkIntroductionItemView.swift
+2
-2
YHWorkIntroductionTableViewCell.swift
...程)/WorkExperience/V/YHWorkIntroductionTableViewCell.swift
+4
-4
YHWorkItemView.swift
.../ServiceProcess(流程)/WorkExperience/V/YHWorkItemView.swift
+2
-2
YHWorkMessageSelectTableViewCell.swift
...)/WorkExperience/V/YHWorkMessageSelectTableViewCell.swift
+4
-4
YHWorkResponsibilitiesTableViewCell.swift
...orkExperience/V/YHWorkResponsibilitiesTableViewCell.swift
+4
-4
YHSubmitAllInfoCheckView.swift
...IntelligentService(服务中心)/V/YHSubmitAllInfoCheckView.swift
+2
-2
YHCodeSueecssViewController.swift
...ses/Modules/Login(登录)/C/YHCodeSueecssViewController.swift
+2
-2
YHPhoneLoginViewController.swift
...sses/Modules/Login(登录)/C/YHPhoneLoginViewController.swift
+1
-1
YHPrivacyAlertView.swift
...laxy/Classes/Modules/Login(登录)/V/YHPrivacyAlertView.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Base/V/YHTwoOptionAlertView.swift
View file @
10ec02cd
...
@@ -46,7 +46,7 @@ class YHTwoOptionAlertView: UIView {
...
@@ -46,7 +46,7 @@ class YHTwoOptionAlertView: UIView {
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
return
view
}()
}()
addSubview
(
centerView
)
addSubview
(
centerView
)
...
@@ -55,7 +55,7 @@ class YHTwoOptionAlertView: UIView {
...
@@ -55,7 +55,7 @@ class YHTwoOptionAlertView: UIView {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
""
label
.
text
=
""
label
.
font
=
kFont
(
size
:
16
)
label
.
font
=
kFont
(
size
:
16
)
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
.
center
label
.
textAlignment
=
.
center
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
return
label
return
label
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHDavidCell1.swift
View file @
10ec02cd
...
@@ -43,7 +43,7 @@ class YHDavidCell1: UITableViewCell {
...
@@ -43,7 +43,7 @@ class YHDavidCell1: UITableViewCell {
lazy
var
subContentView
:
UIView
=
{
lazy
var
subContentView
:
UIView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
UIColor
(
hex
:
0x999999
,
alpha
:
1.0
)
view
.
backgroundColor
=
UIColor
(
hex
:
0x999999
,
alpha
:
1.0
)
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
return
view
}()
}()
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHDavidCell2.swift
View file @
10ec02cd
...
@@ -43,7 +43,7 @@ class YHDavidCell2: UITableViewCell {
...
@@ -43,7 +43,7 @@ class YHDavidCell2: UITableViewCell {
lazy
var
subContentView
:
UIView
=
{
lazy
var
subContentView
:
UIView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
UIColor
(
hex
:
0x999999
,
alpha
:
1.0
)
view
.
backgroundColor
=
UIColor
(
hex
:
0x999999
,
alpha
:
1.0
)
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
view
.
layer
.
backgroundColor
=
UIColor
(
red
:
1
,
green
:
1
,
blue
:
1
,
alpha
:
1
)
.
cgColor
view
.
layer
.
backgroundColor
=
UIColor
(
red
:
1
,
green
:
1
,
blue
:
1
,
alpha
:
1
)
.
cgColor
view
.
layer
.
cornerRadius
=
10
view
.
layer
.
cornerRadius
=
10
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemExpireDateCell.swift
View file @
10ec02cd
...
@@ -35,7 +35,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
...
@@ -35,7 +35,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
let
str
=
(
isMust
?
(
"*"
+
title
)
:
title
)
let
str
=
(
isMust
?
(
"*"
+
title
)
:
title
)
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
14
),
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
14
),
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
]
.
foregroundColor
:
UIColor
.
mainTextColor
]
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
if
isMust
{
if
isMust
{
let
starRange
=
NSRange
(
location
:
0
,
length
:
1
)
let
starRange
=
NSRange
(
location
:
0
,
length
:
1
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemOnlyDoubleChoiceCell.swift
View file @
10ec02cd
...
@@ -14,7 +14,7 @@ class YHFormItemOnlyDoubleChoiceCell: UITableViewCell {
...
@@ -14,7 +14,7 @@ class YHFormItemOnlyDoubleChoiceCell: UITableViewCell {
let
btnWidth
=
70.0
let
btnWidth
=
70.0
let
btnHeight
=
32.0
let
btnHeight
=
32.0
let
btnTitleSelectColor
=
UIColor
(
hex
:
0x4487F9
)
let
btnTitleSelectColor
=
UIColor
(
hex
:
0x4487F9
)
let
btnTitleDefaultColor
=
UIColor
(
hex
:
0x222222
)
let
btnTitleDefaultColor
=
UIColor
.
mainTextColor
let
btnBgDefaultColor
=
UIColor
(
hex
:
0xF8F9FB
)
let
btnBgDefaultColor
=
UIColor
(
hex
:
0xF8F9FB
)
let
btnBgSelectColor
=
UIColor
(
hex
:
0x4487F9
,
alpha
:
0.08
)
let
btnBgSelectColor
=
UIColor
(
hex
:
0x4487F9
,
alpha
:
0.08
)
let
answerBaseTag
=
9527
let
answerBaseTag
=
9527
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/C/YHMainApplicantInformationViewController.swift
View file @
10ec02cd
...
@@ -47,6 +47,8 @@ class YHMainApplicantInformationViewController: YHBaseViewController {
...
@@ -47,6 +47,8 @@ class YHMainApplicantInformationViewController: YHBaseViewController {
}
}
func
setView
()
{
func
setView
()
{
view
.
backgroundColor
=
.
contentBkgColor
stepView
=
{
stepView
=
{
let
step
=
YHStepView
()
let
step
=
YHStepView
()
step
.
dataSource
=
[
"初始信息"
,
"证件上传"
,
"基本信息"
,
"证件信息"
]
step
.
dataSource
=
[
"初始信息"
,
"证件上传"
,
"基本信息"
,
"证件信息"
]
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/C/YHSelectCountryViewController.swift
View file @
10ec02cd
...
@@ -76,7 +76,7 @@ class YHSelectCountryViewController: YHBaseViewController {
...
@@ -76,7 +76,7 @@ class YHSelectCountryViewController: YHBaseViewController {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"热门国家/地区"
label
.
text
=
"热门国家/地区"
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
font
=
kFont
(
s
ize
:
14
)
label
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
return
label
return
label
}()
}()
view
.
addSubview
(
flagLabel
)
view
.
addSubview
(
flagLabel
)
...
@@ -241,7 +241,7 @@ class YHCountryTableViewCell: UITableViewCell {
...
@@ -241,7 +241,7 @@ class YHCountryTableViewCell: UITableViewCell {
titleLabel
=
{
titleLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
return
label
}()
}()
contentView
.
addSubview
(
titleLabel
)
contentView
.
addSubview
(
titleLabel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/V/YHBottomNextView.swift
View file @
10ec02cd
...
@@ -32,7 +32,7 @@ class YHBottomNextView: UIView {
...
@@ -32,7 +32,7 @@ class YHBottomNextView: UIView {
button
.
titleLabel
?
.
font
=
kBoldFont
(
size
:
15
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
size
:
15
)
button
.
contentHorizontalAlignment
=
.
center
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"保存"
,
for
:
.
normal
)
button
.
setTitle
(
"保存"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x222222
)
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
layer
.
cornerRadius
=
8
button
.
layer
.
cornerRadius
=
8
button
.
addTarget
(
self
,
action
:
#selector(
save
)
,
for
:
.
touchUpInside
)
button
.
addTarget
(
self
,
action
:
#selector(
save
)
,
for
:
.
touchUpInside
)
return
button
return
button
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/V/YHCardExampleView.swift
View file @
10ec02cd
...
@@ -58,7 +58,7 @@ class YHCardExampleView: UIView {
...
@@ -58,7 +58,7 @@ class YHCardExampleView: UIView {
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
return
view
}()
}()
addSubview
(
centerView
)
addSubview
(
centerView
)
...
@@ -70,8 +70,8 @@ class YHCardExampleView: UIView {
...
@@ -70,8 +70,8 @@ class YHCardExampleView: UIView {
titleLabel
=
{
titleLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"身份证示例模板"
label
.
text
=
"身份证示例模板"
label
.
font
=
kFont
(
s
ize
:
17
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
17
)
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
return
label
return
label
}()
}()
...
@@ -97,7 +97,7 @@ class YHCardExampleView: UIView {
...
@@ -97,7 +97,7 @@ class YHCardExampleView: UIView {
lineView
=
{
lineView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
UIColor
(
hex
:
0xf0f0f0
)
view
.
backgroundColor
=
UIColor
.
separatorColor
return
view
return
view
}()
}()
centerView
.
addSubview
(
lineView
)
centerView
.
addSubview
(
lineView
)
...
@@ -111,7 +111,7 @@ class YHCardExampleView: UIView {
...
@@ -111,7 +111,7 @@ class YHCardExampleView: UIView {
messageLabel
=
{
messageLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"*须使用二代身份证"
label
.
text
=
"*须使用二代身份证"
label
.
font
=
kFont
(
s
ize
:
14
)
label
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
label
.
textColor
=
UIColor
(
hex
:
0xc0c0c0
)
label
.
textColor
=
UIColor
(
hex
:
0xc0c0c0
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
...
@@ -183,7 +183,7 @@ class YHCardExampleView: UIView {
...
@@ -183,7 +183,7 @@ class YHCardExampleView: UIView {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
array
[
i
]
label
.
text
=
array
[
i
]
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
font
=
kFont
(
s
ize
:
14
)
label
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
centerView
.
addSubview
(
label
)
centerView
.
addSubview
(
label
)
label
.
snp
.
makeConstraints
{
make
in
label
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
73
)
make
.
top
.
equalTo
(
73
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/V/YHDatePickView.swift
View file @
10ec02cd
...
@@ -83,8 +83,8 @@ class YHDatePickView: UIView {
...
@@ -83,8 +83,8 @@ class YHDatePickView: UIView {
titleLabel
=
{
titleLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"选择出生日期"
label
.
text
=
"选择出生日期"
label
.
font
=
kFont
(
s
ize
:
17
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
17
)
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
.
center
label
.
textAlignment
=
.
center
return
label
return
label
}()
}()
...
@@ -101,7 +101,7 @@ class YHDatePickView: UIView {
...
@@ -101,7 +101,7 @@ class YHDatePickView: UIView {
button
.
titleLabel
?
.
font
=
kBoldFont
(
size
:
14
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
size
:
14
)
button
.
contentHorizontalAlignment
=
.
center
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"取消"
,
for
:
.
normal
)
button
.
setTitle
(
"取消"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x222222
)
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
addTarget
(
self
,
action
:
#selector(
dismiss
)
,
for
:
.
touchUpInside
)
button
.
addTarget
(
self
,
action
:
#selector(
dismiss
)
,
for
:
.
touchUpInside
)
return
button
return
button
}()
}()
...
@@ -132,7 +132,7 @@ class YHDatePickView: UIView {
...
@@ -132,7 +132,7 @@ class YHDatePickView: UIView {
lineView
=
{
lineView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
UIColor
(
hex
:
0xf0f0f0
)
view
.
backgroundColor
=
UIColor
.
separatorColor
return
view
return
view
}()
}()
centerView
.
addSubview
(
lineView
)
centerView
.
addSubview
(
lineView
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/V/YHImagePickerView.swift
View file @
10ec02cd
...
@@ -57,8 +57,8 @@ class YHImagePickerView: UIView {
...
@@ -57,8 +57,8 @@ class YHImagePickerView: UIView {
titleLabel
=
{
titleLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"请选择上传方式"
label
.
text
=
"请选择上传方式"
label
.
font
=
kFont
(
s
ize
:
17
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
17
)
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
return
label
return
label
}()
}()
...
@@ -87,7 +87,7 @@ class YHImagePickerView: UIView {
...
@@ -87,7 +87,7 @@ class YHImagePickerView: UIView {
button
.
titleLabel
?
.
font
=
kBoldFont
(
size
:
14
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
size
:
14
)
button
.
contentHorizontalAlignment
=
.
center
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"拍照上传"
,
for
:
.
normal
)
button
.
setTitle
(
"拍照上传"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x222222
)
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
addTarget
(
self
,
action
:
#selector(
takePhoto
)
,
for
:
.
touchUpInside
)
button
.
addTarget
(
self
,
action
:
#selector(
takePhoto
)
,
for
:
.
touchUpInside
)
return
button
return
button
}()
}()
...
@@ -104,7 +104,7 @@ class YHImagePickerView: UIView {
...
@@ -104,7 +104,7 @@ class YHImagePickerView: UIView {
button
.
titleLabel
?
.
font
=
kBoldFont
(
size
:
14
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
size
:
14
)
button
.
contentHorizontalAlignment
=
.
center
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"相册上传"
,
for
:
.
normal
)
button
.
setTitle
(
"相册上传"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x222222
)
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
addTarget
(
self
,
action
:
#selector(
selectPhoto
)
,
for
:
.
touchUpInside
)
button
.
addTarget
(
self
,
action
:
#selector(
selectPhoto
)
,
for
:
.
touchUpInside
)
return
button
return
button
}()
}()
...
@@ -135,7 +135,7 @@ class YHImagePickerView: UIView {
...
@@ -135,7 +135,7 @@ class YHImagePickerView: UIView {
for
i
in
0
..<
3
{
for
i
in
0
..<
3
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
UIColor
(
hex
:
0xf0f0f0
)
view
.
backgroundColor
=
UIColor
.
separatorColor
centerView
.
addSubview
(
view
)
centerView
.
addSubview
(
view
)
view
.
snp
.
makeConstraints
{
make
in
view
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
left
.
equalTo
(
18
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/V/YHItemView.swift
View file @
10ec02cd
...
@@ -48,6 +48,8 @@ class YHItemView: UIView {
...
@@ -48,6 +48,8 @@ class YHItemView: UIView {
messageTextField
=
{
messageTextField
=
{
let
textField
=
UITextField
()
let
textField
=
UITextField
()
textField
.
delegate
=
self
textField
.
delegate
=
self
textField
.
textColor
=
UIColor
.
mainTextColor
textField
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
14
)
return
textField
return
textField
}()
}()
addSubview
(
messageTextField
)
addSubview
(
messageTextField
)
...
@@ -124,7 +126,7 @@ class YHItemView: UIView {
...
@@ -124,7 +126,7 @@ class YHItemView: UIView {
let
str
=
"*"
+
(
dataSource
.
title
??
""
)
let
str
=
"*"
+
(
dataSource
.
title
??
""
)
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
14
),
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
14
),
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
.
foregroundColor
:
UIColor
.
mainTextColor
]
]
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
starRange
=
NSRange
(
location
:
0
,
length
:
1
)
let
starRange
=
NSRange
(
location
:
0
,
length
:
1
)
...
@@ -133,8 +135,8 @@ class YHItemView: UIView {
...
@@ -133,8 +135,8 @@ class YHItemView: UIView {
}
else
{
}
else
{
let
str
=
dataSource
.
title
??
""
let
str
=
dataSource
.
title
??
""
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
kFont
(
s
ize
:
14
),
.
font
:
UIFont
.
PFSC_R
(
ofS
ize
:
14
),
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
.
foregroundColor
:
UIColor
.
mainTextColor
]
]
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
titleLabel
.
attributedText
=
questionAttrStr
titleLabel
.
attributedText
=
questionAttrStr
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/V/YHMainInformationCardTableViewCell.swift
View file @
10ec02cd
...
@@ -66,25 +66,28 @@ class YHMainInformationCardTableViewCell: UITableViewCell {
...
@@ -66,25 +66,28 @@ class YHMainInformationCardTableViewCell: UITableViewCell {
}
}
func
setupUI
()
{
func
setupUI
()
{
backgroundColor
=
UIColor
(
hex
:
0xe9e9e9
)
contentView
.
backgroundColor
=
.
clear
backgroundColor
=
.
clear
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
return
view
}()
}()
contentView
.
addSubview
(
centerView
)
contentView
.
addSubview
(
centerView
)
centerView
.
snp
.
makeConstraints
{
make
in
centerView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
16
)
make
.
left
.
equalTo
(
16
)
make
.
right
.
equalTo
(
-
16
)
make
.
right
.
equalTo
(
-
16
)
make
.
top
.
equalTo
(
7
)
make
.
top
.
equalTo
(
7
)
make
.
bottom
.
equalTo
(
-
7
)
make
.
bottom
.
equalTo
(
-
16
)
}
}
titleLabel
=
{
titleLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
font
=
kFont
(
s
ize
:
17
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
17
)
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
return
label
}()
}()
centerView
.
addSubview
(
titleLabel
)
centerView
.
addSubview
(
titleLabel
)
...
@@ -115,7 +118,7 @@ class YHMainInformationCardTableViewCell: UITableViewCell {
...
@@ -115,7 +118,7 @@ class YHMainInformationCardTableViewCell: UITableViewCell {
let
lineView
=
{
let
lineView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
UIColor
(
hex
:
0xf0f0f0
)
view
.
backgroundColor
=
UIColor
.
separatorColor
return
view
return
view
}()
}()
centerView
.
addSubview
(
lineView
)
centerView
.
addSubview
(
lineView
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/V/YHMainInformationTableViewCell.swift
View file @
10ec02cd
...
@@ -41,11 +41,13 @@ class YHMainInformationTableViewCell: UITableViewCell {
...
@@ -41,11 +41,13 @@ class YHMainInformationTableViewCell: UITableViewCell {
}
}
func
setupUI
()
{
func
setupUI
()
{
backgroundColor
=
UIColor
(
hex
:
0xe9e9e9
)
contentView
.
backgroundColor
=
.
clear
backgroundColor
=
.
clear
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
return
view
}()
}()
contentView
.
addSubview
(
centerView
)
contentView
.
addSubview
(
centerView
)
...
@@ -58,8 +60,8 @@ class YHMainInformationTableViewCell: UITableViewCell {
...
@@ -58,8 +60,8 @@ class YHMainInformationTableViewCell: UITableViewCell {
titleLabel
=
{
titleLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
font
=
kFont
(
s
ize
:
17
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
17
)
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
return
label
}()
}()
centerView
.
addSubview
(
titleLabel
)
centerView
.
addSubview
(
titleLabel
)
...
@@ -73,7 +75,7 @@ class YHMainInformationTableViewCell: UITableViewCell {
...
@@ -73,7 +75,7 @@ class YHMainInformationTableViewCell: UITableViewCell {
mainItemView
=
{
mainItemView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
return
view
}()
}()
centerView
.
addSubview
(
mainItemView
)
centerView
.
addSubview
(
mainItemView
)
...
@@ -88,7 +90,7 @@ class YHMainInformationTableViewCell: UITableViewCell {
...
@@ -88,7 +90,7 @@ class YHMainInformationTableViewCell: UITableViewCell {
mainItemView
.
removeSubviews
()
mainItemView
.
removeSubviews
()
for
i
in
0
..<
(
dataSource
?
.
models
?
.
count
??
0
)
{
for
i
in
0
..<
(
dataSource
?
.
models
?
.
count
??
0
)
{
let
line
=
UIView
()
let
line
=
UIView
()
line
.
backgroundColor
=
UIColor
(
hex
:
0xf0f0f0
)
line
.
backgroundColor
=
UIColor
.
separatorColor
mainItemView
.
addSubview
(
line
)
mainItemView
.
addSubview
(
line
)
line
.
snp
.
makeConstraints
{
make
in
line
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
left
.
equalTo
(
18
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MyScore(我的评分)/V/YHScoreItemCell.swift
View file @
10ec02cd
...
@@ -20,7 +20,7 @@ class YHScoreItemCell: UITableViewCell {
...
@@ -20,7 +20,7 @@ class YHScoreItemCell: UITableViewCell {
private
lazy
var
holdView
:
UIView
=
{
private
lazy
var
holdView
:
UIView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
view
.
clipsToBounds
=
true
view
.
clipsToBounds
=
true
return
view
return
view
}()
}()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/C/YHWorkExampleViewController.swift
View file @
10ec02cd
...
@@ -53,7 +53,7 @@ class YHWorkExampleViewController: YHBaseViewController {
...
@@ -53,7 +53,7 @@ class YHWorkExampleViewController: YHBaseViewController {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"参考示例"
label
.
text
=
"参考示例"
label
.
font
=
kBoldFont
(
size
:
17
)
label
.
font
=
kBoldFont
(
size
:
17
)
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
label
.
textAlignment
=
.
center
label
.
textAlignment
=
.
center
return
label
return
label
}()
}()
...
@@ -67,7 +67,7 @@ class YHWorkExampleViewController: YHBaseViewController {
...
@@ -67,7 +67,7 @@ class YHWorkExampleViewController: YHBaseViewController {
lineView
=
{
lineView
=
{
let
line
=
UIView
()
let
line
=
UIView
()
line
.
backgroundColor
=
UIColor
(
hex
:
0xf0f0f0
)
line
.
backgroundColor
=
UIColor
.
separatorColor
return
line
return
line
}()
}()
view
.
addSubview
(
lineView
)
view
.
addSubview
(
lineView
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/C/YHWorkIntroductionViewController.swift
View file @
10ec02cd
...
@@ -41,7 +41,7 @@ class YHWorkIntroductionViewController: YHBaseViewController {
...
@@ -41,7 +41,7 @@ class YHWorkIntroductionViewController: YHBaseViewController {
for
i
in
0
..<
array
.
count
{
for
i
in
0
..<
array
.
count
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
font
=
kFont
(
s
ize
:
14
)
label
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
label
.
text
=
array
[
i
]
label
.
text
=
array
[
i
]
view
.
addSubview
(
label
)
view
.
addSubview
(
label
)
label
.
snp
.
makeConstraints
{
make
in
label
.
snp
.
makeConstraints
{
make
in
...
@@ -65,7 +65,7 @@ class YHWorkIntroductionViewController: YHBaseViewController {
...
@@ -65,7 +65,7 @@ class YHWorkIntroductionViewController: YHBaseViewController {
nameTextField
=
{
nameTextField
=
{
let
textField
=
UITextField
()
let
textField
=
UITextField
()
textField
.
font
=
kFont
(
s
ize
:
14
)
textField
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
textField
.
placeholder
=
"如方便提供,请填写"
textField
.
placeholder
=
"如方便提供,请填写"
return
textField
return
textField
}()
}()
...
@@ -79,7 +79,7 @@ class YHWorkIntroductionViewController: YHBaseViewController {
...
@@ -79,7 +79,7 @@ class YHWorkIntroductionViewController: YHBaseViewController {
startTextField
=
{
startTextField
=
{
let
textField
=
UITextField
()
let
textField
=
UITextField
()
textField
.
font
=
kFont
(
s
ize
:
14
)
textField
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
textField
.
placeholder
=
"开始时间"
textField
.
placeholder
=
"开始时间"
textField
.
isEnabled
=
false
textField
.
isEnabled
=
false
textField
.
isUserInteractionEnabled
=
false
textField
.
isUserInteractionEnabled
=
false
...
@@ -108,7 +108,7 @@ class YHWorkIntroductionViewController: YHBaseViewController {
...
@@ -108,7 +108,7 @@ class YHWorkIntroductionViewController: YHBaseViewController {
endTextField
=
{
endTextField
=
{
let
textField
=
UITextField
()
let
textField
=
UITextField
()
textField
.
font
=
kFont
(
s
ize
:
14
)
textField
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
textField
.
placeholder
=
"结束时间"
textField
.
placeholder
=
"结束时间"
textField
.
isEnabled
=
false
textField
.
isEnabled
=
false
textField
.
isUserInteractionEnabled
=
false
textField
.
isUserInteractionEnabled
=
false
...
@@ -148,7 +148,7 @@ class YHWorkIntroductionViewController: YHBaseViewController {
...
@@ -148,7 +148,7 @@ class YHWorkIntroductionViewController: YHBaseViewController {
messageTextField
=
{
messageTextField
=
{
let
textField
=
UITextView
()
let
textField
=
UITextView
()
textField
.
backgroundColor
=
UIColor
(
hex
:
0xf8f9fb
)
textField
.
backgroundColor
=
UIColor
(
hex
:
0xf8f9fb
)
textField
.
font
=
kFont
(
s
ize
:
14
)
textField
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
textField
.
layer
.
cornerRadius
=
6
textField
.
layer
.
cornerRadius
=
6
textField
.
delegate
=
self
textField
.
delegate
=
self
return
textField
return
textField
...
@@ -163,7 +163,7 @@ class YHWorkIntroductionViewController: YHBaseViewController {
...
@@ -163,7 +163,7 @@ class YHWorkIntroductionViewController: YHBaseViewController {
promptsLabel
=
{
promptsLabel
=
{
let
prompts
=
UILabel
()
let
prompts
=
UILabel
()
prompts
.
font
=
kFont
(
s
ize
:
14
)
prompts
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
prompts
.
textColor
=
UIColor
(
hex
:
0xc0c0c0
)
prompts
.
textColor
=
UIColor
(
hex
:
0xc0c0c0
)
prompts
.
text
=
"在职期间负责的核心项目,如果负责过多个项目,请分段描述:
\n\n
例子:
\n\n
模式1、本人对XX项目展开深入研究,通过对XX方法/方式,研究出XX。此外,她还指出XX问题,反映了XX。XX的研究成果对XX产生了重要性,为XX领域/方面提供参考依据;
\n\n
模式2、本人在司参与了XX项目,该项目具有XX突出意义。在此项目中,XX是个难点,本人通过XX方法,实现了XX成果。在XX方面,本人通过XX方式,完成了XX工作。本人凭借在XX领域的丰富经验,推动项目在中国/海外市场取得XX成果。"
prompts
.
text
=
"在职期间负责的核心项目,如果负责过多个项目,请分段描述:
\n\n
例子:
\n\n
模式1、本人对XX项目展开深入研究,通过对XX方法/方式,研究出XX。此外,她还指出XX问题,反映了XX。XX的研究成果对XX产生了重要性,为XX领域/方面提供参考依据;
\n\n
模式2、本人在司参与了XX项目,该项目具有XX突出意义。在此项目中,XX是个难点,本人通过XX方法,实现了XX成果。在XX方面,本人通过XX方式,完成了XX工作。本人凭借在XX领域的丰富经验,推动项目在中国/海外市场取得XX成果。"
prompts
.
numberOfLines
=
0
prompts
.
numberOfLines
=
0
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkExampleMessageTableViewCell.swift
View file @
10ec02cd
...
@@ -60,9 +60,9 @@ class YHWorkExampleMessageTableViewCell: UITableViewCell {
...
@@ -60,9 +60,9 @@ class YHWorkExampleMessageTableViewCell: UITableViewCell {
titleLabel
=
{
titleLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
font
=
kFont
(
s
ize
:
14
)
label
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
label
.
text
=
"工作职责范例1"
label
.
text
=
"工作职责范例1"
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
return
label
}()
}()
centerView
.
addSubview
(
titleLabel
)
centerView
.
addSubview
(
titleLabel
)
...
@@ -94,7 +94,7 @@ class YHWorkExampleMessageTableViewCell: UITableViewCell {
...
@@ -94,7 +94,7 @@ class YHWorkExampleMessageTableViewCell: UITableViewCell {
lineView
=
{
lineView
=
{
let
line
=
UIView
()
let
line
=
UIView
()
line
.
backgroundColor
=
UIColor
(
hex
:
0xf0f0f0
)
line
.
backgroundColor
=
UIColor
.
separatorColor
return
line
return
line
}()
}()
centerView
.
addSubview
(
lineView
)
centerView
.
addSubview
(
lineView
)
...
@@ -107,8 +107,8 @@ class YHWorkExampleMessageTableViewCell: UITableViewCell {
...
@@ -107,8 +107,8 @@ class YHWorkExampleMessageTableViewCell: UITableViewCell {
messageLabel
=
{
messageLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
label
.
font
=
kFont
(
s
ize
:
14
)
label
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
return
label
}()
}()
centerView
.
addSubview
(
messageLabel
)
centerView
.
addSubview
(
messageLabel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkExampleMessageView.swift
View file @
10ec02cd
...
@@ -52,7 +52,7 @@ class YHWorkExampleMessageView: UIView {
...
@@ -52,7 +52,7 @@ class YHWorkExampleMessageView: UIView {
label
.
font
=
kBoldFont
(
size
:
16
)
label
.
font
=
kBoldFont
(
size
:
16
)
label
.
text
=
"业务支援及人力资源"
label
.
text
=
"业务支援及人力资源"
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
return
label
}()
}()
addSubview
(
titleLabel
)
addSubview
(
titleLabel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkExampleTypeView.swift
View file @
10ec02cd
...
@@ -33,7 +33,7 @@ class YHWorkExampleTypeView: UIView {
...
@@ -33,7 +33,7 @@ class YHWorkExampleTypeView: UIView {
label
.
font
=
kBoldFont
(
size
:
14
)
label
.
font
=
kBoldFont
(
size
:
14
)
label
.
text
=
"请选择您的行业:"
label
.
text
=
"请选择您的行业:"
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
return
label
}()
}()
addSubview
(
titleLabel
)
addSubview
(
titleLabel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkExperienceItemView.swift
View file @
10ec02cd
...
@@ -124,7 +124,7 @@ class YHWorkExperienceItemView: UIView {
...
@@ -124,7 +124,7 @@ class YHWorkExperienceItemView: UIView {
let
str
=
"*"
+
(
dataSource
.
title
??
""
)
let
str
=
"*"
+
(
dataSource
.
title
??
""
)
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
14
),
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
14
),
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
.
foregroundColor
:
UIColor
.
mainTextColor
]
]
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
starRange
=
NSRange
(
location
:
0
,
length
:
1
)
let
starRange
=
NSRange
(
location
:
0
,
length
:
1
)
...
@@ -133,8 +133,8 @@ class YHWorkExperienceItemView: UIView {
...
@@ -133,8 +133,8 @@ class YHWorkExperienceItemView: UIView {
}
else
{
}
else
{
let
str
=
dataSource
.
title
??
""
let
str
=
dataSource
.
title
??
""
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
kFont
(
s
ize
:
14
),
.
font
:
UIFont
.
PFSC_R
(
ofS
ize
:
14
),
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
.
foregroundColor
:
UIColor
.
mainTextColor
]
]
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
titleLabel
.
attributedText
=
questionAttrStr
titleLabel
.
attributedText
=
questionAttrStr
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkExperienceListTableViewCell.swift
View file @
10ec02cd
...
@@ -52,7 +52,7 @@ class YHWorkExperienceListTableViewCell: UITableViewCell {
...
@@ -52,7 +52,7 @@ class YHWorkExperienceListTableViewCell: UITableViewCell {
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
return
view
}()
}()
contentView
.
addSubview
(
centerView
)
contentView
.
addSubview
(
centerView
)
...
@@ -67,7 +67,7 @@ class YHWorkExperienceListTableViewCell: UITableViewCell {
...
@@ -67,7 +67,7 @@ class YHWorkExperienceListTableViewCell: UITableViewCell {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
font
=
kFont
(
size
:
16
)
label
.
font
=
kFont
(
size
:
16
)
label
.
text
=
"主申请人工作经历"
label
.
text
=
"主申请人工作经历"
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
return
label
}()
}()
centerView
.
addSubview
(
titleLabel
)
centerView
.
addSubview
(
titleLabel
)
...
@@ -129,7 +129,7 @@ class YHWorkExperienceListTableViewCell: UITableViewCell {
...
@@ -129,7 +129,7 @@ class YHWorkExperienceListTableViewCell: UITableViewCell {
mainItemView
=
{
mainItemView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
return
view
}()
}()
centerView
.
addSubview
(
mainItemView
)
centerView
.
addSubview
(
mainItemView
)
...
@@ -155,7 +155,7 @@ class YHWorkExperienceListTableViewCell: UITableViewCell {
...
@@ -155,7 +155,7 @@ class YHWorkExperienceListTableViewCell: UITableViewCell {
mainItemView
.
removeSubviews
()
mainItemView
.
removeSubviews
()
guard
let
dataSource
=
dataSource
else
{
guard
let
dataSource
=
dataSource
else
{
let
line
=
UIView
()
let
line
=
UIView
()
line
.
backgroundColor
=
UIColor
(
hex
:
0xf0f0f0
)
line
.
backgroundColor
=
UIColor
.
separatorColor
mainItemView
.
addSubview
(
line
)
mainItemView
.
addSubview
(
line
)
line
.
snp
.
makeConstraints
{
make
in
line
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
left
.
equalTo
(
18
)
...
@@ -177,7 +177,7 @@ class YHWorkExperienceListTableViewCell: UITableViewCell {
...
@@ -177,7 +177,7 @@ class YHWorkExperienceListTableViewCell: UITableViewCell {
for
i
in
0
..<
dataSource
.
count
{
for
i
in
0
..<
dataSource
.
count
{
let
line
=
UIView
()
let
line
=
UIView
()
line
.
backgroundColor
=
UIColor
(
hex
:
0xf0f0f0
)
line
.
backgroundColor
=
UIColor
.
separatorColor
mainItemView
.
addSubview
(
line
)
mainItemView
.
addSubview
(
line
)
line
.
snp
.
makeConstraints
{
make
in
line
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
left
.
equalTo
(
18
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkExperienceTableViewCell.swift
View file @
10ec02cd
...
@@ -45,7 +45,7 @@ class YHWorkExperienceTableViewCell: UITableViewCell {
...
@@ -45,7 +45,7 @@ class YHWorkExperienceTableViewCell: UITableViewCell {
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
return
view
}()
}()
contentView
.
addSubview
(
centerView
)
contentView
.
addSubview
(
centerView
)
...
@@ -58,8 +58,8 @@ class YHWorkExperienceTableViewCell: UITableViewCell {
...
@@ -58,8 +58,8 @@ class YHWorkExperienceTableViewCell: UITableViewCell {
titleLabel
=
{
titleLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
font
=
kFont
(
s
ize
:
17
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
17
)
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
return
label
}()
}()
centerView
.
addSubview
(
titleLabel
)
centerView
.
addSubview
(
titleLabel
)
...
@@ -73,7 +73,7 @@ class YHWorkExperienceTableViewCell: UITableViewCell {
...
@@ -73,7 +73,7 @@ class YHWorkExperienceTableViewCell: UITableViewCell {
mainItemView
=
{
mainItemView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
return
view
}()
}()
centerView
.
addSubview
(
mainItemView
)
centerView
.
addSubview
(
mainItemView
)
...
@@ -89,7 +89,7 @@ class YHWorkExperienceTableViewCell: UITableViewCell {
...
@@ -89,7 +89,7 @@ class YHWorkExperienceTableViewCell: UITableViewCell {
var
y
=
0
var
y
=
0
for
i
in
0
..<
(
dataSource
?
.
models
?
.
count
??
0
)
{
for
i
in
0
..<
(
dataSource
?
.
models
?
.
count
??
0
)
{
let
line
=
UIView
()
let
line
=
UIView
()
line
.
backgroundColor
=
UIColor
(
hex
:
0xf0f0f0
)
line
.
backgroundColor
=
UIColor
.
separatorColor
mainItemView
.
addSubview
(
line
)
mainItemView
.
addSubview
(
line
)
line
.
snp
.
makeConstraints
{
make
in
line
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
left
.
equalTo
(
18
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkExperienceTextItemView.swift
View file @
10ec02cd
...
@@ -61,7 +61,7 @@ class YHWorkExperienceTextItemView: UIView {
...
@@ -61,7 +61,7 @@ class YHWorkExperienceTextItemView: UIView {
promptsLabel
=
{
promptsLabel
=
{
let
textField
=
UILabel
()
let
textField
=
UILabel
()
textField
.
font
=
kFont
(
s
ize
:
14
)
textField
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
textField
.
textColor
=
UIColor
(
hex
:
0xc0c0c0
)
textField
.
textColor
=
UIColor
(
hex
:
0xc0c0c0
)
return
textField
return
textField
}()
}()
...
@@ -91,7 +91,7 @@ class YHWorkExperienceTextItemView: UIView {
...
@@ -91,7 +91,7 @@ class YHWorkExperienceTextItemView: UIView {
let
str
=
"*"
+
(
dataSource
.
title
??
""
)
let
str
=
"*"
+
(
dataSource
.
title
??
""
)
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
14
),
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
14
),
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
.
foregroundColor
:
UIColor
.
mainTextColor
]
]
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
starRange
=
NSRange
(
location
:
0
,
length
:
1
)
let
starRange
=
NSRange
(
location
:
0
,
length
:
1
)
...
@@ -100,8 +100,8 @@ class YHWorkExperienceTextItemView: UIView {
...
@@ -100,8 +100,8 @@ class YHWorkExperienceTextItemView: UIView {
}
else
{
}
else
{
let
str
=
dataSource
.
title
??
""
let
str
=
dataSource
.
title
??
""
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
kFont
(
s
ize
:
14
),
.
font
:
UIFont
.
PFSC_R
(
ofS
ize
:
14
),
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
.
foregroundColor
:
UIColor
.
mainTextColor
]
]
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
titleLabel
.
attributedText
=
questionAttrStr
titleLabel
.
attributedText
=
questionAttrStr
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkFileItemView.swift
View file @
10ec02cd
...
@@ -34,7 +34,7 @@ class YHWorkFileItemView: UIView {
...
@@ -34,7 +34,7 @@ class YHWorkFileItemView: UIView {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
font
=
kBoldFont
(
size
:
14
)
label
.
font
=
kBoldFont
(
size
:
14
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
return
label
}()
}()
addSubview
(
titleLabel
)
addSubview
(
titleLabel
)
...
@@ -47,7 +47,7 @@ class YHWorkFileItemView: UIView {
...
@@ -47,7 +47,7 @@ class YHWorkFileItemView: UIView {
deleteButton
=
{
deleteButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
let
button
=
UIButton
(
type
:
.
custom
)
button
.
titleLabel
?
.
font
=
kFont
(
s
ize
:
14
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
button
.
contentHorizontalAlignment
=
.
center
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"删除"
,
for
:
.
normal
)
button
.
setTitle
(
"删除"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0xf81d22
),
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0xf81d22
),
for
:
.
normal
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkFileSyncTableViewCell.swift
View file @
10ec02cd
...
@@ -49,7 +49,7 @@ class YHWorkFileSyncTableViewCell: UITableViewCell {
...
@@ -49,7 +49,7 @@ class YHWorkFileSyncTableViewCell: UITableViewCell {
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
return
view
}()
}()
contentView
.
addSubview
(
centerView
)
contentView
.
addSubview
(
centerView
)
...
@@ -65,7 +65,7 @@ class YHWorkFileSyncTableViewCell: UITableViewCell {
...
@@ -65,7 +65,7 @@ class YHWorkFileSyncTableViewCell: UITableViewCell {
let
str
=
"*"
+
"上传文件"
let
str
=
"*"
+
"上传文件"
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
17
),
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
17
),
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
.
foregroundColor
:
UIColor
.
mainTextColor
]
]
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
starRange
=
NSRange
(
location
:
0
,
length
:
1
)
let
starRange
=
NSRange
(
location
:
0
,
length
:
1
)
...
@@ -84,7 +84,7 @@ class YHWorkFileSyncTableViewCell: UITableViewCell {
...
@@ -84,7 +84,7 @@ class YHWorkFileSyncTableViewCell: UITableViewCell {
mainItemView
=
{
mainItemView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
return
view
}()
}()
centerView
.
addSubview
(
mainItemView
)
centerView
.
addSubview
(
mainItemView
)
...
@@ -117,7 +117,7 @@ class YHWorkFileSyncTableViewCell: UITableViewCell {
...
@@ -117,7 +117,7 @@ class YHWorkFileSyncTableViewCell: UITableViewCell {
mainItemView
.
removeSubviews
()
mainItemView
.
removeSubviews
()
for
i
in
0
..<
(
dataSource
?
.
count
??
0
)
{
for
i
in
0
..<
(
dataSource
?
.
count
??
0
)
{
let
line
=
UIView
()
let
line
=
UIView
()
line
.
backgroundColor
=
UIColor
(
hex
:
0xf0f0f0
)
line
.
backgroundColor
=
UIColor
.
separatorColor
mainItemView
.
addSubview
(
line
)
mainItemView
.
addSubview
(
line
)
line
.
snp
.
makeConstraints
{
make
in
line
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
left
.
equalTo
(
18
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkHighlightsTableViewCell.swift
View file @
10ec02cd
...
@@ -64,7 +64,7 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
...
@@ -64,7 +64,7 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
let
str
=
"*"
+
"工作亮点"
let
str
=
"*"
+
"工作亮点"
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
17
),
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
17
),
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
.
foregroundColor
:
UIColor
.
mainTextColor
]
]
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
starRange
=
NSRange
(
location
:
0
,
length
:
1
)
let
starRange
=
NSRange
(
location
:
0
,
length
:
1
)
...
@@ -98,7 +98,7 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
...
@@ -98,7 +98,7 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
lineView
=
{
lineView
=
{
let
line
=
UIView
()
let
line
=
UIView
()
line
.
backgroundColor
=
UIColor
(
hex
:
0xf0f0f0
)
line
.
backgroundColor
=
UIColor
.
separatorColor
return
line
return
line
}()
}()
centerView
.
addSubview
(
lineView
)
centerView
.
addSubview
(
lineView
)
...
@@ -111,7 +111,7 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
...
@@ -111,7 +111,7 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
messageTextField
=
{
messageTextField
=
{
let
textField
=
UITextView
()
let
textField
=
UITextView
()
textField
.
font
=
kFont
(
s
ize
:
14
)
textField
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
textField
.
delegate
=
self
textField
.
delegate
=
self
return
textField
return
textField
}()
}()
...
@@ -125,7 +125,7 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
...
@@ -125,7 +125,7 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
promptsLabel
=
{
promptsLabel
=
{
let
prompts
=
UILabel
()
let
prompts
=
UILabel
()
prompts
.
font
=
kFont
(
s
ize
:
14
)
prompts
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
prompts
.
textColor
=
UIColor
(
hex
:
0xc0c0c0
)
prompts
.
textColor
=
UIColor
(
hex
:
0xc0c0c0
)
prompts
.
text
=
"示例:打破常规,超越同行或其他同事的优秀业绩;或有开创性且突破公司期望的杰出贡献,且给公司带来价值和收益。
\n\n
请举例2-3个工作亮点:
\n\n
a. 是什么:某项目背景或工作目标或难点
\n
b.为什么:为什么出现这个项目工作/难点,旨在体现分析过程,为您后面提出解决方案做铺垫
\n
c.怎么处理:您是怎么把这件事做好的?用了什么技术/方法?有何突出/创新之处?
\n
d.有什么价值:为公司、客户或您本身带来了哪些价值?客户或您本身带来了哪些价值?
\n
最好用实际数据证明,比如销售业绩增加了多少,或者利润增加了多少,客户群体增加了多少等。"
prompts
.
text
=
"示例:打破常规,超越同行或其他同事的优秀业绩;或有开创性且突破公司期望的杰出贡献,且给公司带来价值和收益。
\n\n
请举例2-3个工作亮点:
\n\n
a. 是什么:某项目背景或工作目标或难点
\n
b.为什么:为什么出现这个项目工作/难点,旨在体现分析过程,为您后面提出解决方案做铺垫
\n
c.怎么处理:您是怎么把这件事做好的?用了什么技术/方法?有何突出/创新之处?
\n
d.有什么价值:为公司、客户或您本身带来了哪些价值?客户或您本身带来了哪些价值?
\n
最好用实际数据证明,比如销售业绩增加了多少,或者利润增加了多少,客户群体增加了多少等。"
prompts
.
numberOfLines
=
0
prompts
.
numberOfLines
=
0
...
@@ -142,7 +142,7 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
...
@@ -142,7 +142,7 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"项目详细介绍"
label
.
text
=
"项目详细介绍"
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
font
=
kFont
(
s
ize
:
14
)
label
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
return
label
return
label
}()
}()
centerView
.
addSubview
(
detailLabel
)
centerView
.
addSubview
(
detailLabel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkIntroductionItemView.swift
View file @
10ec02cd
...
@@ -37,7 +37,7 @@ class YHWorkIntroductionItemView: UIView {
...
@@ -37,7 +37,7 @@ class YHWorkIntroductionItemView: UIView {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
font
=
kBoldFont
(
size
:
14
)
label
.
font
=
kBoldFont
(
size
:
14
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
return
label
}()
}()
addSubview
(
titleLabel
)
addSubview
(
titleLabel
)
...
@@ -87,7 +87,7 @@ class YHWorkIntroductionItemView: UIView {
...
@@ -87,7 +87,7 @@ class YHWorkIntroductionItemView: UIView {
deleteButton
=
{
deleteButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
let
button
=
UIButton
(
type
:
.
custom
)
button
.
titleLabel
?
.
font
=
kFont
(
s
ize
:
14
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
button
.
contentHorizontalAlignment
=
.
center
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"删除"
,
for
:
.
normal
)
button
.
setTitle
(
"删除"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0xf81d22
),
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0xf81d22
),
for
:
.
normal
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkIntroductionTableViewCell.swift
View file @
10ec02cd
...
@@ -51,7 +51,7 @@ class YHWorkIntroductionTableViewCell: UITableViewCell {
...
@@ -51,7 +51,7 @@ class YHWorkIntroductionTableViewCell: UITableViewCell {
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
return
view
}()
}()
contentView
.
addSubview
(
centerView
)
contentView
.
addSubview
(
centerView
)
...
@@ -66,7 +66,7 @@ class YHWorkIntroductionTableViewCell: UITableViewCell {
...
@@ -66,7 +66,7 @@ class YHWorkIntroductionTableViewCell: UITableViewCell {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
font
=
kFont
(
size
:
16
)
label
.
font
=
kFont
(
size
:
16
)
label
.
text
=
"项目介绍(选填)"
label
.
text
=
"项目介绍(选填)"
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
return
label
}()
}()
centerView
.
addSubview
(
titleLabel
)
centerView
.
addSubview
(
titleLabel
)
...
@@ -113,7 +113,7 @@ class YHWorkIntroductionTableViewCell: UITableViewCell {
...
@@ -113,7 +113,7 @@ class YHWorkIntroductionTableViewCell: UITableViewCell {
mainItemView
=
{
mainItemView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
return
view
}()
}()
centerView
.
addSubview
(
mainItemView
)
centerView
.
addSubview
(
mainItemView
)
...
@@ -146,7 +146,7 @@ class YHWorkIntroductionTableViewCell: UITableViewCell {
...
@@ -146,7 +146,7 @@ class YHWorkIntroductionTableViewCell: UITableViewCell {
mainItemView
.
removeSubviews
()
mainItemView
.
removeSubviews
()
for
i
in
0
..<
(
dataSource
?
.
count
??
0
)
{
for
i
in
0
..<
(
dataSource
?
.
count
??
0
)
{
let
line
=
UIView
()
let
line
=
UIView
()
line
.
backgroundColor
=
UIColor
(
hex
:
0xf0f0f0
)
line
.
backgroundColor
=
UIColor
.
separatorColor
mainItemView
.
addSubview
(
line
)
mainItemView
.
addSubview
(
line
)
line
.
snp
.
makeConstraints
{
make
in
line
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
18
)
make
.
left
.
equalTo
(
18
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkItemView.swift
View file @
10ec02cd
...
@@ -40,7 +40,7 @@ class YHWorkItemView: UIView {
...
@@ -40,7 +40,7 @@ class YHWorkItemView: UIView {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
font
=
kBoldFont
(
size
:
14
)
label
.
font
=
kBoldFont
(
size
:
14
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
return
label
}()
}()
addSubview
(
titleLabel
)
addSubview
(
titleLabel
)
...
@@ -105,7 +105,7 @@ class YHWorkItemView: UIView {
...
@@ -105,7 +105,7 @@ class YHWorkItemView: UIView {
deleteButton
=
{
deleteButton
=
{
let
button
=
UIButton
(
type
:
.
custom
)
let
button
=
UIButton
(
type
:
.
custom
)
button
.
titleLabel
?
.
font
=
kFont
(
s
ize
:
14
)
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
button
.
contentHorizontalAlignment
=
.
center
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"删除"
,
for
:
.
normal
)
button
.
setTitle
(
"删除"
,
for
:
.
normal
)
button
.
contentHorizontalAlignment
=
.
right
button
.
contentHorizontalAlignment
=
.
right
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkMessageSelectTableViewCell.swift
View file @
10ec02cd
...
@@ -42,7 +42,7 @@ class YHWorkMessageSelectTableViewCell: UITableViewCell {
...
@@ -42,7 +42,7 @@ class YHWorkMessageSelectTableViewCell: UITableViewCell {
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
return
view
}()
}()
contentView
.
addSubview
(
centerView
)
contentView
.
addSubview
(
centerView
)
...
@@ -55,9 +55,9 @@ class YHWorkMessageSelectTableViewCell: UITableViewCell {
...
@@ -55,9 +55,9 @@ class YHWorkMessageSelectTableViewCell: UITableViewCell {
titleLabel
=
{
titleLabel
=
{
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
font
=
kFont
(
s
ize
:
17
)
label
.
font
=
UIFont
.
PFSC_M
(
ofS
ize
:
17
)
label
.
text
=
"信息选择"
label
.
text
=
"信息选择"
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
return
label
}()
}()
centerView
.
addSubview
(
titleLabel
)
centerView
.
addSubview
(
titleLabel
)
...
@@ -70,7 +70,7 @@ class YHWorkMessageSelectTableViewCell: UITableViewCell {
...
@@ -70,7 +70,7 @@ class YHWorkMessageSelectTableViewCell: UITableViewCell {
lineView
=
{
lineView
=
{
let
line
=
UIView
()
let
line
=
UIView
()
line
.
backgroundColor
=
UIColor
(
hex
:
0xf0f0f0
)
line
.
backgroundColor
=
UIColor
.
separatorColor
return
line
return
line
}()
}()
centerView
.
addSubview
(
lineView
)
centerView
.
addSubview
(
lineView
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkResponsibilitiesTableViewCell.swift
View file @
10ec02cd
...
@@ -62,7 +62,7 @@ class YHWorkResponsibilitiesTableViewCell: UITableViewCell {
...
@@ -62,7 +62,7 @@ class YHWorkResponsibilitiesTableViewCell: UITableViewCell {
let
str
=
"*"
+
"工作职责"
let
str
=
"*"
+
"工作职责"
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
17
),
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
17
),
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
.
foregroundColor
:
UIColor
.
mainTextColor
]
]
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
starRange
=
NSRange
(
location
:
0
,
length
:
1
)
let
starRange
=
NSRange
(
location
:
0
,
length
:
1
)
...
@@ -96,7 +96,7 @@ class YHWorkResponsibilitiesTableViewCell: UITableViewCell {
...
@@ -96,7 +96,7 @@ class YHWorkResponsibilitiesTableViewCell: UITableViewCell {
lineView
=
{
lineView
=
{
let
line
=
UIView
()
let
line
=
UIView
()
line
.
backgroundColor
=
UIColor
(
hex
:
0xf0f0f0
)
line
.
backgroundColor
=
UIColor
.
separatorColor
return
line
return
line
}()
}()
centerView
.
addSubview
(
lineView
)
centerView
.
addSubview
(
lineView
)
...
@@ -109,7 +109,7 @@ class YHWorkResponsibilitiesTableViewCell: UITableViewCell {
...
@@ -109,7 +109,7 @@ class YHWorkResponsibilitiesTableViewCell: UITableViewCell {
messageTextField
=
{
messageTextField
=
{
let
textField
=
UITextView
()
let
textField
=
UITextView
()
textField
.
font
=
kFont
(
s
ize
:
14
)
textField
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
textField
.
delegate
=
self
textField
.
delegate
=
self
return
textField
return
textField
}()
}()
...
@@ -123,7 +123,7 @@ class YHWorkResponsibilitiesTableViewCell: UITableViewCell {
...
@@ -123,7 +123,7 @@ class YHWorkResponsibilitiesTableViewCell: UITableViewCell {
promptsLabel
=
{
promptsLabel
=
{
let
prompts
=
UILabel
()
let
prompts
=
UILabel
()
prompts
.
font
=
kFont
(
s
ize
:
14
)
prompts
.
font
=
UIFont
.
PFSC_R
(
ofS
ize
:
14
)
prompts
.
textColor
=
UIColor
(
hex
:
0xc0c0c0
)
prompts
.
textColor
=
UIColor
(
hex
:
0xc0c0c0
)
prompts
.
text
=
"示例:在职期间负责的核心工作职责,建议不要超过3点。如果就职过多个职位,请分段描述:
\n\n
例子:
\n\n
模式1、在司担任某某岗位,任职期间,主要负责xxxx工作;在此期间,组建了xxx。实现了xxx;
\n\n
模式2、在担任xxx岗位期间,主要负责xxxx工作,具体的工作职责包括如下:
\n\n
2.1)xxxxxxxx;
\n
2.2)xxxxxxxx;
\n
2.3)xxxxxxxx;"
prompts
.
text
=
"示例:在职期间负责的核心工作职责,建议不要超过3点。如果就职过多个职位,请分段描述:
\n\n
例子:
\n\n
模式1、在司担任某某岗位,任职期间,主要负责xxxx工作;在此期间,组建了xxx。实现了xxx;
\n\n
模式2、在担任xxx岗位期间,主要负责xxxx工作,具体的工作职责包括如下:
\n\n
2.1)xxxxxxxx;
\n
2.2)xxxxxxxx;
\n
2.3)xxxxxxxx;"
prompts
.
numberOfLines
=
0
prompts
.
numberOfLines
=
0
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHSubmitAllInfoCheckView.swift
View file @
10ec02cd
...
@@ -44,7 +44,7 @@ class YHSubmitAllInfoCheckView: UIView {
...
@@ -44,7 +44,7 @@ class YHSubmitAllInfoCheckView: UIView {
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
return
view
}()
}()
addSubview
(
centerView
)
addSubview
(
centerView
)
...
@@ -58,7 +58,7 @@ class YHSubmitAllInfoCheckView: UIView {
...
@@ -58,7 +58,7 @@ class YHSubmitAllInfoCheckView: UIView {
// let label = UILabel()
// let label = UILabel()
// label.text = "同意隐私协议"
// label.text = "同意隐私协议"
// label.font = kFont(size: 16)
// label.font = kFont(size: 16)
// label.textColor = UIColor
(hex:0x222222)
// label.textColor = UIColor
.mainTextColor
// label.textAlignment = .center
// label.textAlignment = .center
// return label
// return label
// }()
// }()
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHCodeSueecssViewController.swift
View file @
10ec02cd
...
@@ -64,7 +64,7 @@ class YHCodeSueecssViewController: YHBaseViewController {
...
@@ -64,7 +64,7 @@ class YHCodeSueecssViewController: YHBaseViewController {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"请输入验证码"
label
.
text
=
"请输入验证码"
label
.
font
=
kBoldFont
(
size
:
28
)
label
.
font
=
kBoldFont
(
size
:
28
)
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
return
label
}()
}()
view
.
addSubview
(
loginTitleLabel
)
view
.
addSubview
(
loginTitleLabel
)
...
@@ -136,7 +136,7 @@ class YHCodeSueecssViewController: YHBaseViewController {
...
@@ -136,7 +136,7 @@ class YHCodeSueecssViewController: YHBaseViewController {
button
.
titleLabel
?
.
font
=
kBoldFont
(
size
:
12
)
button
.
titleLabel
?
.
font
=
kBoldFont
(
size
:
12
)
button
.
contentHorizontalAlignment
=
.
center
button
.
contentHorizontalAlignment
=
.
center
button
.
setTitle
(
"获取验证码"
,
for
:
.
normal
)
button
.
setTitle
(
"获取验证码"
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
(
hex
:
0x222222
)
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
addTarget
(
self
,
action
:
#selector(
startClicked
)
,
for
:
.
touchUpInside
)
button
.
addTarget
(
self
,
action
:
#selector(
startClicked
)
,
for
:
.
touchUpInside
)
button
.
isHidden
=
true
button
.
isHidden
=
true
button
.
layer
.
cornerRadius
=
4
button
.
layer
.
cornerRadius
=
4
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHPhoneLoginViewController.swift
View file @
10ec02cd
...
@@ -82,7 +82,7 @@ class YHPhoneLoginViewController: YHBaseViewController {
...
@@ -82,7 +82,7 @@ class YHPhoneLoginViewController: YHBaseViewController {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
text
=
"手机号登录"
label
.
text
=
"手机号登录"
label
.
font
=
kBoldFont
(
size
:
28
)
label
.
font
=
kBoldFont
(
size
:
28
)
label
.
textColor
=
UIColor
(
hex
:
0x222222
)
label
.
textColor
=
UIColor
.
mainTextColor
return
label
return
label
}()
}()
view
.
addSubview
(
loginTitleLabel
)
view
.
addSubview
(
loginTitleLabel
)
...
...
galaxy/galaxy/Classes/Modules/Login(登录)/V/YHPrivacyAlertView.swift
View file @
10ec02cd
...
@@ -38,7 +38,7 @@ class YHPrivacyAlertView: UIView {
...
@@ -38,7 +38,7 @@ class YHPrivacyAlertView: UIView {
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
12
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
return
view
}()
}()
addSubview
(
centerView
)
addSubview
(
centerView
)
...
...
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