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
078f98f7
Commit
078f98f7
authored
Jan 31, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
平方字体修改
parent
72cc9786
Changes
37
Hide whitespace changes
Inline
Side-by-side
Showing
37 changed files
with
119 additions
and
122 deletions
+119
-122
AppDelegate.swift
galaxy/galaxy/AppDelegate.swift
+1
-1
YHBasicContentView.swift
galaxy/galaxy/Classes/Base/V/YHBasicContentView.swift
+1
-1
YHNoDataTipView.swift
galaxy/galaxy/Classes/Base/V/YHNoDataTipView.swift
+3
-3
YHHomeViewController.swift
...axy/Classes/Modules/Home(首页)/C/YHHomeViewController.swift
+2
-2
YHMainContentBaseViewController.swift
.../Modules/Home(首页)/C/YHMainContentBaseViewController.swift
+2
-2
YHInformationPerfectListVC.swift
...telligentService(服务中心)/C/YHInformationPerfectListVC.swift
+2
-2
YHChildInitialInfoVC.swift
...viceProcess(流程)/FamilyMember/C/YHChildInitialInfoVC.swift
+2
-2
YHFamilyMemberFormVC.swift
...viceProcess(流程)/FamilyMember/C/YHFamilyMemberFormVC.swift
+1
-1
YHFormPickerView.swift
...s(流程)/FamilyMember/View/PickerView/YHFormPickerView.swift
+4
-4
YHFormItemAddCell.swift
...viceProcess(流程)/FamilyMember/View/YHFormItemAddCell.swift
+1
-1
YHFormItemDegreeInfoCell.swift
...cess(流程)/FamilyMember/View/YHFormItemDegreeInfoCell.swift
+6
-6
YHFormItemDoubleChoiceCell.swift
...ss(流程)/FamilyMember/View/YHFormItemDoubleChoiceCell.swift
+3
-3
YHFormItemEnterDetailCell.swift
...ess(流程)/FamilyMember/View/YHFormItemEnterDetailCell.swift
+4
-4
YHFormItemExpireDateCell.swift
...cess(流程)/FamilyMember/View/YHFormItemExpireDateCell.swift
+5
-5
YHFormItemInputTextCell.swift
...ocess(流程)/FamilyMember/View/YHFormItemInputTextCell.swift
+3
-3
YHFormItemOnlyDoubleChoiceCell.swift
...程)/FamilyMember/View/YHFormItemOnlyDoubleChoiceCell.swift
+2
-2
YHFormItemQuestionCell.swift
...rocess(流程)/FamilyMember/View/YHFormItemQuestionCell.swift
+4
-4
YHFormItemSelectSheetCell.swift
...ess(流程)/FamilyMember/View/YHFormItemSelectSheetCell.swift
+4
-4
YHFormItemTitleCell.swift
...ceProcess(流程)/FamilyMember/View/YHFormItemTitleCell.swift
+3
-3
YHSaveAndSubmitView.swift
...ceProcess(流程)/FamilyMember/View/YHSaveAndSubmitView.swift
+2
-2
YHScoreOptionsView.swift
...中心)/ServiceProcess(流程)/MyScore/V/YHScoreOptionsView.swift
+4
-4
YHScorePersonInfoCell.swift
.../ServiceProcess(流程)/MyScore/V/YHScorePersonInfoCell.swift
+8
-8
YHScoreResultView.swift
...务中心)/ServiceProcess(流程)/MyScore/V/YHScoreResultView.swift
+2
-2
YHScoreTitleView.swift
...服务中心)/ServiceProcess(流程)/MyScore/V/YHScoreTitleView.swift
+2
-2
YHPersonInfoControllerHoldViewController.swift
...t(个人信息表)/C/YHPersonInfoControllerHoldViewController.swift
+2
-2
YHPersonInformMainViewController.swift
...nInfoList(个人信息表)/C/YHPersonInformMainViewController.swift
+2
-2
YHPersonInfoCellView.swift
...ss(流程)/PersonInfoList(个人信息表)/V/YHPersonInfoCellView.swift
+2
-2
YHPersonInfoCommonCell.swift
...(流程)/PersonInfoList(个人信息表)/V/YHPersonInfoCommonCell.swift
+1
-1
YHPersonInfoIdentificationCardView.swift
...nfoList(个人信息表)/V/YHPersonInfoIdentificationCardView.swift
+3
-3
YHPersonInfoSessionView.swift
...流程)/PersonInfoList(个人信息表)/V/YHPersonInfoSessionView.swift
+1
-1
YHInformationFillTipsAlertView.swift
...igentService(服务中心)/V/YHInformationFillTipsAlertView.swift
+1
-1
YHInformationFillTipsCell.swift
...ntelligentService(服务中心)/V/YHInformationFillTipsCell.swift
+16
-16
YHSubmintAllInfoSuccessTipView.swift
...igentService(服务中心)/V/YHSubmintAllInfoSuccessTipView.swift
+2
-2
AppDelegate+Extension.swift
...alaxy/Classes/Tools/Extention/AppDelegate+Extension.swift
+1
-1
UIFont+Extension.swift
galaxy/galaxy/Classes/Tools/Extention/UIFont+Extension.swift
+12
-15
UILable+Extension.swift
...xy/galaxy/Classes/Tools/Extention/UILable+Extension.swift
+1
-1
UIViewController+Extension.swift
.../Classes/Tools/Extention/UIViewController+Extension.swift
+4
-4
No files found.
galaxy/galaxy/AppDelegate.swift
View file @
078f98f7
...
@@ -109,7 +109,7 @@ extension AppDelegate {
...
@@ -109,7 +109,7 @@ extension AppDelegate {
UITextView
.
appearance
()
.
tintColor
=
.
mainColor
UITextView
.
appearance
()
.
tintColor
=
.
mainColor
//1.2设置UINavigationBar title的字体和颜色
//1.2设置UINavigationBar title的字体和颜色
let
titleTextAttributes
=
[
NSAttributedString
.
Key
.
font
:
UIFont
.
P
ingFangSc
M
(
ofSize
:
16
)
,
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
commonColor100
]
let
titleTextAttributes
=
[
NSAttributedString
.
Key
.
font
:
UIFont
.
P
FSC_
M
(
ofSize
:
16
)
,
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
commonColor100
]
UINavigationBar
.
appearance
()
.
titleTextAttributes
=
titleTextAttributes
UINavigationBar
.
appearance
()
.
titleTextAttributes
=
titleTextAttributes
UINavigationBar
.
appearance
()
.
tintColor
=
.
white
UINavigationBar
.
appearance
()
.
tintColor
=
.
white
...
...
galaxy/galaxy/Classes/Base/V/YHBasicContentView.swift
View file @
078f98f7
...
@@ -18,7 +18,7 @@ class YHBasicContentView: ESTabBarItemContentView {
...
@@ -18,7 +18,7 @@ class YHBasicContentView: ESTabBarItemContentView {
iconColor
=
UIColor
.
init
(
white
:
175.0
/
255.0
,
alpha
:
1.0
)
iconColor
=
UIColor
.
init
(
white
:
175.0
/
255.0
,
alpha
:
1.0
)
highlightIconColor
=
.
commonColor100
highlightIconColor
=
.
commonColor100
titleLabel
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
10
)
titleLabel
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
10
)
}
}
public
required
init
?(
coder
aDecoder
:
NSCoder
)
{
public
required
init
?(
coder
aDecoder
:
NSCoder
)
{
...
...
galaxy/galaxy/Classes/Base/V/YHNoDataTipView.swift
View file @
078f98f7
...
@@ -20,17 +20,17 @@ class YHNoDataTipView: UIView {
...
@@ -20,17 +20,17 @@ class YHNoDataTipView: UIView {
}()
}()
private
lazy
var
titleLabel
:
UILabel
=
{
private
lazy
var
titleLabel
:
UILabel
=
{
let
label
=
UILabel
(
text
:
"暂无数据"
,
font
:
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
),
color
:
UIColor
.
commonColor45
)
let
label
=
UILabel
(
text
:
"暂无数据"
,
font
:
UIFont
.
P
FSC_
R
(
ofSize
:
14
),
color
:
UIColor
.
commonColor45
)
return
label
return
label
}()
}()
private
lazy
var
descLabel
:
UILabel
=
{
private
lazy
var
descLabel
:
UILabel
=
{
let
label
=
UILabel
(
text
:
""
,
font
:
UIFont
.
P
ingFangSc
R
(
ofSize
:
12
),
color
:
UIColor
.
commonColor45
)
let
label
=
UILabel
(
text
:
""
,
font
:
UIFont
.
P
FSC_
R
(
ofSize
:
12
),
color
:
UIColor
.
commonColor45
)
return
label
return
label
}()
}()
private
lazy
var
reloadBtn
:
UIButton
=
{
private
lazy
var
reloadBtn
:
UIButton
=
{
let
btn
=
UIButton
.
bs_button
(
title
:
"重新加载"
,
font
:
UIFont
.
P
ingFangSc
M
(
ofSize
:
12
),
normalColor
:
UIColor
.
commonColor100
)
let
btn
=
UIButton
.
bs_button
(
title
:
"重新加载"
,
font
:
UIFont
.
P
FSC_
M
(
ofSize
:
12
),
normalColor
:
UIColor
.
commonColor100
)
btn
.
layer
.
cornerRadius
=
6
btn
.
layer
.
cornerRadius
=
6
btn
.
layer
.
masksToBounds
=
true
btn
.
layer
.
masksToBounds
=
true
btn
.
layer
.
borderWidth
=
1
btn
.
layer
.
borderWidth
=
1
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeViewController.swift
View file @
078f98f7
...
@@ -108,10 +108,10 @@ class YHHomeViewController: YHBaseViewController {
...
@@ -108,10 +108,10 @@ class YHHomeViewController: YHBaseViewController {
dataSource
.
isTitleColorGradientEnabled
=
true
dataSource
.
isTitleColorGradientEnabled
=
true
dataSource
.
titles
=
arrItemTitles
dataSource
.
titles
=
arrItemTitles
dataSource
.
titleNormalFont
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
16
)
dataSource
.
titleNormalFont
=
UIFont
.
P
FSC_
M
(
ofSize
:
16
)
dataSource
.
titleNormalColor
=
.
commonColor25
dataSource
.
titleNormalColor
=
.
commonColor25
dataSource
.
titleSelectedFont
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
18
)
dataSource
.
titleSelectedFont
=
UIFont
.
P
FSC_
M
(
ofSize
:
18
)
dataSource
.
titleSelectedColor
=
.
commonColor100
dataSource
.
titleSelectedColor
=
.
commonColor100
dataSource
.
isItemSpacingAverageEnabled
=
false
dataSource
.
isItemSpacingAverageEnabled
=
false
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHMainContentBaseViewController.swift
View file @
078f98f7
...
@@ -29,10 +29,10 @@ class YHMainContentBaseViewController: UIViewController {
...
@@ -29,10 +29,10 @@ class YHMainContentBaseViewController: UIViewController {
dataSource
.
isTitleColorGradientEnabled
=
true
dataSource
.
isTitleColorGradientEnabled
=
true
dataSource
.
titles
=
arrItemTitles
dataSource
.
titles
=
arrItemTitles
dataSource
.
titleNormalFont
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
16
)
dataSource
.
titleNormalFont
=
UIFont
.
P
FSC_
M
(
ofSize
:
16
)
dataSource
.
titleNormalColor
=
.
commonColor25
dataSource
.
titleNormalColor
=
.
commonColor25
dataSource
.
titleSelectedFont
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
18
)
dataSource
.
titleSelectedFont
=
UIFont
.
P
FSC_
M
(
ofSize
:
18
)
dataSource
.
titleSelectedColor
=
.
commonColor100
dataSource
.
titleSelectedColor
=
.
commonColor100
dataSource
.
isItemSpacingAverageEnabled
=
false
dataSource
.
isItemSpacingAverageEnabled
=
false
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHInformationPerfectListVC.swift
View file @
078f98f7
...
@@ -32,7 +32,7 @@ class YHInformationPerfectListVC: YHBaseViewController {
...
@@ -32,7 +32,7 @@ class YHInformationPerfectListVC: YHBaseViewController {
private
lazy
var
headerTitleDesLable
:
UILabel
=
{
private
lazy
var
headerTitleDesLable
:
UILabel
=
{
let
titleLable
=
UILabel
(
text
:
"您好,黄先生"
)
let
titleLable
=
UILabel
(
text
:
"您好,黄先生"
)
titleLable
.
font
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
21
)
titleLable
.
font
=
UIFont
.
P
FSC_
M
(
ofSize
:
21
)
return
titleLable
return
titleLable
}()
}()
...
@@ -270,7 +270,7 @@ extension YHInformationPerfectListVC {
...
@@ -270,7 +270,7 @@ extension YHInformationPerfectListVC {
}
}
let
desLable
=
UILabel
(
text
:
"此表由主申请人填写,我们将会根据您的个人信息制作资料清单,请按顺序填写,提交后1-2个工作日内联系您哦~"
)
let
desLable
=
UILabel
(
text
:
"此表由主申请人填写,我们将会根据您的个人信息制作资料清单,请按顺序填写,提交后1-2个工作日内联系您哦~"
)
desLable
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
12
)
desLable
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
12
)
desLable
.
numberOfLines
=
0
desLable
.
numberOfLines
=
0
desLable
.
lineBreakMode
=
.
byWordWrapping
desLable
.
lineBreakMode
=
.
byWordWrapping
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/C/YHChildInitialInfoVC.swift
View file @
078f98f7
...
@@ -41,7 +41,7 @@ class YHChildInitialInfoVC: YHBaseViewController {
...
@@ -41,7 +41,7 @@ class YHChildInitialInfoVC: YHBaseViewController {
lazy
var
submitBtn
:
UIButton
=
{
lazy
var
submitBtn
:
UIButton
=
{
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
"提交"
.
local
,
for
:
.
normal
)
btn
.
setTitle
(
"提交"
.
local
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
.
white
,
for
:
.
normal
)
btn
.
setTitleColor
(
.
white
,
for
:
.
normal
)
btn
.
backgroundColor
=
UIColor
(
hexString
:
"#4388FF"
)
btn
.
backgroundColor
=
UIColor
(
hexString
:
"#4388FF"
)
btn
.
layer
.
cornerRadius
=
8.0
btn
.
layer
.
cornerRadius
=
8.0
...
@@ -52,7 +52,7 @@ class YHChildInitialInfoVC: YHBaseViewController {
...
@@ -52,7 +52,7 @@ class YHChildInitialInfoVC: YHBaseViewController {
lazy
var
saveBtn
:
UIButton
=
{
lazy
var
saveBtn
:
UIButton
=
{
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
"保存"
,
for
:
.
normal
)
btn
.
setTitle
(
"保存"
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
UIColor
(
hexString
:
"#222222"
),
for
:
.
normal
)
btn
.
setTitleColor
(
UIColor
(
hexString
:
"#222222"
),
for
:
.
normal
)
btn
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F9FB"
)
btn
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F9FB"
)
btn
.
layer
.
cornerRadius
=
8.0
btn
.
layer
.
cornerRadius
=
8.0
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/C/YHFamilyMemberFormVC.swift
View file @
078f98f7
...
@@ -47,7 +47,7 @@ class YHFamilyMemberFormVC: YHBaseViewController {
...
@@ -47,7 +47,7 @@ class YHFamilyMemberFormVC: YHBaseViewController {
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
"提交"
.
local
,
for
:
.
normal
)
btn
.
setTitle
(
"提交"
.
local
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
.
white
,
for
:
.
normal
)
btn
.
setTitleColor
(
.
white
,
for
:
.
normal
)
btn
.
backgroundColor
=
UIColor
(
hexString
:
"#4388FF"
)
btn
.
backgroundColor
=
UIColor
(
hexString
:
"#4388FF"
)
btn
.
layer
.
cornerRadius
=
8.0
btn
.
layer
.
cornerRadius
=
8.0
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/View/PickerView/YHFormPickerView.swift
View file @
078f98f7
...
@@ -325,7 +325,7 @@ class YHFormPickerView: UIView {
...
@@ -325,7 +325,7 @@ class YHFormPickerView: UIView {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
textColor
=
UIColor
(
hexString
:
"#222222"
)
label
.
textColor
=
UIColor
(
hexString
:
"#222222"
)
label
.
textAlignment
=
.
center
label
.
textAlignment
=
.
center
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
16
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
16
)
label
.
text
=
"请选择"
label
.
text
=
"请选择"
return
label
return
label
}()
}()
...
@@ -333,7 +333,7 @@ class YHFormPickerView: UIView {
...
@@ -333,7 +333,7 @@ class YHFormPickerView: UIView {
lazy
var
cancelBtn
:
UIButton
=
{
lazy
var
cancelBtn
:
UIButton
=
{
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
"取消"
.
local
,
for
:
.
normal
)
btn
.
setTitle
(
"取消"
.
local
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
UIColor
(
hex
:
0x222222
),
for
:
.
normal
)
btn
.
setTitleColor
(
UIColor
(
hex
:
0x222222
),
for
:
.
normal
)
btn
.
addTarget
(
self
,
action
:
#selector(
didClickCancelButton
)
,
for
:
.
touchUpInside
)
btn
.
addTarget
(
self
,
action
:
#selector(
didClickCancelButton
)
,
for
:
.
touchUpInside
)
return
btn
return
btn
...
@@ -342,7 +342,7 @@ class YHFormPickerView: UIView {
...
@@ -342,7 +342,7 @@ class YHFormPickerView: UIView {
lazy
var
confirmBtn
:
UIButton
=
{
lazy
var
confirmBtn
:
UIButton
=
{
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
"确定"
.
local
,
for
:
.
normal
)
btn
.
setTitle
(
"确定"
.
local
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
UIColor
(
hex
:
0x4487F9
),
for
:
.
normal
)
btn
.
setTitleColor
(
UIColor
(
hex
:
0x4487F9
),
for
:
.
normal
)
btn
.
addTarget
(
self
,
action
:
#selector(
didClickConfirmButton
)
,
for
:
.
touchUpInside
)
btn
.
addTarget
(
self
,
action
:
#selector(
didClickConfirmButton
)
,
for
:
.
touchUpInside
)
return
btn
return
btn
...
@@ -582,7 +582,7 @@ extension YHFormPickerView: UIPickerViewDelegate, UIPickerViewDataSource {
...
@@ -582,7 +582,7 @@ extension YHFormPickerView: UIPickerViewDelegate, UIPickerViewDataSource {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
textColor
=
UIColor
(
hexString
:
"#222222"
)
label
.
textColor
=
UIColor
(
hexString
:
"#222222"
)
label
.
textAlignment
=
.
center
label
.
textAlignment
=
.
center
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
label
.
text
=
""
label
.
text
=
""
if
let
arr
=
dataDict
[
type
]
{
if
let
arr
=
dataDict
[
type
]
{
if
0
<=
row
&&
row
<
arr
.
count
{
if
0
<=
row
&&
row
<
arr
.
count
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/View/YHFormItemAddCell.swift
View file @
078f98f7
...
@@ -27,7 +27,7 @@ class YHFormItemAddCell: UITableViewCell {
...
@@ -27,7 +27,7 @@ class YHFormItemAddCell: UITableViewCell {
lazy
var
addBtn
:
UIButton
=
{
lazy
var
addBtn
:
UIButton
=
{
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
"新增信息"
.
local
,
for
:
.
normal
)
btn
.
setTitle
(
"新增信息"
.
local
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
btnTitleColor
,
for
:
.
normal
)
btn
.
setTitleColor
(
btnTitleColor
,
for
:
.
normal
)
btn
.
iconInLeft
(
spacing
:
6
)
btn
.
iconInLeft
(
spacing
:
6
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/View/YHFormItemDegreeInfoCell.swift
View file @
078f98f7
...
@@ -19,7 +19,7 @@ class YHFormItemDegreeInfoCell: UITableViewCell {
...
@@ -19,7 +19,7 @@ class YHFormItemDegreeInfoCell: UITableViewCell {
if
let
title
=
title
{
if
let
title
=
title
{
let
str
=
"*"
+
title
let
str
=
"*"
+
title
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
),
.
font
:
UIFont
.
P
FSC_
R
(
ofSize
:
14
),
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
]
]
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
...
@@ -36,7 +36,7 @@ class YHFormItemDegreeInfoCell: UITableViewCell {
...
@@ -36,7 +36,7 @@ class YHFormItemDegreeInfoCell: UITableViewCell {
label
.
textColor
=
UIColor
(
hexString
:
"#333333"
)
label
.
textColor
=
UIColor
(
hexString
:
"#333333"
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
16
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
16
)
return
label
return
label
}()
}()
...
@@ -44,7 +44,7 @@ class YHFormItemDegreeInfoCell: UITableViewCell {
...
@@ -44,7 +44,7 @@ class YHFormItemDegreeInfoCell: UITableViewCell {
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
"删除"
,
for
:
.
normal
)
btn
.
setTitle
(
"删除"
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
UIColor
(
hex
:
0xF81D22
),
for
:
.
normal
)
btn
.
setTitleColor
(
UIColor
(
hex
:
0xF81D22
),
for
:
.
normal
)
btn
.
addTarget
(
self
,
action
:
#selector(
didClickDeleteBtn(btn:)
)
,
for
:
.
touchUpInside
)
btn
.
addTarget
(
self
,
action
:
#selector(
didClickDeleteBtn(btn:)
)
,
for
:
.
touchUpInside
)
// btn.isHidden = true
// btn.isHidden = true
...
@@ -123,7 +123,7 @@ class HKDegreeInfoItemView: UIView {
...
@@ -123,7 +123,7 @@ class HKDegreeInfoItemView: UIView {
label
.
textColor
=
UIColor
(
hexString
:
"#333333"
)
label
.
textColor
=
UIColor
(
hexString
:
"#333333"
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
return
label
return
label
}()
}()
...
@@ -131,7 +131,7 @@ class HKDegreeInfoItemView: UIView {
...
@@ -131,7 +131,7 @@ class HKDegreeInfoItemView: UIView {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
textColor
=
UIColor
(
hexString
:
"#222222"
)
label
.
textColor
=
UIColor
(
hexString
:
"#222222"
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
label
.
isHidden
=
true
label
.
isHidden
=
true
return
label
return
label
}()
}()
...
@@ -141,7 +141,7 @@ class HKDegreeInfoItemView: UIView {
...
@@ -141,7 +141,7 @@ class HKDegreeInfoItemView: UIView {
label
.
textColor
=
UIColor
(
hexString
:
"#C0C0C0"
)
label
.
textColor
=
UIColor
(
hexString
:
"#C0C0C0"
)
label
.
text
=
"请选择"
.
local
label
.
text
=
"请选择"
.
local
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
label
.
isHidden
=
false
label
.
isHidden
=
false
return
label
return
label
}()
}()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/View/YHFormItemDoubleChoiceCell.swift
View file @
078f98f7
...
@@ -40,7 +40,7 @@ class YHFormItemDoubleChoiceCell: UITableViewCell {
...
@@ -40,7 +40,7 @@ class YHFormItemDoubleChoiceCell: UITableViewCell {
if
let
question
=
title
{
if
let
question
=
title
{
let
str
=
"*"
+
question
let
str
=
"*"
+
question
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
),
.
font
:
UIFont
.
P
FSC_
R
(
ofSize
:
14
),
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
]
]
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
...
@@ -93,7 +93,7 @@ class YHFormItemDoubleChoiceCell: UITableViewCell {
...
@@ -93,7 +93,7 @@ class YHFormItemDoubleChoiceCell: UITableViewCell {
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
""
,
for
:
.
normal
)
btn
.
setTitle
(
""
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
btnTitleDefaultColor
,
for
:
.
normal
)
btn
.
setTitleColor
(
btnTitleDefaultColor
,
for
:
.
normal
)
btn
.
backgroundColor
=
btnBgDefaultColor
btn
.
backgroundColor
=
btnBgDefaultColor
btn
.
layer
.
cornerRadius
=
btnHeight
/
2.0
btn
.
layer
.
cornerRadius
=
btnHeight
/
2.0
...
@@ -108,7 +108,7 @@ class YHFormItemDoubleChoiceCell: UITableViewCell {
...
@@ -108,7 +108,7 @@ class YHFormItemDoubleChoiceCell: UITableViewCell {
lazy
var
answer2Btn
:
UIButton
=
{
lazy
var
answer2Btn
:
UIButton
=
{
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
""
,
for
:
.
normal
)
btn
.
setTitle
(
""
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
btnTitleDefaultColor
,
for
:
.
normal
)
btn
.
setTitleColor
(
btnTitleDefaultColor
,
for
:
.
normal
)
btn
.
backgroundColor
=
btnBgDefaultColor
btn
.
backgroundColor
=
btnBgDefaultColor
btn
.
layer
.
cornerRadius
=
btnHeight
/
2.0
btn
.
layer
.
cornerRadius
=
btnHeight
/
2.0
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/View/YHFormItemEnterDetailCell.swift
View file @
078f98f7
...
@@ -29,7 +29,7 @@ class YHFormItemEnterDetailCell: UITableViewCell {
...
@@ -29,7 +29,7 @@ class YHFormItemEnterDetailCell: UITableViewCell {
if
let
title
=
title
{
if
let
title
=
title
{
let
str
=
(
isMust
?
(
"*"
+
title
)
:
title
)
let
str
=
(
isMust
?
(
"*"
+
title
)
:
title
)
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
),
.
font
:
UIFont
.
P
FSC_
R
(
ofSize
:
14
),
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
]
]
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
...
@@ -48,7 +48,7 @@ class YHFormItemEnterDetailCell: UITableViewCell {
...
@@ -48,7 +48,7 @@ class YHFormItemEnterDetailCell: UITableViewCell {
label
.
textColor
=
UIColor
(
hexString
:
"#333333"
)
label
.
textColor
=
UIColor
(
hexString
:
"#333333"
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
return
label
return
label
}()
}()
...
@@ -58,7 +58,7 @@ class YHFormItemEnterDetailCell: UITableViewCell {
...
@@ -58,7 +58,7 @@ class YHFormItemEnterDetailCell: UITableViewCell {
label
.
textColor
=
UIColor
(
hexString
:
"#888F98"
)
label
.
textColor
=
UIColor
(
hexString
:
"#888F98"
)
label
.
textAlignment
=
.
right
label
.
textAlignment
=
.
right
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
return
label
return
label
}()
}()
...
@@ -71,7 +71,7 @@ class YHFormItemEnterDetailCell: UITableViewCell {
...
@@ -71,7 +71,7 @@ class YHFormItemEnterDetailCell: UITableViewCell {
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
"删除"
.
local
,
for
:
.
normal
)
btn
.
setTitle
(
"删除"
.
local
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
UIColor
(
hex
:
0xF81D22
),
for
:
.
normal
)
btn
.
setTitleColor
(
UIColor
(
hex
:
0xF81D22
),
for
:
.
normal
)
btn
.
addTarget
(
self
,
action
:
#selector(
didClickDeleteBtn(btn:)
)
,
for
:
.
touchUpInside
)
btn
.
addTarget
(
self
,
action
:
#selector(
didClickDeleteBtn(btn:)
)
,
for
:
.
touchUpInside
)
btn
.
isHidden
=
true
btn
.
isHidden
=
true
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/View/YHFormItemExpireDateCell.swift
View file @
078f98f7
...
@@ -23,7 +23,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
...
@@ -23,7 +23,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
if
let
title
=
title
{
if
let
title
=
title
{
let
str
=
(
isMust
?
(
"*"
+
title
)
:
title
)
let
str
=
(
isMust
?
(
"*"
+
title
)
:
title
)
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
),
.
font
:
UIFont
.
P
FSC_
R
(
ofSize
:
14
),
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)]
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)]
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
if
isMust
{
if
isMust
{
...
@@ -67,7 +67,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
...
@@ -67,7 +67,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
label
.
textColor
=
UIColor
(
hexString
:
"#333333"
)
label
.
textColor
=
UIColor
(
hexString
:
"#333333"
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
return
label
return
label
}()
}()
...
@@ -75,7 +75,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
...
@@ -75,7 +75,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
textColor
=
UIColor
(
hexString
:
"#222222"
)
label
.
textColor
=
UIColor
(
hexString
:
"#222222"
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
label
.
isHidden
=
true
label
.
isHidden
=
true
return
label
return
label
}()
}()
...
@@ -85,7 +85,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
...
@@ -85,7 +85,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
label
.
textColor
=
UIColor
(
hexString
:
"#C0C0C0"
)
label
.
textColor
=
UIColor
(
hexString
:
"#C0C0C0"
)
label
.
text
=
"请选择"
.
local
label
.
text
=
"请选择"
.
local
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
label
.
isHidden
=
false
label
.
isHidden
=
false
return
label
return
label
}()
}()
...
@@ -93,7 +93,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
...
@@ -93,7 +93,7 @@ class YHFormItemExpireDateCell: UITableViewCell {
lazy
var
longTimeBtn
:
UIButton
=
{
lazy
var
longTimeBtn
:
UIButton
=
{
let
btn
=
UIButton
(
type
:
.
custom
)
let
btn
=
UIButton
(
type
:
.
custom
)
btn
.
setTitle
(
"长期"
.
local
,
for
:
.
normal
)
btn
.
setTitle
(
"长期"
.
local
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
UIColor
(
hex
:
0x222222
),
for
:
.
normal
)
btn
.
setTitleColor
(
UIColor
(
hex
:
0x222222
),
for
:
.
normal
)
btn
.
iconInLeft
(
spacing
:
6
)
btn
.
iconInLeft
(
spacing
:
6
)
btn
.
setImage
(
UIImage
(
named
:
"form_square_unselect"
),
for
:
.
normal
)
btn
.
setImage
(
UIImage
(
named
:
"form_square_unselect"
),
for
:
.
normal
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/View/YHFormItemInputTextCell.swift
View file @
078f98f7
...
@@ -21,7 +21,7 @@ class YHFormItemInputTextCell: UITableViewCell {
...
@@ -21,7 +21,7 @@ class YHFormItemInputTextCell: UITableViewCell {
if
let
title
=
title
{
if
let
title
=
title
{
let
str
=
(
isMust
?
(
"*"
+
title
)
:
title
)
let
str
=
(
isMust
?
(
"*"
+
title
)
:
title
)
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
),
.
font
:
UIFont
.
P
FSC_
R
(
ofSize
:
14
),
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
]
]
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
...
@@ -40,7 +40,7 @@ class YHFormItemInputTextCell: UITableViewCell {
...
@@ -40,7 +40,7 @@ class YHFormItemInputTextCell: UITableViewCell {
label
.
textColor
=
UIColor
(
hexString
:
"#333333"
)
label
.
textColor
=
UIColor
(
hexString
:
"#333333"
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
return
label
return
label
}()
}()
...
@@ -48,7 +48,7 @@ class YHFormItemInputTextCell: UITableViewCell {
...
@@ -48,7 +48,7 @@ class YHFormItemInputTextCell: UITableViewCell {
let
textField
=
UITextField
()
let
textField
=
UITextField
()
textField
.
backgroundColor
=
.
clear
textField
.
backgroundColor
=
.
clear
textField
.
placeholder
=
"请如实填写"
textField
.
placeholder
=
"请如实填写"
textField
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
textField
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
textField
.
tintColor
=
UIColor
(
hex
:
0xC0C0C0
)
textField
.
tintColor
=
UIColor
(
hex
:
0xC0C0C0
)
textField
.
textColor
=
UIColor
(
hex
:
0x222222
)
textField
.
textColor
=
UIColor
(
hex
:
0x222222
)
// textField.delegate = self
// textField.delegate = self
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/View/YHFormItemOnlyDoubleChoiceCell.swift
View file @
078f98f7
...
@@ -54,7 +54,7 @@ class YHFormItemOnlyDoubleChoiceCell: UITableViewCell {
...
@@ -54,7 +54,7 @@ class YHFormItemOnlyDoubleChoiceCell: UITableViewCell {
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
""
,
for
:
.
normal
)
btn
.
setTitle
(
""
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
btnTitleDefaultColor
,
for
:
.
normal
)
btn
.
setTitleColor
(
btnTitleDefaultColor
,
for
:
.
normal
)
btn
.
backgroundColor
=
btnBgDefaultColor
btn
.
backgroundColor
=
btnBgDefaultColor
btn
.
layer
.
cornerRadius
=
btnHeight
/
2.0
btn
.
layer
.
cornerRadius
=
btnHeight
/
2.0
...
@@ -69,7 +69,7 @@ class YHFormItemOnlyDoubleChoiceCell: UITableViewCell {
...
@@ -69,7 +69,7 @@ class YHFormItemOnlyDoubleChoiceCell: UITableViewCell {
lazy
var
answer2Btn
:
UIButton
=
{
lazy
var
answer2Btn
:
UIButton
=
{
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
""
,
for
:
.
normal
)
btn
.
setTitle
(
""
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
btnTitleDefaultColor
,
for
:
.
normal
)
btn
.
setTitleColor
(
btnTitleDefaultColor
,
for
:
.
normal
)
btn
.
backgroundColor
=
btnBgDefaultColor
btn
.
backgroundColor
=
btnBgDefaultColor
btn
.
layer
.
cornerRadius
=
btnHeight
/
2.0
btn
.
layer
.
cornerRadius
=
btnHeight
/
2.0
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/View/YHFormItemQuestionCell.swift
View file @
078f98f7
...
@@ -30,7 +30,7 @@ class YHFormItemQuestionCell: UITableViewCell {
...
@@ -30,7 +30,7 @@ class YHFormItemQuestionCell: UITableViewCell {
if
let
question
=
title
{
if
let
question
=
title
{
let
str
=
"*"
+
question
let
str
=
"*"
+
question
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
),
.
font
:
UIFont
.
P
FSC_
R
(
ofSize
:
14
),
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
]
]
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
...
@@ -52,7 +52,7 @@ class YHFormItemQuestionCell: UITableViewCell {
...
@@ -52,7 +52,7 @@ class YHFormItemQuestionCell: UITableViewCell {
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
label
.
textColor
=
UIColor
(
hexString
:
"#333333"
)
label
.
textColor
=
UIColor
(
hexString
:
"#333333"
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
return
label
return
label
}()
}()
...
@@ -60,7 +60,7 @@ class YHFormItemQuestionCell: UITableViewCell {
...
@@ -60,7 +60,7 @@ class YHFormItemQuestionCell: UITableViewCell {
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
"是"
.
local
,
for
:
.
normal
)
btn
.
setTitle
(
"是"
.
local
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
btnTitleDefaultColor
,
for
:
.
normal
)
btn
.
setTitleColor
(
btnTitleDefaultColor
,
for
:
.
normal
)
btn
.
backgroundColor
=
btnBgColor
btn
.
backgroundColor
=
btnBgColor
btn
.
layer
.
cornerRadius
=
btnHeight
/
2.0
btn
.
layer
.
cornerRadius
=
btnHeight
/
2.0
...
@@ -74,7 +74,7 @@ class YHFormItemQuestionCell: UITableViewCell {
...
@@ -74,7 +74,7 @@ class YHFormItemQuestionCell: UITableViewCell {
lazy
var
negativeBtn
:
UIButton
=
{
lazy
var
negativeBtn
:
UIButton
=
{
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
"否"
.
local
,
for
:
.
normal
)
btn
.
setTitle
(
"否"
.
local
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
btnTitleDefaultColor
,
for
:
.
normal
)
btn
.
setTitleColor
(
btnTitleDefaultColor
,
for
:
.
normal
)
btn
.
backgroundColor
=
btnBgColor
btn
.
backgroundColor
=
btnBgColor
btn
.
layer
.
cornerRadius
=
btnHeight
/
2.0
btn
.
layer
.
cornerRadius
=
btnHeight
/
2.0
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/View/YHFormItemSelectSheetCell.swift
View file @
078f98f7
...
@@ -21,7 +21,7 @@ class YHFormItemSelectSheetCell: UITableViewCell {
...
@@ -21,7 +21,7 @@ class YHFormItemSelectSheetCell: UITableViewCell {
if
let
title
=
title
{
if
let
title
=
title
{
let
str
=
(
isMust
?
(
"*"
+
title
)
:
title
)
let
str
=
(
isMust
?
(
"*"
+
title
)
:
title
)
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
),
.
font
:
UIFont
.
P
FSC_
R
(
ofSize
:
14
),
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
.
foregroundColor
:
UIColor
(
hex
:
0x222222
)
]
]
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
let
questionAttrStr
=
NSMutableAttributedString
(
string
:
str
,
attributes
:
attributes
)
...
@@ -60,7 +60,7 @@ class YHFormItemSelectSheetCell: UITableViewCell {
...
@@ -60,7 +60,7 @@ class YHFormItemSelectSheetCell: UITableViewCell {
label
.
textColor
=
UIColor
(
hexString
:
"#333333"
)
label
.
textColor
=
UIColor
(
hexString
:
"#333333"
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
return
label
return
label
}()
}()
...
@@ -68,7 +68,7 @@ class YHFormItemSelectSheetCell: UITableViewCell {
...
@@ -68,7 +68,7 @@ class YHFormItemSelectSheetCell: UITableViewCell {
let
label
=
UILabel
()
let
label
=
UILabel
()
label
.
textColor
=
UIColor
(
hexString
:
"#222222"
)
label
.
textColor
=
UIColor
(
hexString
:
"#222222"
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
label
.
isHidden
=
true
label
.
isHidden
=
true
return
label
return
label
}()
}()
...
@@ -78,7 +78,7 @@ class YHFormItemSelectSheetCell: UITableViewCell {
...
@@ -78,7 +78,7 @@ class YHFormItemSelectSheetCell: UITableViewCell {
label
.
textColor
=
UIColor
(
hexString
:
"#C0C0C0"
)
label
.
textColor
=
UIColor
(
hexString
:
"#C0C0C0"
)
label
.
text
=
"请选择"
.
local
label
.
text
=
"请选择"
.
local
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
label
.
isHidden
=
false
label
.
isHidden
=
false
return
label
return
label
}()
}()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/View/YHFormItemTitleCell.swift
View file @
078f98f7
...
@@ -22,7 +22,7 @@ class YHFormItemTitleCell: UITableViewCell {
...
@@ -22,7 +22,7 @@ class YHFormItemTitleCell: UITableViewCell {
label
.
textColor
=
UIColor
(
hexString
:
"#333333"
)
label
.
textColor
=
UIColor
(
hexString
:
"#333333"
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
16
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
16
)
return
label
return
label
}()
}()
...
@@ -31,7 +31,7 @@ class YHFormItemTitleCell: UITableViewCell {
...
@@ -31,7 +31,7 @@ class YHFormItemTitleCell: UITableViewCell {
label
.
textColor
=
UIColor
(
hexString
:
"#888F98"
)
label
.
textColor
=
UIColor
(
hexString
:
"#888F98"
)
label
.
textAlignment
=
.
left
label
.
textAlignment
=
.
left
label
.
numberOfLines
=
0
label
.
numberOfLines
=
0
label
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
label
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
return
label
return
label
}()
}()
...
@@ -39,7 +39,7 @@ class YHFormItemTitleCell: UITableViewCell {
...
@@ -39,7 +39,7 @@ class YHFormItemTitleCell: UITableViewCell {
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
"取消操作"
.
local
,
for
:
.
normal
)
btn
.
setTitle
(
"取消操作"
.
local
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
UIColor
(
hex
:
0x4487F9
),
for
:
.
normal
)
btn
.
setTitleColor
(
UIColor
(
hex
:
0x4487F9
),
for
:
.
normal
)
btn
.
tag
=
cancelTag
btn
.
tag
=
cancelTag
btn
.
addTarget
(
self
,
action
:
#selector(
didClickOperatorBtn(btn:)
)
,
for
:
.
touchUpInside
)
btn
.
addTarget
(
self
,
action
:
#selector(
didClickOperatorBtn(btn:)
)
,
for
:
.
touchUpInside
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember/View/YHSaveAndSubmitView.swift
View file @
078f98f7
...
@@ -20,7 +20,7 @@ class YHSaveAndSubmitView: UIView {
...
@@ -20,7 +20,7 @@ class YHSaveAndSubmitView: UIView {
lazy
var
submitBtn
:
UIButton
=
{
lazy
var
submitBtn
:
UIButton
=
{
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
"提交"
.
local
,
for
:
.
normal
)
btn
.
setTitle
(
"提交"
.
local
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
.
white
,
for
:
.
normal
)
btn
.
setTitleColor
(
.
white
,
for
:
.
normal
)
btn
.
backgroundColor
=
UIColor
(
hexString
:
"#4388FF"
)
btn
.
backgroundColor
=
UIColor
(
hexString
:
"#4388FF"
)
btn
.
layer
.
cornerRadius
=
8.0
btn
.
layer
.
cornerRadius
=
8.0
...
@@ -31,7 +31,7 @@ class YHSaveAndSubmitView: UIView {
...
@@ -31,7 +31,7 @@ class YHSaveAndSubmitView: UIView {
lazy
var
saveBtn
:
UIButton
=
{
lazy
var
saveBtn
:
UIButton
=
{
let
btn
=
UIButton
()
let
btn
=
UIButton
()
btn
.
setTitle
(
"保存"
,
for
:
.
normal
)
btn
.
setTitle
(
"保存"
,
for
:
.
normal
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
btn
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
btn
.
setTitleColor
(
UIColor
(
hexString
:
"#222222"
),
for
:
.
normal
)
btn
.
setTitleColor
(
UIColor
(
hexString
:
"#222222"
),
for
:
.
normal
)
btn
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F9FB"
)
btn
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F9FB"
)
btn
.
layer
.
cornerRadius
=
8.0
btn
.
layer
.
cornerRadius
=
8.0
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MyScore/V/YHScoreOptionsView.swift
View file @
078f98f7
...
@@ -23,7 +23,7 @@ class YHScoreOptionsView: UIView {
...
@@ -23,7 +23,7 @@ class YHScoreOptionsView: UIView {
private
lazy
var
nameTextView
:
UITextView
=
{
private
lazy
var
nameTextView
:
UITextView
=
{
let
lable0
=
UITextView
()
let
lable0
=
UITextView
()
lable0
.
textColor
=
UIColor
(
hex
:
0x4E4E4E
)
lable0
.
textColor
=
UIColor
(
hex
:
0x4E4E4E
)
lable0
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
lable0
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
lable0
.
isScrollEnabled
=
false
lable0
.
isScrollEnabled
=
false
lable0
.
isEditable
=
false
lable0
.
isEditable
=
false
lable0
.
isSelectable
=
false
lable0
.
isSelectable
=
false
...
@@ -41,7 +41,7 @@ class YHScoreOptionsView: UIView {
...
@@ -41,7 +41,7 @@ class YHScoreOptionsView: UIView {
private
lazy
var
customLabel
:
UILabel
=
{
private
lazy
var
customLabel
:
UILabel
=
{
let
customLabel
=
UILabel
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
40
,
height
:
20
))
let
customLabel
=
UILabel
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
40
,
height
:
20
))
customLabel
.
text
=
"-"
customLabel
.
text
=
"-"
customLabel
.
font
=
.
P
ingFangSc
R
(
ofSize
:
12
)
customLabel
.
font
=
.
P
FSC_
R
(
ofSize
:
12
)
customLabel
.
backgroundColor
=
UIColor
(
hex
:
0xF8F9FB
)
customLabel
.
backgroundColor
=
UIColor
(
hex
:
0xF8F9FB
)
customLabel
.
textColor
=
UIColor
(
hex
:
0x888F98
)
customLabel
.
textColor
=
UIColor
(
hex
:
0x888F98
)
customLabel
.
layer
.
cornerRadius
=
4
customLabel
.
layer
.
cornerRadius
=
4
...
@@ -86,14 +86,14 @@ private extension YHScoreOptionsView {
...
@@ -86,14 +86,14 @@ private extension YHScoreOptionsView {
if
model
.
isSelected
==
true
{
if
model
.
isSelected
==
true
{
nameTextView
.
attributed
.
text
=
"""
nameTextView
.
attributed
.
text
=
"""
\(
model
.
scoreName
,
.
foreground
(
UIColor
(
hex
:
0x3C86F8
)),
.
font
(
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
))
)
\(
.
view
(
customLabel
,
.
original
(
.
center
))
)
\(
model
.
scoreName
,
.
foreground
(
UIColor
(
hex
:
0x3C86F8
)),
.
font
(
UIFont
.
P
FSC_
R
(
ofSize
:
14
))
)
\(
.
view
(
customLabel
,
.
original
(
.
center
))
)
"""
"""
customLabel
.
backgroundColor
=
UIColor
(
hex
:
0x3C86F8
,
alpha
:
0.12
)
customLabel
.
backgroundColor
=
UIColor
(
hex
:
0x3C86F8
,
alpha
:
0.12
)
customLabel
.
textColor
=
UIColor
(
hex
:
0x3C86F8
)
customLabel
.
textColor
=
UIColor
(
hex
:
0x3C86F8
)
}
else
{
}
else
{
nameTextView
.
attributed
.
text
=
"""
nameTextView
.
attributed
.
text
=
"""
\(
model
.
scoreName
,
.
foreground
(
UIColor
(
hex
:
0x4E4E4E
)),
.
font
(
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
))
)
\(
.
view
(
customLabel
,
.
original
(
.
center
))
)
\(
model
.
scoreName
,
.
foreground
(
UIColor
(
hex
:
0x4E4E4E
)),
.
font
(
UIFont
.
P
FSC_
R
(
ofSize
:
14
))
)
\(
.
view
(
customLabel
,
.
original
(
.
center
))
)
"""
"""
customLabel
.
backgroundColor
=
UIColor
(
hex
:
0xF8F9FB
)
customLabel
.
backgroundColor
=
UIColor
(
hex
:
0xF8F9FB
)
customLabel
.
textColor
=
UIColor
(
hex
:
0x888F98
)
customLabel
.
textColor
=
UIColor
(
hex
:
0x888F98
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MyScore/V/YHScorePersonInfoCell.swift
View file @
078f98f7
...
@@ -23,7 +23,7 @@ class YHScorePersonInfoCell: UITableViewCell {
...
@@ -23,7 +23,7 @@ class YHScorePersonInfoCell: UITableViewCell {
private
lazy
var
nameLable
:
UILabel
=
{
private
lazy
var
nameLable
:
UILabel
=
{
let
lable0
=
UILabel
(
text
:
"DavidHuang"
)
let
lable0
=
UILabel
(
text
:
"DavidHuang"
)
lable0
.
textColor
=
UIColor
(
hex
:
0x222222
)
lable0
.
textColor
=
UIColor
(
hex
:
0x222222
)
lable0
.
font
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
16
)
lable0
.
font
=
UIFont
.
P
FSC_
M
(
ofSize
:
16
)
return
lable0
return
lable0
}()
}()
...
@@ -31,7 +31,7 @@ class YHScorePersonInfoCell: UITableViewCell {
...
@@ -31,7 +31,7 @@ class YHScorePersonInfoCell: UITableViewCell {
private
lazy
var
phoneLable
:
UILabel
=
{
private
lazy
var
phoneLable
:
UILabel
=
{
let
lable0
=
UILabel
(
text
:
"15818743775"
)
let
lable0
=
UILabel
(
text
:
"15818743775"
)
lable0
.
textColor
=
UIColor
(
hex
:
0x888F98
)
lable0
.
textColor
=
UIColor
(
hex
:
0x888F98
)
lable0
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
12
)
lable0
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
12
)
return
lable0
return
lable0
}()
}()
...
@@ -40,7 +40,7 @@ class YHScorePersonInfoCell: UITableViewCell {
...
@@ -40,7 +40,7 @@ class YHScorePersonInfoCell: UITableViewCell {
private
lazy
var
scoreLable
:
UILabel
=
{
private
lazy
var
scoreLable
:
UILabel
=
{
let
lable0
=
UILabel
(
text
:
"92 分"
)
let
lable0
=
UILabel
(
text
:
"92 分"
)
lable0
.
textColor
=
UIColor
(
hex
:
0x3C86F8
)
lable0
.
textColor
=
UIColor
(
hex
:
0x3C86F8
)
lable0
.
font
=
UIFont
.
P
ingFangSc
B
(
ofSize
:
43
)
lable0
.
font
=
UIFont
.
P
FSC_
B
(
ofSize
:
43
)
lable0
.
textAlignment
=
.
right
lable0
.
textAlignment
=
.
right
return
lable0
return
lable0
}()
}()
...
@@ -76,7 +76,7 @@ extension YHScorePersonInfoCell {
...
@@ -76,7 +76,7 @@ extension YHScorePersonInfoCell {
let
lable0
=
UILabel
(
text
:
"香港优才评分报告"
)
let
lable0
=
UILabel
(
text
:
"香港优才评分报告"
)
lable0
.
textColor
=
.
white
lable0
.
textColor
=
.
white
lable0
.
font
=
UIFont
.
P
ingFangSc
B
(
ofSize
:
24
)
lable0
.
font
=
UIFont
.
P
FSC_
B
(
ofSize
:
24
)
contentView
.
addSubview
(
lable0
)
contentView
.
addSubview
(
lable0
)
lable0
.
snp
.
makeConstraints
{
make
in
lable0
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
32
)
make
.
top
.
equalTo
(
32
)
...
@@ -88,7 +88,7 @@ extension YHScorePersonInfoCell {
...
@@ -88,7 +88,7 @@ extension YHScorePersonInfoCell {
let
lable1
=
UILabel
(
text
:
"根据您填写的资料情况生成"
)
let
lable1
=
UILabel
(
text
:
"根据您填写的资料情况生成"
)
lable1
.
textColor
=
UIColor
(
hex
:
0xffffff
,
alpha
:
0.8
)
lable1
.
textColor
=
UIColor
(
hex
:
0xffffff
,
alpha
:
0.8
)
lable1
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
12
)
lable1
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
12
)
contentView
.
addSubview
(
lable1
)
contentView
.
addSubview
(
lable1
)
lable1
.
snp
.
makeConstraints
{
make
in
lable1
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
lable0
.
snp
.
bottom
)
.
offset
(
6
)
make
.
top
.
equalTo
(
lable0
.
snp
.
bottom
)
.
offset
(
6
)
...
@@ -166,8 +166,8 @@ extension YHScorePersonInfoCell {
...
@@ -166,8 +166,8 @@ extension YHScorePersonInfoCell {
make
.
height
.
equalTo
(
50
)
make
.
height
.
equalTo
(
50
)
}
}
let
a
:
ASAttributedString
=
.
init
(
"95"
,
.
font
(
UIFont
.
P
ingFangSc
R
(
ofSize
:
43
)),
.
foreground
(
UIColor
(
hex
:
0x3C86F8
)))
let
a
:
ASAttributedString
=
.
init
(
"95"
,
.
font
(
UIFont
.
P
FSC_
R
(
ofSize
:
43
)),
.
foreground
(
UIColor
(
hex
:
0x3C86F8
)))
let
b
:
ASAttributedString
=
.
init
(
"分"
,
.
font
(
UIFont
.
P
ingFangSc
R
(
ofSize
:
12
)),
.
foreground
(
UIColor
(
hex
:
0x3C86F8
)))
let
b
:
ASAttributedString
=
.
init
(
"分"
,
.
font
(
UIFont
.
P
FSC_
R
(
ofSize
:
12
)),
.
foreground
(
UIColor
(
hex
:
0x3C86F8
)))
scoreLable
.
attributed
.
text
=
a
+
b
scoreLable
.
attributed
.
text
=
a
+
b
...
@@ -175,7 +175,7 @@ extension YHScorePersonInfoCell {
...
@@ -175,7 +175,7 @@ extension YHScorePersonInfoCell {
let
lable3
=
UILabel
(
text
:
"综合得分"
)
let
lable3
=
UILabel
(
text
:
"综合得分"
)
lable3
.
textColor
=
UIColor
(
hex
:
0x888F98
)
lable3
.
textColor
=
UIColor
(
hex
:
0x888F98
)
lable3
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
12
)
lable3
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
12
)
lable3
.
textAlignment
=
.
right
lable3
.
textAlignment
=
.
right
contentView
.
addSubview
(
lable3
)
contentView
.
addSubview
(
lable3
)
lable3
.
snp
.
makeConstraints
{
make
in
lable3
.
snp
.
makeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MyScore/V/YHScoreResultView.swift
View file @
078f98f7
...
@@ -36,7 +36,7 @@ class YHScoreResultView: UIView {
...
@@ -36,7 +36,7 @@ class YHScoreResultView: UIView {
private
lazy
var
nameLable
:
UILabel
=
{
private
lazy
var
nameLable
:
UILabel
=
{
let
lable0
=
UILabel
(
text
:
"年龄:32"
)
let
lable0
=
UILabel
(
text
:
"年龄:32"
)
lable0
.
textColor
=
UIColor
(
hex
:
0x4E4E4E
)
lable0
.
textColor
=
UIColor
(
hex
:
0x4E4E4E
)
lable0
.
font
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
14
)
lable0
.
font
=
UIFont
.
P
FSC_
M
(
ofSize
:
14
)
return
lable0
return
lable0
}()
}()
...
@@ -44,7 +44,7 @@ class YHScoreResultView: UIView {
...
@@ -44,7 +44,7 @@ class YHScoreResultView: UIView {
private
lazy
var
desLable
:
UILabel
=
{
private
lazy
var
desLable
:
UILabel
=
{
let
lable0
=
UILabel
(
text
:
"得分:30分"
)
let
lable0
=
UILabel
(
text
:
"得分:30分"
)
lable0
.
textColor
=
UIColor
(
hex
:
0x4E4E4E
)
lable0
.
textColor
=
UIColor
(
hex
:
0x4E4E4E
)
lable0
.
font
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
14
)
lable0
.
font
=
UIFont
.
P
FSC_
M
(
ofSize
:
14
)
return
lable0
return
lable0
}()
}()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MyScore/V/YHScoreTitleView.swift
View file @
078f98f7
...
@@ -28,7 +28,7 @@ class YHScoreTitleView: UIView {
...
@@ -28,7 +28,7 @@ class YHScoreTitleView: UIView {
private
lazy
var
nameLable
:
UILabel
=
{
private
lazy
var
nameLable
:
UILabel
=
{
let
lable0
=
UILabel
(
text
:
"年龄得分"
)
let
lable0
=
UILabel
(
text
:
"年龄得分"
)
lable0
.
textColor
=
UIColor
(
hex
:
0x222222
)
lable0
.
textColor
=
UIColor
(
hex
:
0x222222
)
lable0
.
font
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
17
)
lable0
.
font
=
UIFont
.
P
FSC_
M
(
ofSize
:
17
)
return
lable0
return
lable0
}()
}()
...
@@ -36,7 +36,7 @@ class YHScoreTitleView: UIView {
...
@@ -36,7 +36,7 @@ class YHScoreTitleView: UIView {
private
lazy
var
desLable
:
UILabel
=
{
private
lazy
var
desLable
:
UILabel
=
{
let
lable0
=
UILabel
(
text
:
"(最高30分)"
)
let
lable0
=
UILabel
(
text
:
"(最高30分)"
)
lable0
.
textColor
=
UIColor
(
hex
:
0x888F98
)
lable0
.
textColor
=
UIColor
(
hex
:
0x888F98
)
lable0
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
lable0
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
return
lable0
return
lable0
}()
}()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息表)/C/YHPersonInfoControllerHoldViewController.swift
View file @
078f98f7
...
@@ -27,10 +27,10 @@ class YHPersonInfoControllerHoldViewController: UIViewController {
...
@@ -27,10 +27,10 @@ class YHPersonInfoControllerHoldViewController: UIViewController {
dataSource
.
isTitleColorGradientEnabled
=
true
dataSource
.
isTitleColorGradientEnabled
=
true
dataSource
.
titles
=
arrItemTitles
dataSource
.
titles
=
arrItemTitles
dataSource
.
titleNormalFont
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
16
)
dataSource
.
titleNormalFont
=
UIFont
.
P
FSC_
R
(
ofSize
:
16
)
dataSource
.
titleSelectedColor
=
UIColor
(
hex
:
0x888F98
)
dataSource
.
titleSelectedColor
=
UIColor
(
hex
:
0x888F98
)
dataSource
.
titleSelectedFont
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
18
)
dataSource
.
titleSelectedFont
=
UIFont
.
P
FSC_
M
(
ofSize
:
18
)
dataSource
.
titleSelectedColor
=
UIColor
(
hex
:
0x4388FF
)
dataSource
.
titleSelectedColor
=
UIColor
(
hex
:
0x4388FF
)
dataSource
.
isItemSpacingAverageEnabled
=
false
dataSource
.
isItemSpacingAverageEnabled
=
false
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息表)/C/YHPersonInformMainViewController.swift
View file @
078f98f7
...
@@ -47,7 +47,7 @@ class YHPersonInformMainViewController: YHBaseViewController {
...
@@ -47,7 +47,7 @@ class YHPersonInformMainViewController: YHBaseViewController {
private
lazy
var
nameLable
:
UILabel
=
{
private
lazy
var
nameLable
:
UILabel
=
{
let
lable0
=
UILabel
(
text
:
"DavidHuang"
)
let
lable0
=
UILabel
(
text
:
"DavidHuang"
)
lable0
.
textColor
=
UIColor
(
hex
:
0x222222
)
lable0
.
textColor
=
UIColor
(
hex
:
0x222222
)
lable0
.
font
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
16
)
lable0
.
font
=
UIFont
.
P
FSC_
M
(
ofSize
:
16
)
return
lable0
return
lable0
}()
}()
...
@@ -55,7 +55,7 @@ class YHPersonInformMainViewController: YHBaseViewController {
...
@@ -55,7 +55,7 @@ class YHPersonInformMainViewController: YHBaseViewController {
private
lazy
var
phoneLable
:
UILabel
=
{
private
lazy
var
phoneLable
:
UILabel
=
{
let
lable0
=
UILabel
(
text
:
"15818743775"
)
let
lable0
=
UILabel
(
text
:
"15818743775"
)
lable0
.
textColor
=
UIColor
(
hex
:
0x888F98
)
lable0
.
textColor
=
UIColor
(
hex
:
0x888F98
)
lable0
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
12
)
lable0
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
12
)
return
lable0
return
lable0
}()
}()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息表)/V/YHPersonInfoCellView.swift
View file @
078f98f7
...
@@ -21,7 +21,7 @@ class YHPersonInfoCellView: UIView {
...
@@ -21,7 +21,7 @@ class YHPersonInfoCellView: UIView {
private
lazy
var
nameLable
:
UILabel
=
{
private
lazy
var
nameLable
:
UILabel
=
{
let
lable0
=
UILabel
(
text
:
"--"
)
let
lable0
=
UILabel
(
text
:
"--"
)
lable0
.
textColor
=
UIColor
(
hex
:
0x888F98
)
lable0
.
textColor
=
UIColor
(
hex
:
0x888F98
)
lable0
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
lable0
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
lable0
.
numberOfLines
=
0
lable0
.
numberOfLines
=
0
lable0
.
lineBreakMode
=
.
byCharWrapping
lable0
.
lineBreakMode
=
.
byCharWrapping
return
lable0
return
lable0
...
@@ -32,7 +32,7 @@ class YHPersonInfoCellView: UIView {
...
@@ -32,7 +32,7 @@ class YHPersonInfoCellView: UIView {
private
lazy
var
subtitleLable
:
UILabel
=
{
private
lazy
var
subtitleLable
:
UILabel
=
{
let
lable0
=
UILabel
(
text
:
"--"
)
let
lable0
=
UILabel
(
text
:
"--"
)
lable0
.
textColor
=
UIColor
(
hex
:
0x222222
)
lable0
.
textColor
=
UIColor
(
hex
:
0x222222
)
lable0
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
lable0
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
lable0
.
numberOfLines
=
0
lable0
.
numberOfLines
=
0
lable0
.
lineBreakMode
=
.
byWordWrapping
lable0
.
lineBreakMode
=
.
byWordWrapping
lable0
.
textAlignment
=
.
right
lable0
.
textAlignment
=
.
right
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息表)/V/YHPersonInfoCommonCell.swift
View file @
078f98f7
...
@@ -136,7 +136,7 @@ extension YHPersonInfoCommonCell {
...
@@ -136,7 +136,7 @@ extension YHPersonInfoCommonCell {
let
lable
=
UILabel
()
let
lable
=
UILabel
()
lable
.
text
=
item0
.
cellTitle
lable
.
text
=
item0
.
cellTitle
lable
.
textColor
=
UIColor
(
hex
:
0x222222
)
lable
.
textColor
=
UIColor
(
hex
:
0x222222
)
lable
.
font
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
14
)
lable
.
font
=
UIFont
.
P
FSC_
M
(
ofSize
:
14
)
holdView
.
addSubview
(
lable
)
holdView
.
addSubview
(
lable
)
lable
.
snp
.
makeConstraints
{
make
in
lable
.
snp
.
makeConstraints
{
make
in
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
.
offset
(
18
)
make
.
top
.
equalTo
(
tmp
.
snp
.
bottom
)
.
offset
(
18
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息表)/V/YHPersonInfoIdentificationCardView.swift
View file @
078f98f7
...
@@ -28,7 +28,7 @@ class YHPersonInfoIdentificationCardView: UIView {
...
@@ -28,7 +28,7 @@ class YHPersonInfoIdentificationCardView: UIView {
private
lazy
var
titleLable
:
UILabel
=
{
private
lazy
var
titleLable
:
UILabel
=
{
let
lable
=
UILabel
()
let
lable
=
UILabel
()
lable
.
textColor
=
UIColor
(
hex
:
0x222222
)
lable
.
textColor
=
UIColor
(
hex
:
0x222222
)
lable
.
font
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
14
)
lable
.
font
=
UIFont
.
P
FSC_
M
(
ofSize
:
14
)
return
lable
return
lable
}()
}()
...
@@ -56,7 +56,7 @@ class YHPersonInfoIdentificationCardView: UIView {
...
@@ -56,7 +56,7 @@ class YHPersonInfoIdentificationCardView: UIView {
private
lazy
var
subtitleFrontLable
:
UILabel
=
{
private
lazy
var
subtitleFrontLable
:
UILabel
=
{
let
lable
=
UILabel
()
let
lable
=
UILabel
()
lable
.
textColor
=
UIColor
(
hex
:
0x888F98
)
lable
.
textColor
=
UIColor
(
hex
:
0x888F98
)
lable
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
lable
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
lable
.
text
=
"身份证头像面"
lable
.
text
=
"身份证头像面"
lable
.
textAlignment
=
.
center
lable
.
textAlignment
=
.
center
return
lable
return
lable
...
@@ -66,7 +66,7 @@ class YHPersonInfoIdentificationCardView: UIView {
...
@@ -66,7 +66,7 @@ class YHPersonInfoIdentificationCardView: UIView {
private
lazy
var
subtitleBackLable
:
UILabel
=
{
private
lazy
var
subtitleBackLable
:
UILabel
=
{
let
lable
=
UILabel
()
let
lable
=
UILabel
()
lable
.
textColor
=
UIColor
(
hex
:
0x888F98
)
lable
.
textColor
=
UIColor
(
hex
:
0x888F98
)
lable
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
lable
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
lable
.
text
=
"身份证国徽面"
lable
.
text
=
"身份证国徽面"
lable
.
textAlignment
=
.
center
lable
.
textAlignment
=
.
center
return
lable
return
lable
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息表)/V/YHPersonInfoSessionView.swift
View file @
078f98f7
...
@@ -22,7 +22,7 @@ class YHPersonInfoSessionView: UIView {
...
@@ -22,7 +22,7 @@ class YHPersonInfoSessionView: UIView {
private
lazy
var
nameLable
:
UILabel
=
{
private
lazy
var
nameLable
:
UILabel
=
{
let
lable0
=
UILabel
(
text
:
"--"
)
let
lable0
=
UILabel
(
text
:
"--"
)
lable0
.
textColor
=
UIColor
(
hex
:
0x222222
)
lable0
.
textColor
=
UIColor
(
hex
:
0x222222
)
lable0
.
font
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
17
)
lable0
.
font
=
UIFont
.
P
FSC_
M
(
ofSize
:
17
)
lable0
.
numberOfLines
=
0
lable0
.
numberOfLines
=
0
lable0
.
lineBreakMode
=
.
byWordWrapping
lable0
.
lineBreakMode
=
.
byWordWrapping
return
lable0
return
lable0
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHInformationFillTipsAlertView.swift
View file @
078f98f7
...
@@ -147,7 +147,7 @@ class YHInformationFillTipsAlertView: UIView {
...
@@ -147,7 +147,7 @@ class YHInformationFillTipsAlertView: UIView {
let
lable01
=
UILabel
(
text
:
"信息填写提示"
)
let
lable01
=
UILabel
(
text
:
"信息填写提示"
)
lable01
.
font
=
UIFont
.
P
ingFangSc
B
(
ofSize
:
18
)
lable01
.
font
=
UIFont
.
P
FSC_
B
(
ofSize
:
18
)
lable01
.
textColor
=
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)
lable01
.
textColor
=
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)
topView
.
addSubview
(
lable01
)
topView
.
addSubview
(
lable01
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHInformationFillTipsCell.swift
View file @
078f98f7
...
@@ -71,13 +71,13 @@ extension YHInformationFillTipsCell {
...
@@ -71,13 +71,13 @@ extension YHInformationFillTipsCell {
let
lable1
=
UILabel
(
text
:
" 1. 如您填写途中想离开系统,记得点击保存,在您有空闲的时间再继续进行填写;"
)
let
lable1
=
UILabel
(
text
:
" 1. 如您填写途中想离开系统,记得点击保存,在您有空闲的时间再继续进行填写;"
)
lable1
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
lable1
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
lable1
.
textColor
=
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)
lable1
.
textColor
=
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)
lable1
.
numberOfLines
=
0
lable1
.
numberOfLines
=
0
lable1
.
lineBreakMode
=
.
byWordWrapping
lable1
.
lineBreakMode
=
.
byWordWrapping
let
a
:
ASAttributedString
=
.
init
(
" 1. 如您填写途中想离开系统,"
,
.
font
(
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)))
let
a
:
ASAttributedString
=
.
init
(
" 1. 如您填写途中想离开系统,"
,
.
font
(
UIFont
.
P
FSC_
R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)))
let
b
:
ASAttributedString
=
.
init
(
"记得点击保存"
,
.
font
(
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x3271F5
)))
let
b
:
ASAttributedString
=
.
init
(
"记得点击保存"
,
.
font
(
UIFont
.
P
FSC_
R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x3271F5
)))
let
c
:
ASAttributedString
=
.
init
(
",在您有空闲的时间再继续进行填写;"
,
.
font
(
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)))
let
c
:
ASAttributedString
=
.
init
(
",在您有空闲的时间再继续进行填写;"
,
.
font
(
UIFont
.
P
FSC_
R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)))
lable1
.
attributed
.
text
=
a
+
b
+
c
lable1
.
attributed
.
text
=
a
+
b
+
c
holdView
.
addSubview
(
lable1
)
holdView
.
addSubview
(
lable1
)
...
@@ -87,14 +87,14 @@ extension YHInformationFillTipsCell {
...
@@ -87,14 +87,14 @@ extension YHInformationFillTipsCell {
}
}
let
lable2
=
UILabel
(
text
:
" 2. 此次填写将花费您30-40分钟,系统将根据您所填写的信息,形成详细资料清单,一起为香港身份起航吧~"
)
let
lable2
=
UILabel
(
text
:
" 2. 此次填写将花费您30-40分钟,系统将根据您所填写的信息,形成详细资料清单,一起为香港身份起航吧~"
)
lable2
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
lable2
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
lable2
.
textColor
=
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)
lable2
.
textColor
=
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)
lable2
.
numberOfLines
=
0
lable2
.
numberOfLines
=
0
lable2
.
lineBreakMode
=
.
byWordWrapping
lable2
.
lineBreakMode
=
.
byWordWrapping
let
aa
:
ASAttributedString
=
.
init
(
" 2. 此次填写将花费您"
,
.
font
(
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)))
let
aa
:
ASAttributedString
=
.
init
(
" 2. 此次填写将花费您"
,
.
font
(
UIFont
.
P
FSC_
R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)))
let
bb
:
ASAttributedString
=
.
init
(
"30-40分钟"
,
.
font
(
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x3271F5
)))
let
bb
:
ASAttributedString
=
.
init
(
"30-40分钟"
,
.
font
(
UIFont
.
P
FSC_
R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
hex
:
0x3271F5
)))
let
cc
:
ASAttributedString
=
.
init
(
",系统将根据您所填写的信息,形成详细资料清单,一起为香港身份起航吧~"
,
.
font
(
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)))
let
cc
:
ASAttributedString
=
.
init
(
",系统将根据您所填写的信息,形成详细资料清单,一起为香港身份起航吧~"
,
.
font
(
UIFont
.
P
FSC_
R
(
ofSize
:
14
)),
.
foreground
(
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)))
lable2
.
attributed
.
text
=
aa
+
bb
+
cc
lable2
.
attributed
.
text
=
aa
+
bb
+
cc
...
@@ -129,7 +129,7 @@ extension YHInformationFillTipsCell {
...
@@ -129,7 +129,7 @@ extension YHInformationFillTipsCell {
let
lable3
=
UILabel
(
text
:
"准备材料:"
)
let
lable3
=
UILabel
(
text
:
"准备材料:"
)
lable3
.
font
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
14
)
lable3
.
font
=
UIFont
.
P
FSC_
M
(
ofSize
:
14
)
lable3
.
textColor
=
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)
lable3
.
textColor
=
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)
holdView2
.
addSubview
(
lable3
)
holdView2
.
addSubview
(
lable3
)
lable3
.
snp
.
makeConstraints
{
make
in
lable3
.
snp
.
makeConstraints
{
make
in
...
@@ -154,7 +154,7 @@ extension YHInformationFillTipsCell {
...
@@ -154,7 +154,7 @@ extension YHInformationFillTipsCell {
}
}
let
lable4
=
UILabel
(
text
:
"身份证正反面照片(外国国籍准备护照)"
)
let
lable4
=
UILabel
(
text
:
"身份证正反面照片(外国国籍准备护照)"
)
lable4
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
lable4
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
lable4
.
textColor
=
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)
lable4
.
textColor
=
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)
holdView2
.
addSubview
(
lable4
)
holdView2
.
addSubview
(
lable4
)
lable4
.
snp
.
makeConstraints
{
make
in
lable4
.
snp
.
makeConstraints
{
make
in
...
@@ -175,7 +175,7 @@ extension YHInformationFillTipsCell {
...
@@ -175,7 +175,7 @@ extension YHInformationFillTipsCell {
}
}
let
lable5
=
UILabel
(
text
:
"护照(如有)"
)
let
lable5
=
UILabel
(
text
:
"护照(如有)"
)
lable5
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
lable5
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
lable5
.
textColor
=
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)
lable5
.
textColor
=
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)
holdView2
.
addSubview
(
lable5
)
holdView2
.
addSubview
(
lable5
)
lable5
.
snp
.
makeConstraints
{
make
in
lable5
.
snp
.
makeConstraints
{
make
in
...
@@ -197,7 +197,7 @@ extension YHInformationFillTipsCell {
...
@@ -197,7 +197,7 @@ extension YHInformationFillTipsCell {
}
}
let
lable6
=
UILabel
(
text
:
"港澳通行证正反面照片(如有)"
)
let
lable6
=
UILabel
(
text
:
"港澳通行证正反面照片(如有)"
)
lable6
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
lable6
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
lable6
.
textColor
=
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)
lable6
.
textColor
=
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)
holdView2
.
addSubview
(
lable6
)
holdView2
.
addSubview
(
lable6
)
lable6
.
snp
.
makeConstraints
{
make
in
lable6
.
snp
.
makeConstraints
{
make
in
...
@@ -219,7 +219,7 @@ extension YHInformationFillTipsCell {
...
@@ -219,7 +219,7 @@ extension YHInformationFillTipsCell {
}
}
let
lable7
=
UILabel
(
text
:
"简历/工作总结"
)
let
lable7
=
UILabel
(
text
:
"简历/工作总结"
)
lable7
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
14
)
lable7
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
14
)
lable7
.
textColor
=
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)
lable7
.
textColor
=
UIColor
(
red
:
0.133
,
green
:
0.133
,
blue
:
0.133
,
alpha
:
1
)
holdView2
.
addSubview
(
lable7
)
holdView2
.
addSubview
(
lable7
)
lable7
.
snp
.
makeConstraints
{
make
in
lable7
.
snp
.
makeConstraints
{
make
in
...
@@ -255,7 +255,7 @@ extension YHInformationFillTipsCell {
...
@@ -255,7 +255,7 @@ extension YHInformationFillTipsCell {
let
lable8
=
UILabel
(
text
:
"温馨提示:"
)
let
lable8
=
UILabel
(
text
:
"温馨提示:"
)
lable8
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
12
)
lable8
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
12
)
lable8
.
textColor
=
UIColor
(
red
:
0.263
,
green
:
0.533
,
blue
:
1
,
alpha
:
1
)
lable8
.
textColor
=
UIColor
(
red
:
0.263
,
green
:
0.533
,
blue
:
1
,
alpha
:
1
)
holdView3
.
addSubview
(
lable8
)
holdView3
.
addSubview
(
lable8
)
lable8
.
snp
.
makeConstraints
{
make
in
lable8
.
snp
.
makeConstraints
{
make
in
...
@@ -269,7 +269,7 @@ extension YHInformationFillTipsCell {
...
@@ -269,7 +269,7 @@ extension YHInformationFillTipsCell {
let
lable9
=
UILabel
(
text
:
"请确认您所上传的资料真实有效,避免因递交资料存在问题给您造成不便。"
)
let
lable9
=
UILabel
(
text
:
"请确认您所上传的资料真实有效,避免因递交资料存在问题给您造成不便。"
)
lable9
.
numberOfLines
=
0
lable9
.
numberOfLines
=
0
lable9
.
lineBreakMode
=
.
byWordWrapping
lable9
.
lineBreakMode
=
.
byWordWrapping
lable9
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
12
)
lable9
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
12
)
lable9
.
textColor
=
UIColor
(
red
:
0.263
,
green
:
0.533
,
blue
:
1
,
alpha
:
1
)
lable9
.
textColor
=
UIColor
(
red
:
0.263
,
green
:
0.533
,
blue
:
1
,
alpha
:
1
)
holdView3
.
addSubview
(
lable9
)
holdView3
.
addSubview
(
lable9
)
lable9
.
snp
.
makeConstraints
{
make
in
lable9
.
snp
.
makeConstraints
{
make
in
...
@@ -283,7 +283,7 @@ extension YHInformationFillTipsCell {
...
@@ -283,7 +283,7 @@ extension YHInformationFillTipsCell {
let
lable10
=
UILabel
(
text
:
"* 申请过程中有任何疑问,请随时联系专属服务群内的专业文案老师为您解答护航。"
)
let
lable10
=
UILabel
(
text
:
"* 申请过程中有任何疑问,请随时联系专属服务群内的专业文案老师为您解答护航。"
)
lable10
.
numberOfLines
=
0
lable10
.
numberOfLines
=
0
lable10
.
lineBreakMode
=
.
byWordWrapping
lable10
.
lineBreakMode
=
.
byWordWrapping
lable10
.
font
=
UIFont
.
P
ingFangSc
R
(
ofSize
:
12
)
lable10
.
font
=
UIFont
.
P
FSC_
R
(
ofSize
:
12
)
lable10
.
textColor
=
UIColor
(
red
:
0.533
,
green
:
0.561
,
blue
:
0.596
,
alpha
:
1
)
lable10
.
textColor
=
UIColor
(
red
:
0.533
,
green
:
0.561
,
blue
:
0.596
,
alpha
:
1
)
holdView3
.
addSubview
(
lable10
)
holdView3
.
addSubview
(
lable10
)
lable10
.
snp
.
makeConstraints
{
make
in
lable10
.
snp
.
makeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHSubmintAllInfoSuccessTipView.swift
View file @
078f98f7
...
@@ -127,8 +127,8 @@ class YHSubmintAllInfoSuccessTipView: UIView {
...
@@ -127,8 +127,8 @@ class YHSubmintAllInfoSuccessTipView: UIView {
make
.
height
.
equalTo
(
50
)
make
.
height
.
equalTo
(
50
)
}
}
let
a
:
ASAttributedString
=
.
init
(
"90"
,
.
font
(
UIFont
.
P
ingFangSc
R
(
ofSize
:
32
)),
.
foreground
(
UIColor
(
hex
:
0xFF9900
)))
let
a
:
ASAttributedString
=
.
init
(
"90"
,
.
font
(
UIFont
.
P
FSC_
R
(
ofSize
:
32
)),
.
foreground
(
UIColor
(
hex
:
0xFF9900
)))
let
b
:
ASAttributedString
=
.
init
(
"分"
,
.
font
(
UIFont
.
P
ingFangSc
R
(
ofSize
:
12
)),
.
foreground
(
UIColor
(
hex
:
0x888F98
)))
let
b
:
ASAttributedString
=
.
init
(
"分"
,
.
font
(
UIFont
.
P
FSC_
R
(
ofSize
:
12
)),
.
foreground
(
UIColor
(
hex
:
0x888F98
)))
messageLabel
.
attributed
.
text
=
a
+
b
messageLabel
.
attributed
.
text
=
a
+
b
disAgressButton
=
{
disAgressButton
=
{
...
...
galaxy/galaxy/Classes/Tools/Extention/AppDelegate+Extension.swift
View file @
078f98f7
...
@@ -18,7 +18,7 @@ extension AppDelegate{
...
@@ -18,7 +18,7 @@ extension AppDelegate{
func
setNavigationBarAppearanceWhenContainedInInstancesOf
(
containers
:
[
UIAppearanceContainer
.
Type
]){
func
setNavigationBarAppearanceWhenContainedInInstancesOf
(
containers
:
[
UIAppearanceContainer
.
Type
]){
let
navigationBarAppearance
=
UINavigationBar
.
appearance
(
whenContainedInInstancesOf
:
containers
)
let
navigationBarAppearance
=
UINavigationBar
.
appearance
(
whenContainedInInstancesOf
:
containers
)
navigationBarAppearance
.
titleTextAttributes
=
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
commonColor100
,
NSAttributedString
.
Key
.
font
:
UIFont
.
P
ingFangSc
M
(
ofSize
:
16
)]
navigationBarAppearance
.
titleTextAttributes
=
[
NSAttributedString
.
Key
.
foregroundColor
:
UIColor
.
commonColor100
,
NSAttributedString
.
Key
.
font
:
UIFont
.
P
FSC_
M
(
ofSize
:
16
)]
navigationBarAppearance
.
barTintColor
=
UIColor
.
yellow
navigationBarAppearance
.
barTintColor
=
UIColor
.
yellow
navigationBarAppearance
.
tintColor
=
UIColor
.
commonColor100
navigationBarAppearance
.
tintColor
=
UIColor
.
commonColor100
navigationBarAppearance
.
backIndicatorImage
=
UIImage
(
named
:
"back_icon"
)
navigationBarAppearance
.
backIndicatorImage
=
UIImage
(
named
:
"back_icon"
)
...
...
galaxy/galaxy/Classes/Tools/Extention/UIFont+Extension.swift
View file @
078f98f7
...
@@ -8,36 +8,33 @@
...
@@ -8,36 +8,33 @@
import
UIKit
import
UIKit
extension
UIFont
{
extension
UIFont
{
// MARK: - 苹果平方字体
// PingFangSC-ExtraLight 苹方 特细
// PingFangSC-Light 苹方 细体
// PingFangSC-Regular 苹方 常规
// PingFangSC-Medium 苹方 中等
// PingFangSC-Bold 苹方 粗体
// PingFangSC-Heavy 苹方 特粗
// MARK: - 苹果字体
//特细
//特细
class
func
P
ingFangScEL
(
ofSize
size
:
CGFloat
=
17
)
->
UIFont
{
class
func
P
FSC_Thin
(
ofSize
size
:
CGFloat
=
17
)
->
UIFont
{
return
UIFont
(
name
:
"PingFangSC-Thin"
,
size
:
size
)
!
return
UIFont
(
name
:
"PingFangSC-Thin"
,
size
:
size
)
!
}
}
//细体
//细体
class
func
P
ingFangSc
L
(
ofSize
size
:
CGFloat
=
17
)
->
UIFont
{
class
func
P
FSC_
L
(
ofSize
size
:
CGFloat
=
17
)
->
UIFont
{
return
UIFont
(
name
:
"PingFangSC-Light"
,
size
:
size
)
!
return
UIFont
(
name
:
"PingFangSC-Light"
,
size
:
size
)
!
}
}
//常规
//常规
class
func
P
ingFangSc
R
(
ofSize
size
:
CGFloat
=
17
)
->
UIFont
{
class
func
P
FSC_
R
(
ofSize
size
:
CGFloat
=
17
)
->
UIFont
{
return
UIFont
(
name
:
"PingFangSC-Regular"
,
size
:
size
)
!
return
UIFont
(
name
:
"PingFangSC-Regular"
,
size
:
size
)
!
}
}
//中等
//中等
class
func
P
ingFangSc
M
(
ofSize
size
:
CGFloat
=
17
)
->
UIFont
{
class
func
P
FSC_
M
(
ofSize
size
:
CGFloat
=
17
)
->
UIFont
{
return
UIFont
(
name
:
"PingFangSC-Medium"
,
size
:
size
)
!
return
UIFont
(
name
:
"PingFangSC-Medium"
,
size
:
size
)
!
}
}
//粗体
//粗体
static
func
P
ingFangSc
B
(
ofSize
size
:
CGFloat
=
17
)
->
UIFont
{
static
func
P
FSC_
B
(
ofSize
size
:
CGFloat
=
17
)
->
UIFont
{
return
UIFont
(
name
:
"PingFangSC-Semibold"
,
size
:
size
)
!
return
UIFont
(
name
:
"PingFangSC-Semibold"
,
size
:
size
)
!
}
}
//特粗体
static
func
PFSC_UL
(
ofSize
size
:
CGFloat
=
17
)
->
UIFont
{
return
UIFont
(
name
:
"PingFangTC-Ultralight"
,
size
:
size
)
!
}
}
}
galaxy/galaxy/Classes/Tools/Extention/UILable+Extension.swift
View file @
078f98f7
...
@@ -13,7 +13,7 @@ extension UILabel {
...
@@ -13,7 +13,7 @@ extension UILabel {
let
temp
=
UILabel
()
let
temp
=
UILabel
()
temp
.
textColor
=
UIColor
(
hexString
:
"#333333"
,
transparency
:
0.45
)
temp
.
textColor
=
UIColor
(
hexString
:
"#333333"
,
transparency
:
0.45
)
temp
.
textAlignment
=
.
center
temp
.
textAlignment
=
.
center
temp
.
font
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
10
)
temp
.
font
=
UIFont
.
P
FSC_
M
(
ofSize
:
10
)
temp
.
backgroundColor
=
UIColor
(
hexString
:
"#333333"
,
transparency
:
0.04
)
temp
.
backgroundColor
=
UIColor
(
hexString
:
"#333333"
,
transparency
:
0.04
)
temp
.
layer
.
cornerRadius
=
2
temp
.
layer
.
cornerRadius
=
2
temp
.
clipsToBounds
=
true
temp
.
clipsToBounds
=
true
...
...
galaxy/galaxy/Classes/Tools/Extention/UIViewController+Extension.swift
View file @
078f98f7
...
@@ -97,7 +97,7 @@ extension UIViewController {
...
@@ -97,7 +97,7 @@ extension UIViewController {
}
}
if
font
==
nil
{
if
font
==
nil
{
button
?
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
16
)
button
?
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
M
(
ofSize
:
16
)
}
else
{
}
else
{
button
?
.
titleLabel
?
.
font
=
font
button
?
.
titleLabel
?
.
font
=
font
}
}
...
@@ -150,13 +150,13 @@ extension UIViewController {
...
@@ -150,13 +150,13 @@ extension UIViewController {
///设置全局标题属性
///设置全局标题属性
func
bs_setupTitleAttributedAll
(
font
:
UIFont
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
16
),
color
:
UIColor
=
.
black
)
{
func
bs_setupTitleAttributedAll
(
font
:
UIFont
=
UIFont
.
P
FSC_
M
(
ofSize
:
16
),
color
:
UIColor
=
.
black
)
{
let
titleDict
=
[
NSAttributedString
.
Key
.
font
:
font
,
NSAttributedString
.
Key
.
foregroundColor
:
color
]
let
titleDict
=
[
NSAttributedString
.
Key
.
font
:
font
,
NSAttributedString
.
Key
.
foregroundColor
:
color
]
self
.
navigationController
?
.
navigationBar
.
titleTextAttributes
=
titleDict
self
.
navigationController
?
.
navigationBar
.
titleTextAttributes
=
titleDict
}
}
///设置独立标题属性
///设置独立标题属性
func
bs_setupTitleAttributed
(
title
:
String
,
font
:
UIFont
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
16
),
color
:
UIColor
=
.
black
,
reset
:
Bool
=
false
)
{
func
bs_setupTitleAttributed
(
title
:
String
,
font
:
UIFont
=
UIFont
.
P
FSC_
M
(
ofSize
:
16
),
color
:
UIColor
=
.
black
,
reset
:
Bool
=
false
)
{
var
titleLabel
:
UILabel
?
var
titleLabel
:
UILabel
?
if
let
label
=
self
.
navigationItem
.
titleView
as?
UILabel
,
if
let
label
=
self
.
navigationItem
.
titleView
as?
UILabel
,
reset
==
false
{
reset
==
false
{
...
@@ -208,7 +208,7 @@ extension UIViewController {
...
@@ -208,7 +208,7 @@ extension UIViewController {
}
}
button
?
.
setImage
(
image
,
for
:
.
normal
)
button
?
.
setImage
(
image
,
for
:
.
normal
)
button
?
.
setImage
(
image
,
for
:
.
highlighted
)
button
?
.
setImage
(
image
,
for
:
.
highlighted
)
button
?
.
titleLabel
?
.
font
=
UIFont
.
P
ingFangSc
M
(
ofSize
:
16
)
button
?
.
titleLabel
?
.
font
=
UIFont
.
P
FSC_
M
(
ofSize
:
16
)
button
?
.
setTitle
(
title
,
for
:
.
normal
)
button
?
.
setTitle
(
title
,
for
:
.
normal
)
button
?
.
setTitleColor
(
color
,
for
:
.
normal
)
button
?
.
setTitleColor
(
color
,
for
:
.
normal
)
button
?
.
tintColor
=
color
button
?
.
tintColor
=
color
...
...
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