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
eb5debea
Commit
eb5debea
authored
Mar 02, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工作经验 细节优化
parent
d31a9131
Changes
19
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
37 additions
and
26 deletions
+37
-26
YHFormItemDegreeInfoCell.swift
...程)/FamilyMember(家庭成员信息表)/V/YHFormItemDegreeInfoCell.swift
+2
-2
YHFormItemDoubleChoiceCell.swift
.../FamilyMember(家庭成员信息表)/V/YHFormItemDoubleChoiceCell.swift
+1
-1
YHFormItemEnterDetailCell.swift
...)/FamilyMember(家庭成员信息表)/V/YHFormItemEnterDetailCell.swift
+1
-1
YHFormItemExpireDateCell.swift
...程)/FamilyMember(家庭成员信息表)/V/YHFormItemExpireDateCell.swift
+1
-1
YHFormItemInputTextCell.swift
...流程)/FamilyMember(家庭成员信息表)/V/YHFormItemInputTextCell.swift
+1
-1
YHFormItemQuestionsCell.swift
...流程)/FamilyMember(家庭成员信息表)/V/YHFormItemQuestionsCell.swift
+1
-1
YHFormItemSelectSheetCell.swift
...)/FamilyMember(家庭成员信息表)/V/YHFormItemSelectSheetCell.swift
+1
-1
YHItemView.swift
...s(流程)/MainApplicantInformation(主申请人信息)/V/YHItemView.swift
+1
-1
YHWorkExperienceListViewController.swift
...WorkExperience/C/YHWorkExperienceListViewController.swift
+2
-0
YHWorkExperienceViewController.swift
...流程)/WorkExperience/C/YHWorkExperienceViewController.swift
+3
-3
YHWorkExperienceItemView.swift
...ocess(流程)/WorkExperience/V/YHWorkExperienceItemView.swift
+9
-1
YHWorkExperienceListTableViewCell.swift
.../WorkExperience/V/YHWorkExperienceListTableViewCell.swift
+1
-1
YHWorkExperienceTableViewCell.swift
...(流程)/WorkExperience/V/YHWorkExperienceTableViewCell.swift
+1
-1
YHWorkExperienceTextItemView.swift
...s(流程)/WorkExperience/V/YHWorkExperienceTextItemView.swift
+3
-2
YHWorkFileSyncTableViewCell.swift
...ss(流程)/WorkExperience/V/YHWorkFileSyncTableViewCell.swift
+2
-2
YHWorkHighlightsTableViewCell.swift
...(流程)/WorkExperience/V/YHWorkHighlightsTableViewCell.swift
+2
-2
YHWorkIntroductionTableViewCell.swift
...程)/WorkExperience/V/YHWorkIntroductionTableViewCell.swift
+1
-1
YHWorkMessageSelectTableViewCell.swift
...)/WorkExperience/V/YHWorkMessageSelectTableViewCell.swift
+2
-2
YHWorkResponsibilitiesTableViewCell.swift
...orkExperience/V/YHWorkResponsibilitiesTableViewCell.swift
+2
-2
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemDegreeInfoCell.swift
View file @
eb5debea
...
@@ -35,7 +35,7 @@ class YHFormItemDegreeInfoCell: UITableViewCell {
...
@@ -35,7 +35,7 @@ class YHFormItemDegreeInfoCell: UITableViewCell {
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
)
if
isNeed
{
if
isNeed
{
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
(
hex
:
0xFF3A3A
)
,
range
:
starRange
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
.
failColor
,
range
:
starRange
)
}
}
titleLabel
.
attributedText
=
questionAttrStr
titleLabel
.
attributedText
=
questionAttrStr
...
@@ -163,7 +163,7 @@ class HKDegreeInfoItemView: UIView {
...
@@ -163,7 +163,7 @@ class HKDegreeInfoItemView: UIView {
.
foregroundColor
:
UIColor
.
mainTextColor
]
.
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
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
(
hex
:
0xFF3A3A
)
,
range
:
starRange
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
.
failColor
,
range
:
starRange
)
titleLabel
.
attributedText
=
questionAttrStr
titleLabel
.
attributedText
=
questionAttrStr
}
else
{
}
else
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemDoubleChoiceCell.swift
View file @
eb5debea
...
@@ -49,7 +49,7 @@ class YHFormItemDoubleChoiceCell: UITableViewCell {
...
@@ -49,7 +49,7 @@ class YHFormItemDoubleChoiceCell: UITableViewCell {
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
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
(
hex
:
0xFF3A3A
)
,
range
:
starRange
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
.
failColor
,
range
:
starRange
)
}
}
titleLabel
.
attributedText
=
questionAttrStr
titleLabel
.
attributedText
=
questionAttrStr
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemEnterDetailCell.swift
View file @
eb5debea
...
@@ -44,7 +44,7 @@ class YHFormItemEnterDetailCell: UITableViewCell {
...
@@ -44,7 +44,7 @@ class YHFormItemEnterDetailCell: UITableViewCell {
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
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
(
hex
:
0xFF3A3A
)
,
range
:
starRange
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
.
failColor
,
range
:
starRange
)
}
}
titleLabel
.
attributedText
=
questionAttrStr
titleLabel
.
attributedText
=
questionAttrStr
}
else
{
}
else
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemExpireDateCell.swift
View file @
eb5debea
...
@@ -38,7 +38,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
...
@@ -38,7 +38,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
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
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
(
hex
:
0xFF3A3A
)
,
range
:
starRange
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
.
failColor
,
range
:
starRange
)
}
}
titleLabel
.
attributedText
=
questionAttrStr
titleLabel
.
attributedText
=
questionAttrStr
}
else
{
}
else
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemInputTextCell.swift
View file @
eb5debea
...
@@ -35,7 +35,7 @@ class YHFormItemInputTextCell: UITableViewCell {
...
@@ -35,7 +35,7 @@ class YHFormItemInputTextCell: UITableViewCell {
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
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
(
hex
:
0xFF3A3A
)
,
range
:
starRange
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
.
failColor
,
range
:
starRange
)
}
}
titleLabel
.
attributedText
=
questionAttrStr
titleLabel
.
attributedText
=
questionAttrStr
}
else
{
}
else
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemQuestionsCell.swift
View file @
eb5debea
...
@@ -35,7 +35,7 @@ class YHFormItemQuestionsCell: UITableViewCell {
...
@@ -35,7 +35,7 @@ class YHFormItemQuestionsCell: UITableViewCell {
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
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
(
hex
:
0xFF3A3A
)
,
range
:
starRange
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
.
failColor
,
range
:
starRange
)
}
}
titleLabel
.
attributedText
=
questionAttrStr
titleLabel
.
attributedText
=
questionAttrStr
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemSelectSheetCell.swift
View file @
eb5debea
...
@@ -34,7 +34,7 @@ class YHFormItemSelectSheetCell: UITableViewCell {
...
@@ -34,7 +34,7 @@ class YHFormItemSelectSheetCell: UITableViewCell {
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
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
(
hex
:
0xFF3A3A
)
,
range
:
starRange
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
.
failColor
,
range
:
starRange
)
}
}
titleLabel
.
attributedText
=
questionAttrStr
titleLabel
.
attributedText
=
questionAttrStr
}
else
{
}
else
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MainApplicantInformation(主申请人信息)/V/YHItemView.swift
View file @
eb5debea
...
@@ -142,7 +142,7 @@ class YHItemView: UIView {
...
@@ -142,7 +142,7 @@ class YHItemView: UIView {
]
]
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
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
(
hex
:
0xFF3A3A
)
,
range
:
starRange
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
.
failColor
,
range
:
starRange
)
titleLabel
.
attributedText
=
questionAttrStr
titleLabel
.
attributedText
=
questionAttrStr
}
else
{
}
else
{
let
str
=
dataSource
.
title
??
""
let
str
=
dataSource
.
title
??
""
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/C/YHWorkExperienceListViewController.swift
View file @
eb5debea
...
@@ -156,6 +156,8 @@ extension YHWorkExperienceListViewController: UITableViewDelegate, UITableViewDa
...
@@ -156,6 +156,8 @@ extension YHWorkExperienceListViewController: UITableViewDelegate, UITableViewDa
vc
.
orderID
=
self
.
orderId
vc
.
orderID
=
self
.
orderId
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
}
cell
.
backgroundColor
=
.
clear
cell
.
contentView
.
backgroundColor
=
.
clear
return
cell
return
cell
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/C/YHWorkExperienceViewController.swift
View file @
eb5debea
...
@@ -36,9 +36,9 @@ class YHWorkExperienceViewController: YHBaseViewController {
...
@@ -36,9 +36,9 @@ class YHWorkExperienceViewController: YHBaseViewController {
}
}
viewModel
.
requestWorkDetail
(
workExperienceID
??
""
)
{[
weak
self
]
success
,
error
in
viewModel
.
requestWorkDetail
(
workExperienceID
??
""
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
self
.
stepView
.
currentIndex
=
self
.
viewModel
.
mainModel
.
step
??
0
self
.
stepView
.
currentIndex
=
self
.
viewModel
.
mainModel
.
step
self
.
updateDataSource
()
self
.
updateDataSource
()
self
.
viewModel
.
requestWorkInfoProject
(
"
\(
self
.
viewModel
.
mainModel
.
id
??
0
)
"
)
{[
weak
self
]
success
,
error
in
self
.
viewModel
.
requestWorkInfoProject
(
"
\(
self
.
viewModel
.
mainModel
.
id
)
"
)
{[
weak
self
]
success
,
error
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
self
.
introductionDataSource
=
success
self
.
introductionDataSource
=
success
self
.
updateDataSource
()
self
.
updateDataSource
()
...
@@ -111,7 +111,7 @@ class YHWorkExperienceViewController: YHBaseViewController {
...
@@ -111,7 +111,7 @@ class YHWorkExperienceViewController: YHBaseViewController {
bottom
.
saveBlock
=
{
[
weak
self
]
in
bottom
.
saveBlock
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
self
.
viewModel
.
saveWorkDetail
(
0
,
orderID
:
self
.
orderID
,
callBackBlock
:
{[
weak
self
]
flag
,
model
in
self
.
viewModel
.
saveWorkDetail
(
0
,
orderID
:
self
.
orderID
,
callBackBlock
:
{[
weak
self
]
flag
,
model
in
guard
let
self
=
self
else
{
return
}
guard
self
!=
nil
else
{
return
}
})
})
}
}
return
bottom
return
bottom
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkExperienceItemView.swift
View file @
eb5debea
...
@@ -85,6 +85,7 @@ class YHWorkExperienceItemView: UIView {
...
@@ -85,6 +85,7 @@ class YHWorkExperienceItemView: UIView {
button
.
setTitleColor
(
UIColor
.
brandMainColor
,
for
:
.
selected
)
button
.
setTitleColor
(
UIColor
.
brandMainColor
,
for
:
.
selected
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
layer
.
cornerRadius
=
16
button
.
layer
.
cornerRadius
=
16
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
13
)
button
.
layer
.
borderWidth
=
1
button
.
layer
.
borderWidth
=
1
button
.
layer
.
borderColor
=
UIColor
.
brandMainColor
.
cgColor
button
.
layer
.
borderColor
=
UIColor
.
brandMainColor
.
cgColor
button
.
isSelected
=
true
button
.
isSelected
=
true
...
@@ -105,6 +106,7 @@ class YHWorkExperienceItemView: UIView {
...
@@ -105,6 +106,7 @@ class YHWorkExperienceItemView: UIView {
button
.
setTitleColor
(
UIColor
.
brandMainColor
,
for
:
.
selected
)
button
.
setTitleColor
(
UIColor
.
brandMainColor
,
for
:
.
selected
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
setTitleColor
(
UIColor
.
mainTextColor
,
for
:
.
normal
)
button
.
layer
.
cornerRadius
=
16
button
.
layer
.
cornerRadius
=
16
button
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
13
)
button
.
addTarget
(
self
,
action
:
#selector(
leftClick
)
,
for
:
.
touchUpInside
)
button
.
addTarget
(
self
,
action
:
#selector(
leftClick
)
,
for
:
.
touchUpInside
)
return
button
return
button
}()
}()
...
@@ -128,7 +130,7 @@ class YHWorkExperienceItemView: UIView {
...
@@ -128,7 +130,7 @@ class YHWorkExperienceItemView: UIView {
]
]
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
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
(
hex
:
0xFF3A3A
)
,
range
:
starRange
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
.
failColor
,
range
:
starRange
)
titleLabel
.
attributedText
=
questionAttrStr
titleLabel
.
attributedText
=
questionAttrStr
}
else
{
}
else
{
let
str
=
dataSource
.
title
??
""
let
str
=
dataSource
.
title
??
""
...
@@ -237,6 +239,9 @@ class YHWorkExperienceItemView: UIView {
...
@@ -237,6 +239,9 @@ class YHWorkExperienceItemView: UIView {
leftButton
.
layer
.
borderWidth
=
0
leftButton
.
layer
.
borderWidth
=
0
dataSource
?
.
message
=
"0"
dataSource
?
.
message
=
"0"
dataSource
?
.
value
=
[
"0"
]
dataSource
?
.
value
=
[
"0"
]
rightButton
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
13
)
leftButton
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
if
let
block
=
block
{
if
let
block
=
block
{
block
(
dataSource
??
YHWorkExperienceModel
())
block
(
dataSource
??
YHWorkExperienceModel
())
}
}
...
@@ -252,6 +257,9 @@ class YHWorkExperienceItemView: UIView {
...
@@ -252,6 +257,9 @@ class YHWorkExperienceItemView: UIView {
rightButton
.
layer
.
borderWidth
=
0
rightButton
.
layer
.
borderWidth
=
0
dataSource
?
.
message
=
"1"
dataSource
?
.
message
=
"1"
dataSource
?
.
value
=
[
"1"
]
dataSource
?
.
value
=
[
"1"
]
leftButton
.
titleLabel
?
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
13
)
rightButton
.
titleLabel
?
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
13
)
if
let
block
=
block
{
if
let
block
=
block
{
block
(
dataSource
??
YHWorkExperienceModel
())
block
(
dataSource
??
YHWorkExperienceModel
())
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkExperienceListTableViewCell.swift
View file @
eb5debea
...
@@ -51,7 +51,7 @@ class YHWorkExperienceListTableViewCell: UITableViewCell {
...
@@ -51,7 +51,7 @@ class YHWorkExperienceListTableViewCell: UITableViewCell {
}
}
func
setupUI
()
{
func
setupUI
()
{
backgroundColor
=
UIColor
(
hex
:
0xe9e9e9
)
backgroundColor
=
.
clear
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkExperienceTableViewCell.swift
View file @
eb5debea
...
@@ -41,7 +41,7 @@ class YHWorkExperienceTableViewCell: UITableViewCell {
...
@@ -41,7 +41,7 @@ class YHWorkExperienceTableViewCell: UITableViewCell {
}
}
func
setupUI
()
{
func
setupUI
()
{
backgroundColor
=
UIColor
(
hex
:
0xe9e9e9
)
backgroundColor
=
.
clear
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkExperienceTextItemView.swift
View file @
eb5debea
...
@@ -50,6 +50,7 @@ class YHWorkExperienceTextItemView: UIView {
...
@@ -50,6 +50,7 @@ class YHWorkExperienceTextItemView: UIView {
textField
.
backgroundColor
=
UIColor
.
contentBkgColor
textField
.
backgroundColor
=
UIColor
.
contentBkgColor
textField
.
layer
.
cornerRadius
=
4
textField
.
layer
.
cornerRadius
=
4
textField
.
delegate
=
self
textField
.
delegate
=
self
textField
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
return
textField
return
textField
}()
}()
addSubview
(
messageTextField
)
addSubview
(
messageTextField
)
...
@@ -62,7 +63,7 @@ class YHWorkExperienceTextItemView: UIView {
...
@@ -62,7 +63,7 @@ class YHWorkExperienceTextItemView: UIView {
promptsLabel
=
{
promptsLabel
=
{
let
textField
=
UILabel
()
let
textField
=
UILabel
()
textField
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
textField
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
14
)
textField
.
textColor
=
UIColor
(
hex
:
0xc0c0c0
)
textField
.
textColor
=
UIColor
.
labelTextColor
return
textField
return
textField
}()
}()
addSubview
(
promptsLabel
)
addSubview
(
promptsLabel
)
...
@@ -95,7 +96,7 @@ class YHWorkExperienceTextItemView: UIView {
...
@@ -95,7 +96,7 @@ class YHWorkExperienceTextItemView: UIView {
]
]
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
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
(
hex
:
0xFF3A3A
)
,
range
:
starRange
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
.
failColor
,
range
:
starRange
)
titleLabel
.
attributedText
=
questionAttrStr
titleLabel
.
attributedText
=
questionAttrStr
}
else
{
}
else
{
let
str
=
dataSource
.
title
??
""
let
str
=
dataSource
.
title
??
""
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkFileSyncTableViewCell.swift
View file @
eb5debea
...
@@ -45,7 +45,7 @@ class YHWorkFileSyncTableViewCell: UITableViewCell {
...
@@ -45,7 +45,7 @@ class YHWorkFileSyncTableViewCell: UITableViewCell {
}
}
func
setupUI
()
{
func
setupUI
()
{
backgroundColor
=
UIColor
(
hex
:
0xe9e9e9
)
backgroundColor
=
.
clear
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
...
@@ -69,7 +69,7 @@ class YHWorkFileSyncTableViewCell: UITableViewCell {
...
@@ -69,7 +69,7 @@ class YHWorkFileSyncTableViewCell: UITableViewCell {
]
]
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
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
(
hex
:
0xFF3A3A
)
,
range
:
starRange
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
.
failColor
,
range
:
starRange
)
label
.
attributedText
=
questionAttrStr
label
.
attributedText
=
questionAttrStr
return
label
return
label
}()
}()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkHighlightsTableViewCell.swift
View file @
eb5debea
...
@@ -51,7 +51,7 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
...
@@ -51,7 +51,7 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
}
}
func
setupUI
()
{
func
setupUI
()
{
backgroundColor
=
UIColor
(
hex
:
0xe9e9e9
)
backgroundColor
=
.
clear
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
...
@@ -72,7 +72,7 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
...
@@ -72,7 +72,7 @@ class YHWorkHighlightsTableViewCell: UITableViewCell {
]
]
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
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
(
hex
:
0xFF3A3A
)
,
range
:
starRange
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
.
failColor
,
range
:
starRange
)
label
.
attributedText
=
questionAttrStr
label
.
attributedText
=
questionAttrStr
return
label
return
label
}()
}()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkIntroductionTableViewCell.swift
View file @
eb5debea
...
@@ -50,7 +50,7 @@ class YHWorkIntroductionTableViewCell: UITableViewCell {
...
@@ -50,7 +50,7 @@ class YHWorkIntroductionTableViewCell: UITableViewCell {
}
}
func
setupUI
()
{
func
setupUI
()
{
backgroundColor
=
UIColor
(
hex
:
0xe9e9e9
)
backgroundColor
=
.
clear
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkMessageSelectTableViewCell.swift
View file @
eb5debea
...
@@ -49,7 +49,7 @@ class YHWorkMessageSelectTableViewCell: UITableViewCell {
...
@@ -49,7 +49,7 @@ class YHWorkMessageSelectTableViewCell: UITableViewCell {
}
}
func
setupUI
()
{
func
setupUI
()
{
backgroundColor
=
UIColor
(
hex
:
0xe9e9e9
)
backgroundColor
=
.
clear
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
...
@@ -101,7 +101,7 @@ class YHWorkMessageSelectTableViewCell: UITableViewCell {
...
@@ -101,7 +101,7 @@ class YHWorkMessageSelectTableViewCell: UITableViewCell {
]
]
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
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
(
hex
:
0xFF3A3A
)
,
range
:
starRange
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
.
failColor
,
range
:
starRange
)
label
.
attributedText
=
questionAttrStr
label
.
attributedText
=
questionAttrStr
return
label
return
label
}()
}()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/WorkExperience/V/YHWorkResponsibilitiesTableViewCell.swift
View file @
eb5debea
...
@@ -47,7 +47,7 @@ class YHWorkResponsibilitiesTableViewCell: UITableViewCell {
...
@@ -47,7 +47,7 @@ class YHWorkResponsibilitiesTableViewCell: UITableViewCell {
}
}
func
setupUI
()
{
func
setupUI
()
{
backgroundColor
=
UIColor
(
hex
:
0xe9e9e9
)
backgroundColor
=
.
clear
centerView
=
{
centerView
=
{
let
view
=
UIView
()
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
backgroundColor
=
.
white
...
@@ -68,7 +68,7 @@ class YHWorkResponsibilitiesTableViewCell: UITableViewCell {
...
@@ -68,7 +68,7 @@ class YHWorkResponsibilitiesTableViewCell: UITableViewCell {
]
]
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
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
(
hex
:
0xFF3A3A
)
,
range
:
starRange
)
questionAttrStr
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
.
failColor
,
range
:
starRange
)
label
.
attributedText
=
questionAttrStr
label
.
attributedText
=
questionAttrStr
return
label
return
label
}()
}()
...
...
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