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
c8881db8
Commit
c8881db8
authored
Mar 11, 2024
by
pete谢兆麟
Browse files
Options
Browse Files
Download
Plain Diff
Merge commit '
caeaaaa5
' into xiezhaolin
parents
f4183b18
caeaaaa5
Changes
46
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
46 changed files
with
428 additions
and
126 deletions
+428
-126
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+44
-4
YHHomeViewController.swift
...axy/Classes/Modules/Home(首页)/C/YHHomeViewController.swift
+8
-6
YHInformationPerfectListVC.swift
...telligentService(服务中心)/C/YHInformationPerfectListVC.swift
+4
-4
YHBasicInfoFillViewController.swift
...seInformation(基本资料)/C/YHBasicInfoFillViewController.swift
+5
-2
YHCollegeSearchViewController.swift
...ification(学历专业资格填写)/C/YHCollegeSearchViewController.swift
+2
-2
YHEducationDetailVC.swift
...ation&Qualification(学历专业资格填写)/C/YHEducationDetailVC.swift
+8
-4
YHEducationInfoListVC.swift
...ion&Qualification(学历专业资格填写)/C/YHEducationInfoListVC.swift
+18
-3
YHQualificationDetailVC.swift
...n&Qualification(学历专业资格填写)/C/YHQualificationDetailVC.swift
+7
-4
YHCollegeNameCell.swift
...ucation&Qualification(学历专业资格填写)/V/YHCollegeNameCell.swift
+2
-0
YHEducationInfoCell.swift
...ation&Qualification(学历专业资格填写)/V/YHEducationInfoCell.swift
+2
-0
YHCertificateInfoController.swift
...Certificates(证书上传和证书信息)/YHCertificateInfoController.swift
+2
-1
YHCertificateUploadVC.swift
...息表)/C/Certificates(证书上传和证书信息)/YHCertificateUploadVC.swift
+1
-1
YHChildBasicInfoVC.swift
...amilyMember(家庭成员信息表)/C/Child(子女)/YHChildBasicInfoVC.swift
+14
-8
YHChildInfoContainerVC.swift
...yMember(家庭成员信息表)/C/Child(子女)/YHChildInfoContainerVC.swift
+3
-0
YHChildPrimaryInfoVC.swift
...ilyMember(家庭成员信息表)/C/Child(子女)/YHChildPrimaryInfoVC.swift
+16
-10
YHBrotherInfoVC.swift
...庭成员信息表)/C/Parents&Brothers(父母和兄弟姐妹)/YHBrotherInfoVC.swift
+19
-3
YHParentInfoVC.swift
...家庭成员信息表)/C/Parents&Brothers(父母和兄弟姐妹)/YHParentInfoVC.swift
+19
-3
YHSpouseBasicInfoVC.swift
...ilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseBasicInfoVC.swift
+13
-7
YHSpouseInfoContainerVC.swift
...ember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseInfoContainerVC.swift
+2
-0
YHSpousePrimaryInfoVC.swift
...yMember(家庭成员信息表)/C/Spouse(配偶)/YHSpousePrimaryInfoVC.swift
+15
-9
YHFamilyMemberInfoListVC.swift
...程)/FamilyMember(家庭成员信息表)/C/YHFamilyMemberInfoListVC.swift
+19
-4
YHFamilyInitialInfo.swift
...ess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
+11
-16
YHFamilyRequestViewModel.swift
...程)/FamilyMember(家庭成员信息表)/M/YHFamilyRequestViewModel.swift
+9
-11
YHSheetPickerView.swift
...amilyMember(家庭成员信息表)/V/PickerView/YHSheetPickerView.swift
+2
-2
YHFormItemAddCell.swift
...ocess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemAddCell.swift
+2
-0
YHFormItemDegreeInfoCell.swift
...程)/FamilyMember(家庭成员信息表)/V/YHFormItemDegreeInfoCell.swift
+1
-0
YHFormItemDoubleChoiceCell.swift
.../FamilyMember(家庭成员信息表)/V/YHFormItemDoubleChoiceCell.swift
+2
-1
YHFormItemEnterDetailCell.swift
...)/FamilyMember(家庭成员信息表)/V/YHFormItemEnterDetailCell.swift
+2
-0
YHFormItemExpireDateCell.swift
...程)/FamilyMember(家庭成员信息表)/V/YHFormItemExpireDateCell.swift
+2
-0
YHFormItemInputTextCell.swift
...流程)/FamilyMember(家庭成员信息表)/V/YHFormItemInputTextCell.swift
+2
-0
YHFormItemOnlyDoubleChoiceCell.swift
...ilyMember(家庭成员信息表)/V/YHFormItemOnlyDoubleChoiceCell.swift
+2
-0
YHFormItemQuestionsCell.swift
...流程)/FamilyMember(家庭成员信息表)/V/YHFormItemQuestionsCell.swift
+2
-1
YHFormItemSelectSheetCell.swift
...)/FamilyMember(家庭成员信息表)/V/YHFormItemSelectSheetCell.swift
+2
-0
YHFormItemTitleCell.swift
...ess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemTitleCell.swift
+2
-0
YHScoreOptionsView.swift
...rviceProcess(流程)/MyScore(我的评分)/V/YHScoreOptionsView.swift
+2
-0
YHOtherInfoFillViewController.swift
...erInformation(其他信息)/C/YHOtherInfoFillViewController.swift
+7
-2
YHOtherInfoFillModel.swift
...s(流程)/OtherInformation(其他信息)/M/YHOtherInfoFillModel.swift
+1
-0
YHOtherInfoFillCell.swift
...ss(流程)/OtherInformation(其他信息)/V/YHOtherInfoFillCell.swift
+1
-1
YHOtherSelecteItemView.swift
...流程)/OtherInformation(其他信息)/V/YHOtherSelecteItemView.swift
+2
-1
YHPreviewFamilyMemberViewController.swift
...oList(个人信息预览)/C/YHPreviewFamilyMemberViewController.swift
+128
-12
YHPreviewMainApplicantInfoViewController.swift
...(个人信息预览)/C/YHPreviewMainApplicantInfoViewController.swift
+5
-0
YHPreviewInfoNameAndSubNameItemView.swift
...oList(个人信息预览)/V/YHPreviewInfoNameAndSubNameItemView.swift
+9
-2
YHPreviewViewModel.swift
...ss(流程)/PersonInfoList(个人信息预览)/VM/YHPreviewViewModel.swift
+0
-0
YHPhoneLoginViewController.swift
...sses/Modules/Login(登录)/C/YHPhoneLoginViewController.swift
+6
-1
YHMySettingViewController.swift
...lasses/Modules/Mine(我的)/C/YHMySettingViewController.swift
+1
-1
YHMySettingCell.swift
...y/galaxy/Classes/Modules/Mine(我的)/V/YHMySettingCell.swift
+2
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
c8881db8
...
...
@@ -752,6 +752,45 @@
path
=
PickerView
;
sourceTree
=
"<group>"
;
};
04594FCF2B9EEEEC00C34B15
/* MyCertificates(我的证书) */
=
{
isa
=
PBXGroup
;
children
=
(
04594FD32B9EEF5100C34B15
/* M */
,
04594FD22B9EEF2900C34B15
/* VM */
,
04594FD12B9EEF1700C34B15
/* V */
,
04594FD02B9EEF1000C34B15
/* C */
,
);
path
=
"MyCertificates(我的证书)"
;
sourceTree
=
"<group>"
;
};
04594FD02B9EEF1000C34B15
/* C */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
C
;
sourceTree
=
"<group>"
;
};
04594FD12B9EEF1700C34B15
/* V */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
V
;
sourceTree
=
"<group>"
;
};
04594FD22B9EEF2900C34B15
/* VM */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
VM
;
sourceTree
=
"<group>"
;
};
04594FD32B9EEF5100C34B15
/* M */
=
{
isa
=
PBXGroup
;
children
=
(
);
path
=
M
;
sourceTree
=
"<group>"
;
};
0468D4292B55017400CFB916
/* Analytics */
=
{
isa
=
PBXGroup
;
children
=
(
...
...
@@ -1706,6 +1745,7 @@
A5C382C82B5E101E00C5E65C
/* ServiceProcess(流程) */
=
{
isa
=
PBXGroup
;
children
=
(
04594FCF2B9EEEEC00C34B15
/* MyCertificates(我的证书) */
,
047294F62B9B0C5D008E0B84
/* MyDocuments(我的文书) */
,
047294F22B9B0C49008E0B84
/* MySignature(我的签字) */
,
04E86E222B81EA1000A35F4B
/* WorkExperience(工作经验) */
,
...
...
@@ -2364,7 +2404,7 @@
CODE_SIGN_IDENTITY
=
"Apple Development"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
2
;
CURRENT_PROJECT_VERSION
=
1
;
DEVELOPMENT_TEAM
=
""
;
"DEVELOPMENT_TEAM[sdk=iphoneos*]"
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
...
...
@@ -2384,7 +2424,7 @@
"$(inherited)"
,
"@executable_path/Frameworks"
,
);
MARKETING_VERSION
=
0.1.
7
;
MARKETING_VERSION
=
0.1.
8
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.intelligence.galaxy
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
...
...
@@ -2406,7 +2446,7 @@
CODE_SIGN_IDENTITY
=
"Apple Development"
;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]"
=
"iPhone Developer"
;
CODE_SIGN_STYLE
=
Manual
;
CURRENT_PROJECT_VERSION
=
2
;
CURRENT_PROJECT_VERSION
=
1
;
DEVELOPMENT_TEAM
=
""
;
"DEVELOPMENT_TEAM[sdk=iphoneos*]"
=
RXHYW88XR7
;
ENABLE_USER_SCRIPT_SANDBOXING
=
NO
;
...
...
@@ -2426,7 +2466,7 @@
"$(inherited)"
,
"@executable_path/Frameworks"
,
);
MARKETING_VERSION
=
0.1.
7
;
MARKETING_VERSION
=
0.1.
8
;
PRODUCT_BUNDLE_IDENTIFIER
=
com.intelligence.galaxy
;
PRODUCT_NAME
=
"$(TARGET_NAME)"
;
PROVISIONING_PROFILE_SPECIFIER
=
""
;
...
...
galaxy/galaxy/Classes/Modules/Home(首页)/C/YHHomeViewController.swift
View file @
c8881db8
...
...
@@ -271,11 +271,11 @@ extension YHHomeViewController {
self
.
homeTableView
.
es
.
addPullToRefresh
{
self
.
loadFirstItem
()
self
.
loadFirstItem
()
//for test hjl
}
self
.
homeTableView
.
es
.
startPullToRefresh
()
self
.
homeTableView
.
es
.
addInfiniteScrolling
{
self
.
loadFakeData
()
self
.
loadFakeData
()
//for test hjl
}
}
...
...
@@ -308,10 +308,12 @@ extension YHHomeViewController : UITableViewDelegate,UITableViewDataSource {
}
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
if
section
==
0
{
return
6
}
return
1
// if section == 0 {
// return 6
// }
// return 1//for test hjl
return
0
//for test hjl
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHInformationPerfectListVC.swift
View file @
c8881db8
...
...
@@ -395,10 +395,10 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
private
func
handleJumpLogicDebug
(
tapIndex
:
Int
)
{
if
self
.
serviceCenterMainReqVM
.
myInfoFillStep
>
6
{
goInfoListVCOp
(
index
:
tapIndex
)
return
}
//
if self.serviceCenterMainReqVM.myInfoFillStep > 6 {
//
goInfoListVCOp(index:tapIndex)
//
return
//
}
if
tapIndex
==
0
{
//主申请人信息
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/BaseInformation(基本资料)/C/YHBasicInfoFillViewController.swift
View file @
c8881db8
...
...
@@ -222,7 +222,8 @@ extension YHBasicInfoFillViewController {
self
.
basicInfoVM
.
saveBasicInfo
(
params
:
param
)
{[
weak
self
]
success
,
error
in
if
success
==
true
{
YHHUD
.
flash
(
message
:
"操作成功"
)
let
title
=
isSaveFlag
?
"保存成功"
:
"提交成功"
YHHUD
.
flash
(
message
:
title
)
if
isSaveFlag
==
false
{
DispatchQueue
.
main
.
asyncAfter
(
deadline
:
.
now
()
+
1.5
)
{
...
...
@@ -230,7 +231,9 @@ extension YHBasicInfoFillViewController {
}
}
}
else
{
let
msg
=
error
?
.
errorMsg
??
"操作失败"
let
title
=
isSaveFlag
?
"保存失败"
:
"提交失败"
let
msg
=
error
?
.
errorMsg
??
title
YHHUD
.
flash
(
message
:
msg
)
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/Education&Qualification(学历专业资格填写)/C/YHCollegeSearchViewController.swift
View file @
c8881db8
...
...
@@ -30,7 +30,7 @@ class YHCollegeSearchViewController: YHBaseViewController {
tableView
.
contentInsetAdjustmentBehavior
=
.
never
}
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
backgroundColor
=
.
clear
tableView
.
backgroundColor
=
.
white
tableView
.
separatorStyle
=
.
none
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
...
...
@@ -91,7 +91,7 @@ class YHCollegeSearchViewController: YHBaseViewController {
[
weak
self
]
text
in
guard
let
self
=
self
else
{
return
}
searchCollegeName
=
text
if
Date
()
.
timeIntervalSince1970
*
1000
-
lastSearchTime
*
1000
>=
50
0
{
if
Date
()
.
timeIntervalSince1970
-
lastSearchTime
>=
1.
0
{
lastSearchTime
=
Date
()
.
timeIntervalSince1970
searchCollege
()
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/Education&Qualification(学历专业资格填写)/C/YHEducationDetailVC.swift
View file @
c8881db8
...
...
@@ -28,13 +28,15 @@ class YHEducationDetailVC: YHBaseViewController {
lazy
var
tableView
:
UITableView
=
{
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
plain
)
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
grouped
)
if
#available(iOS 11.0, *)
{
tableView
.
contentInsetAdjustmentBehavior
=
.
never
}
tableView
.
estimatedSectionHeaderHeight
=
14.0
tableView
.
estimatedSectionFooterHeight
=
1.0
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
backgroundColor
=
.
clear
tableView
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
tableView
.
separatorStyle
=
.
none
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
...
...
@@ -54,6 +56,7 @@ class YHEducationDetailVC: YHBaseViewController {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
self
.
gk_navTitle
=
"学历"
.
local
self
.
gk_navigationBar
.
backgroundColor
=
.
white
view
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
createUI
()
}
...
...
@@ -266,12 +269,13 @@ extension YHEducationDetailVC : UITableViewDelegate, UITableViewDataSource {
return
UITableView
.
automaticDimension
}
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
UIView
?
{
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewFor
Foot
erInSection
section
:
Int
)
->
CGFloat
{
private
func
tableView
(
_
tableView
:
UITableView
,
viewFor
Head
erInSection
section
:
Int
)
->
CGFloat
{
return
14.0
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/Education&Qualification(学历专业资格填写)/C/YHEducationInfoListVC.swift
View file @
c8881db8
...
...
@@ -25,13 +25,15 @@ class YHEducationInfoListVC: YHBaseViewController {
lazy
var
tableView
:
UITableView
=
{
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
plain
)
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
grouped
)
if
#available(iOS 11.0, *)
{
tableView
.
contentInsetAdjustmentBehavior
=
.
never
}
tableView
.
estimatedSectionHeaderHeight
=
14.0
tableView
.
estimatedSectionFooterHeight
=
1.0
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
backgroundColor
=
.
clear
tableView
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
tableView
.
separatorStyle
=
.
none
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
...
...
@@ -53,6 +55,7 @@ class YHEducationInfoListVC: YHBaseViewController {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
self
.
gk_navTitle
=
"学历/专业资格填写"
.
local
self
.
gk_navigationBar
.
backgroundColor
=
.
white
view
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
createUI
()
}
...
...
@@ -407,10 +410,22 @@ extension YHEducationInfoListVC : UITableViewDelegate, UITableViewDataSource {
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
CGFloat
{
return
14.0
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
if
section
==
items
.
count
-
1
{
return
14.0
}
return
1.0
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
let
arr
=
items
[
indexPath
.
section
]
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/Education&Qualification(学历专业资格填写)/C/YHQualificationDetailVC.swift
View file @
c8881db8
...
...
@@ -27,13 +27,15 @@ class YHQualificationDetailVC: YHBaseViewController {
lazy
var
tableView
:
UITableView
=
{
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
plain
)
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
grouped
)
if
#available(iOS 11.0, *)
{
tableView
.
contentInsetAdjustmentBehavior
=
.
never
}
tableView
.
estimatedSectionHeaderHeight
=
14.0
tableView
.
estimatedSectionFooterHeight
=
1.0
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
backgroundColor
=
.
clear
tableView
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
tableView
.
separatorStyle
=
.
none
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
...
...
@@ -53,6 +55,7 @@ class YHQualificationDetailVC: YHBaseViewController {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
self
.
gk_navTitle
=
"专业资格及会员资格"
.
local
self
.
gk_navigationBar
.
backgroundColor
=
.
white
view
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
createUI
()
}
...
...
@@ -239,12 +242,12 @@ extension YHQualificationDetailVC : UITableViewDelegate, UITableViewDataSource {
return
UITableView
.
automaticDimension
}
func
tableView
(
_
tableView
:
UITableView
,
viewFor
Foot
erInSection
section
:
Int
)
->
UIView
?
{
func
tableView
(
_
tableView
:
UITableView
,
viewFor
Head
erInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewFor
Foot
erInSection
section
:
Int
)
->
CGFloat
{
private
func
tableView
(
_
tableView
:
UITableView
,
viewFor
Head
erInSection
section
:
Int
)
->
CGFloat
{
return
14.0
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/Education&Qualification(学历专业资格填写)/V/YHCollegeNameCell.swift
View file @
c8881db8
...
...
@@ -33,6 +33,8 @@ class YHCollegeNameCell: UITableViewCell {
func
setupUI
()
{
self
.
selectionStyle
=
.
none
contentView
.
backgroundColor
=
.
white
contentView
.
addSubview
(
titleLabel
)
titleLabel
.
snp
.
makeConstraints
{
make
in
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/Education&Qualification(学历专业资格填写)/V/YHEducationInfoCell.swift
View file @
c8881db8
...
...
@@ -94,6 +94,8 @@ class YHEducationInfoCell: UITableViewCell {
func
setupUI
()
{
self
.
selectionStyle
=
.
none
contentView
.
backgroundColor
=
.
white
contentView
.
addSubview
(
titleLabel
)
contentView
.
addSubview
(
subTitleLabel
)
contentView
.
addSubview
(
timeLabel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Certificates(证书上传和证书信息)/YHCertificateInfoController.swift
View file @
c8881db8
...
...
@@ -26,7 +26,7 @@ class YHCertificateInfoController: YHBaseViewController, YHFamilyMemberProtol {
tableView
.
estimatedSectionHeaderHeight
=
14.0
tableView
.
estimatedSectionFooterHeight
=
1.0
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
backgroundColor
=
.
clear
tableView
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
tableView
.
separatorStyle
=
.
none
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
...
...
@@ -45,6 +45,7 @@ class YHCertificateInfoController: YHBaseViewController, YHFamilyMemberProtol {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
gk_navigationBar
.
isHidden
=
true
view
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
createUI
()
loadInfo
()
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Certificates(证书上传和证书信息)/YHCertificateUploadVC.swift
View file @
c8881db8
...
...
@@ -42,7 +42,7 @@ class YHCertificateUploadVC: YHBaseViewController, YHFamilyMemberProtol {
if
#available(iOS 11.0, *)
{
tableView
.
contentInsetAdjustmentBehavior
=
.
never
}
tableView
.
backgroundColor
=
.
clear
tableView
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
tableView
.
separatorStyle
=
.
none
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Child(子女)/YHChildBasicInfoVC.swift
View file @
c8881db8
...
...
@@ -18,7 +18,7 @@ class YHChildBasicInfoVC: YHBaseViewController, YHFamilyMemberProtol {
lazy
var
tableView
:
UITableView
=
{
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
plain
)
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
grouped
)
if
#available(iOS 11.0, *)
{
tableView
.
contentInsetAdjustmentBehavior
=
.
never
...
...
@@ -26,7 +26,7 @@ class YHChildBasicInfoVC: YHBaseViewController, YHFamilyMemberProtol {
tableView
.
estimatedSectionHeaderHeight
=
14.0
tableView
.
estimatedSectionFooterHeight
=
1.0
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
backgroundColor
=
.
clear
tableView
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
tableView
.
separatorStyle
=
.
none
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
...
...
@@ -44,6 +44,7 @@ class YHChildBasicInfoVC: YHBaseViewController, YHFamilyMemberProtol {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
gk_navigationBar
.
isHidden
=
true
view
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
createUI
()
loadInfo
()
}
...
...
@@ -403,22 +404,27 @@ extension YHChildBasicInfoVC : UITableViewDelegate, UITableViewDataSource {
return
UITableView
.
automaticDimension
}
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
return
1.0
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
CGFloat
{
return
14.0
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
if
section
==
items
.
count
-
1
{
return
14.0
}
return
1.0
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
!
(
0
..<
items
.
count
)
.
contains
(
indexPath
.
section
)
{
return
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Child(子女)/YHChildInfoContainerVC.swift
View file @
c8881db8
...
...
@@ -83,6 +83,9 @@ class YHChildInfoContainerVC: YHBaseViewController, YHSpouseInfoVCProtocol {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
gk_navTitle
=
"子女信息填写"
.
local
gk_navigationBar
.
backgroundColor
=
.
white
view
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
createUI
()
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Child(子女)/YHChildPrimaryInfoVC.swift
View file @
c8881db8
...
...
@@ -20,7 +20,7 @@ class YHChildPrimaryInfoVC: YHBaseViewController, YHFamilyMemberProtol {
lazy
var
tableView
:
UITableView
=
{
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
plain
)
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
grouped
)
if
#available(iOS 11.0, *)
{
tableView
.
contentInsetAdjustmentBehavior
=
.
never
...
...
@@ -28,7 +28,7 @@ class YHChildPrimaryInfoVC: YHBaseViewController, YHFamilyMemberProtol {
tableView
.
estimatedSectionHeaderHeight
=
14.0
tableView
.
estimatedSectionFooterHeight
=
1.0
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
backgroundColor
=
.
clear
tableView
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
tableView
.
separatorStyle
=
.
none
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
...
...
@@ -47,6 +47,7 @@ class YHChildPrimaryInfoVC: YHBaseViewController, YHFamilyMemberProtol {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
gk_navigationBar
.
isHidden
=
true
view
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
createUI
()
loadInfo
()
}
...
...
@@ -295,7 +296,7 @@ extension YHChildPrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
guard
let
child
=
child
else
{
return
}
if
detailItem
.
type
==
.
detailAddress
{
if
child
.
address
.
is
InChina
()
{
if
child
.
isLive
InChina
()
{
child
.
address
.
details
=
text
??
""
}
else
{
child
.
address
.
foreign
=
text
??
""
...
...
@@ -332,22 +333,27 @@ extension YHChildPrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
return
UITableView
.
automaticDimension
}
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
return
1.0
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
CGFloat
{
return
14.0
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
if
section
==
items
.
count
-
1
{
return
14.0
}
return
1.0
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
!
(
0
..<
items
.
count
)
.
contains
(
indexPath
.
section
)
{
return
}
...
...
@@ -466,7 +472,7 @@ extension YHChildPrimaryInfoVC {
if
isEmptyString
(
child
.
address
.
country
)
{
return
false
}
if
child
.
address
.
is
InChina
()
{
if
child
.
isLive
InChina
()
{
if
isEmptyArray
(
child
.
address
.
area
)
{
return
false
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Parents&Brothers(父母和兄弟姐妹)/YHBrotherInfoVC.swift
View file @
c8881db8
...
...
@@ -26,13 +26,15 @@ class YHBrotherInfoVC: YHBaseViewController {
lazy
var
tableView
:
UITableView
=
{
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
plain
)
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
grouped
)
if
#available(iOS 11.0, *)
{
tableView
.
contentInsetAdjustmentBehavior
=
.
never
}
tableView
.
estimatedSectionHeaderHeight
=
14.0
tableView
.
estimatedSectionFooterHeight
=
1.0
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
backgroundColor
=
.
clear
tableView
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
tableView
.
separatorStyle
=
.
none
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
...
...
@@ -51,6 +53,8 @@ class YHBrotherInfoVC: YHBaseViewController {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
gk_navTitle
=
"兄弟姐妹信息填写"
.
local
gk_navigationBar
.
backgroundColor
=
.
white
view
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
createUI
()
loadInfo
()
}
...
...
@@ -379,10 +383,22 @@ extension YHBrotherInfoVC : UITableViewDelegate, UITableViewDataSource {
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
CGFloat
{
return
14.0
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
if
section
==
items
.
count
-
1
{
return
14.0
}
return
1.0
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
!
(
0
..<
items
.
count
)
.
contains
(
indexPath
.
section
)
{
return
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Parents&Brothers(父母和兄弟姐妹)/YHParentInfoVC.swift
View file @
c8881db8
...
...
@@ -26,13 +26,15 @@ class YHParentInfoVC: YHBaseViewController {
lazy
var
tableView
:
UITableView
=
{
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
plain
)
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
grouped
)
if
#available(iOS 11.0, *)
{
tableView
.
contentInsetAdjustmentBehavior
=
.
never
}
tableView
.
estimatedSectionHeaderHeight
=
14.0
tableView
.
estimatedSectionFooterHeight
=
1.0
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
backgroundColor
=
.
clear
tableView
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
tableView
.
separatorStyle
=
.
none
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
...
...
@@ -53,6 +55,8 @@ class YHParentInfoVC: YHBaseViewController {
if
let
parentInfo
=
parentInfo
{
gk_navTitle
=
parentInfo
.
relationType
==
.
father
?
"父亲信息填写"
.
local
:
"母亲信息填写"
.
local
}
gk_navigationBar
.
backgroundColor
=
.
white
view
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
createUI
()
loadInfo
()
}
...
...
@@ -424,10 +428,22 @@ extension YHParentInfoVC : UITableViewDelegate, UITableViewDataSource {
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
CGFloat
{
return
14.0
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
if
section
==
items
.
count
-
1
{
return
14.0
}
return
1.0
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
!
(
0
..<
items
.
count
)
.
contains
(
indexPath
.
section
)
{
return
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseBasicInfoVC.swift
View file @
c8881db8
...
...
@@ -40,7 +40,7 @@ class YHSpouseBasicInfoVC: YHBaseViewController, YHFamilyMemberProtol {
tableView
.
estimatedSectionHeaderHeight
=
14.0
tableView
.
estimatedSectionFooterHeight
=
1.0
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
backgroundColor
=
.
clear
tableView
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
tableView
.
separatorStyle
=
.
none
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
...
...
@@ -60,6 +60,7 @@ class YHSpouseBasicInfoVC: YHBaseViewController, YHFamilyMemberProtol {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
gk_navigationBar
.
isHidden
=
true
view
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
createUI
()
loadInfo
()
}
...
...
@@ -591,22 +592,27 @@ extension YHSpouseBasicInfoVC : UITableViewDelegate, UITableViewDataSource {
return
UITableView
.
automaticDimension
}
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
return
1.0
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
CGFloat
{
return
14.0
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
if
section
==
items
.
count
-
1
{
return
14.0
}
return
1.0
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
!
(
0
..<
items
.
count
)
.
contains
(
indexPath
.
section
)
{
return
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpouseInfoContainerVC.swift
View file @
c8881db8
...
...
@@ -100,6 +100,8 @@ class YHSpouseInfoContainerVC: YHBaseViewController, YHSpouseInfoVCProtocol {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
gk_navTitle
=
"配偶信息填写"
.
local
gk_navigationBar
.
backgroundColor
=
.
white
view
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
createUI
()
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/Spouse(配偶)/YHSpousePrimaryInfoVC.swift
View file @
c8881db8
...
...
@@ -30,7 +30,7 @@ class YHSpousePrimaryInfoVC: YHBaseViewController, YHFamilyMemberProtol {
tableView
.
estimatedSectionHeaderHeight
=
14.0
tableView
.
estimatedSectionFooterHeight
=
1.0
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
backgroundColor
=
.
clear
tableView
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
tableView
.
separatorStyle
=
.
none
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
...
...
@@ -46,6 +46,7 @@ class YHSpousePrimaryInfoVC: YHBaseViewController, YHFamilyMemberProtol {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
gk_navigationBar
.
isHidden
=
true
view
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
createUI
()
loadInfo
()
}
...
...
@@ -250,7 +251,7 @@ extension YHSpousePrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
if
detailItem
.
type
==
.
detailAddress
{
if
spouse
.
address
.
is
InChina
()
{
if
spouse
.
isLive
InChina
()
{
spouse
.
address
.
details
=
text
??
""
}
else
{
spouse
.
address
.
foreign
=
text
??
""
...
...
@@ -286,22 +287,27 @@ extension YHSpousePrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
return
UITableView
.
automaticDimension
}
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
return
1.0
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
CGFloat
{
return
14.0
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
if
section
==
items
.
count
-
1
{
return
14.0
}
return
1.0
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
!
(
0
..<
items
.
count
)
.
contains
(
indexPath
.
section
)
{
return
}
...
...
@@ -387,7 +393,7 @@ extension YHSpousePrimaryInfoVC : UITableViewDelegate, UITableViewDataSource {
if
isEmptyString
(
spouse
.
address
.
country
)
{
return
false
}
if
spouse
.
address
.
is
InChina
()
{
if
spouse
.
isLive
InChina
()
{
if
isEmptyArray
(
spouse
.
address
.
area
)
{
return
false
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/C/YHFamilyMemberInfoListVC.swift
View file @
c8881db8
...
...
@@ -27,13 +27,15 @@ class YHFamilyMemberInfoListVC: YHBaseViewController {
lazy
var
tableView
:
UITableView
=
{
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
plain
)
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
grouped
)
if
#available(iOS 11.0, *)
{
tableView
.
contentInsetAdjustmentBehavior
=
.
never
}
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
backgroundColor
=
.
clear
tableView
.
estimatedSectionHeaderHeight
=
14.0
tableView
.
estimatedSectionFooterHeight
=
1.0
tableView
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
tableView
.
separatorStyle
=
.
none
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
...
...
@@ -69,6 +71,7 @@ class YHFamilyMemberInfoListVC: YHBaseViewController {
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
self
.
gk_navTitle
=
"家庭成员信息填写"
.
local
gk_navigationBar
.
backgroundColor
=
.
white
view
.
backgroundColor
=
UIColor
(
hexString
:
"#F8F8F8"
)
createUI
()
}
...
...
@@ -235,7 +238,7 @@ extension YHFamilyMemberInfoListVC {
// 请求家庭成员信息
func
requestFamilyInfo
()
{
self
.
familyRequest
.
getFamilyInfo
(
params
:
[
"order_id"
:
self
.
orderId
]
)
{
[
weak
self
]
detail
,
error
in
self
.
familyRequest
.
getFamilyInfo
List
(
orderId
:
orderId
)
{
[
weak
self
]
detail
,
error
in
guard
let
self
=
self
else
{
return
}
if
let
detail
=
detail
{
familyMemberInfo
=
detail
...
...
@@ -527,10 +530,22 @@ extension YHFamilyMemberInfoListVC : UITableViewDelegate, UITableViewDataSource
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
CGFloat
{
return
14.0
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
if
section
==
items
.
count
-
1
{
return
14.0
}
return
1.0
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
let
arr
=
items
[
indexPath
.
section
]
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyInitialInfo.swift
View file @
c8881db8
...
...
@@ -665,12 +665,7 @@ class YHFamilyMember: SmartCodable, YHFormItemProtocol {
if
isLiveOverseaYear
!=
1
&&
isLiveOverseaYear
!=
2
{
// 默认在海外未居住满一年以上
isLiveOverseaYear
=
2
}
if
sex
!=
1
&&
sex
!=
2
{
// 默认为男性
sex
=
1
}
return
self
}
...
...
@@ -874,6 +869,16 @@ class YHFamilyMember: SmartCodable, YHFormItemProtocol {
self
.
childStepchild
.
has
=
(
val
?
"Y"
:
"N"
)
}
// 是否住在中国
func
isLiveInChina
()
->
Bool
{
// 默认在中国
if
isEmptyString
(
self
.
address
.
country
)
{
return
true
}
if
self
.
address
.
country
.
contains
(
"中国"
)
{
return
true
}
return
false
}
// 根据生日推算年龄
func
getAge
(
birthday
:
String
)
->
Int
{
let
arr
=
birthday
.
components
(
separatedBy
:
YHDatePickView
.
separator
)
...
...
@@ -986,16 +991,6 @@ class YHAddress: SmartCodable {
}
// 是否在中国
func
isInChina
()
->
Bool
{
// 默认在中国
if
isEmptyString
(
country
)
{
return
true
}
if
country
.
contains
(
"中国"
)
{
return
true
}
return
false
}
// 清空地址信息
func
clearAddress
()
{
self
.
area
=
[]
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/M/YHFamilyRequestViewModel.swift
View file @
c8881db8
...
...
@@ -10,17 +10,15 @@
class
YHFamilyRequestViewModel
{
//请求所有家庭成员信息
func
getFamilyInfo
(
params
:[
String
:
Any
]
,
callBackBlock
:
@escaping
(
_
listInfo
:
YHFamilyMemberGroupInfo
?,
_
error
:
YHErrorModel
?)
->
())
{
func
getFamilyInfo
List
(
orderId
:
Int
,
callBackBlock
:
@escaping
(
_
listInfo
:
YHFamilyMemberGroupInfo
?,
_
error
:
YHErrorModel
?)
->
())
{
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Family
.
familyInfoApi
let
params
=
[
"order_id"
:
orderId
]
YHHUD
.
show
(
.
progress
(
message
:
"数据加载中..."
))
let
_
=
YHNetRequest
.
getRequest
(
url
:
strUrl
,
params
:
params
)
{
[
weak
self
]
json
,
code
in
let
_
=
YHNetRequest
.
getRequest
(
url
:
strUrl
,
params
:
params
)
{
json
,
code
in
YHHUD
.
hide
()
guard
let
self
=
self
else
{
return
}
printLog
(
"model 是 ==>
\(
json
)
"
)
let
dic
=
json
.
data
...
...
@@ -50,14 +48,12 @@ class YHFamilyRequestViewModel {
}
let
strUrl
=
YHBaseUrlManager
.
shared
.
curURL
()
+
YHAllApiName
.
Family
.
familyInfoApi
// let strUrl = "http://192.168.34.187:8808/" + YHAllApiName.Family.familyInfoApi
let
_
=
YHNetRequest
.
postRequest
(
url
:
strUrl
,
params
:
params
)
{
[
weak
self
]
json
,
code
in
let
_
=
YHNetRequest
.
postRequest
(
url
:
strUrl
,
params
:
params
)
{
json
,
code
in
if
isShowLoading
{
YHHUD
.
hide
()
}
guard
let
self
=
self
else
{
return
}
printLog
(
"model 是 ==>
\(
json
)
"
)
if
json
.
code
==
NetWorkCode
.
success
.
rawValue
{
callBackBlock
(
true
,
nil
)
...
...
@@ -144,8 +140,8 @@ class YHFamilyRequestViewModel {
func
requestFamilyMemberDetailInfo
(
memberType
:
YHFamilyMemberType
,
orderId
:
Int
,
callBack
:((
_
detail
:
YHFamilyMember
?)
->
Void
)?)
{
let
params
:[
String
:
Any
]
=
[
"order_id"
:
orderId
]
self
.
getFamilyInfo
(
params
:
params
)
{
[
weak
self
]
listInfo
,
error
in
self
.
getFamilyInfo
List
(
orderId
:
orderId
)
{
listInfo
,
error
in
guard
let
callBack
=
callBack
else
{
return
}
if
let
listInfo
=
listInfo
{
if
memberType
==
.
spouse
{
...
...
@@ -154,6 +150,8 @@ class YHFamilyRequestViewModel {
callBack
(
listInfo
.
father
)
}
else
if
memberType
==
.
mother
{
callBack
(
listInfo
.
mother
)
}
else
{
callBack
(
nil
)
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/PickerView/YHSheetPickerView.swift
View file @
c8881db8
...
...
@@ -248,8 +248,8 @@ class YHSheetPickerView: UIView {
// 学位颁发地区
.
degreeLocation
:
[
YHSheetPickerViewItem
(
title
:
"国内 (颁发)"
.
local
,
index
:
0
),
YHSheetPickerViewItem
(
title
:
"国外 (颁发)"
.
local
,
index
:
1
),
[
YHSheetPickerViewItem
(
title
:
"国内 (颁发)"
.
local
,
index
:
1
),
YHSheetPickerViewItem
(
title
:
"国外 (颁发)"
.
local
,
index
:
2
),
],
// 专业证书
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemAddCell.swift
View file @
c8881db8
...
...
@@ -63,6 +63,8 @@ class YHFormItemAddCell: UITableViewCell {
func
setupUI
()
{
self
.
selectionStyle
=
.
none
contentView
.
backgroundColor
=
.
white
contentView
.
addSubview
(
addBtn
)
addBtn
.
layer
.
addSublayer
(
dotLineLayer
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemDegreeInfoCell.swift
View file @
c8881db8
...
...
@@ -104,6 +104,7 @@ class YHFormItemDegreeInfoCell: UITableViewCell {
func
setupUI
()
{
self
.
selectionStyle
=
.
none
contentView
.
backgroundColor
=
.
white
contentView
.
addSubview
(
titleLabel
)
contentView
.
addSubview
(
deleteButton
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemDoubleChoiceCell.swift
View file @
c8881db8
...
...
@@ -164,7 +164,8 @@ class YHFormItemDoubleChoiceCell: UITableViewCell {
func
setupUI
()
{
self
.
selectionStyle
=
.
none
contentView
.
backgroundColor
=
.
white
contentView
.
addSubview
(
titleLabel
)
contentView
.
addSubview
(
answer2Btn
)
contentView
.
addSubview
(
answer1Btn
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemEnterDetailCell.swift
View file @
c8881db8
...
...
@@ -106,6 +106,8 @@ class YHFormItemEnterDetailCell: UITableViewCell {
func
setupUI
()
{
self
.
selectionStyle
=
.
none
contentView
.
backgroundColor
=
.
white
contentView
.
addSubview
(
titleLabel
)
contentView
.
addSubview
(
detailLabel
)
contentView
.
addSubview
(
arrowImgView
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemExpireDateCell.swift
View file @
c8881db8
...
...
@@ -123,6 +123,8 @@ class YHFormItemExpireDateCell: UITableViewCell {
func
setupUI
()
{
self
.
selectionStyle
=
.
none
contentView
.
backgroundColor
=
.
white
detail
=
""
contentView
.
addSubview
(
titleLabel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemInputTextCell.swift
View file @
c8881db8
...
...
@@ -109,6 +109,8 @@ class YHFormItemInputTextCell: UITableViewCell {
func
setupUI
()
{
self
.
selectionStyle
=
.
none
contentView
.
backgroundColor
=
.
white
contentView
.
addSubview
(
titleLabel
)
contentView
.
addSubview
(
textField
)
contentView
.
addSubview
(
tipsLabel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemOnlyDoubleChoiceCell.swift
View file @
c8881db8
...
...
@@ -94,6 +94,8 @@ class YHFormItemOnlyDoubleChoiceCell: UITableViewCell {
func
setupUI
()
{
self
.
selectionStyle
=
.
none
contentView
.
backgroundColor
=
.
white
contentView
.
addSubview
(
answer1Btn
)
contentView
.
addSubview
(
answer2Btn
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemQuestionsCell.swift
View file @
c8881db8
...
...
@@ -151,7 +151,8 @@ class YHFormItemQuestionsCell: UITableViewCell {
func
setupUI
()
{
self
.
selectionStyle
=
.
none
contentView
.
backgroundColor
=
.
white
contentView
.
addSubview
(
titleLabel
)
contentView
.
addSubview
(
answer2Btn
)
contentView
.
addSubview
(
answer1Btn
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemSelectSheetCell.swift
View file @
c8881db8
...
...
@@ -129,6 +129,8 @@ class YHFormItemSelectSheetCell: UITableViewCell {
func
setupUI
()
{
self
.
selectionStyle
=
.
none
contentView
.
backgroundColor
=
.
white
contentView
.
addSubview
(
titleLabel
)
contentView
.
addSubview
(
detailLabel
)
contentView
.
addSubview
(
arrowImgView
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/FamilyMember(家庭成员信息表)/V/YHFormItemTitleCell.swift
View file @
c8881db8
...
...
@@ -91,6 +91,8 @@ class YHFormItemTitleCell: UITableViewCell {
func
setupUI
()
{
self
.
selectionStyle
=
.
none
contentView
.
backgroundColor
=
.
white
contentView
.
addSubview
(
titleLabel
)
contentView
.
addSubview
(
editButton
)
contentView
.
addSubview
(
cancelButton
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/MyScore(我的评分)/V/YHScoreOptionsView.swift
View file @
c8881db8
...
...
@@ -60,6 +60,8 @@ class YHScoreOptionsView: UIView {
private
extension
YHScoreOptionsView
{
func
setupUI
()
{
backgroundColor
=
.
white
addSubview
(
bottomLine
)
bottomLine
.
snp
.
makeConstraints
{
make
in
make
.
bottom
.
left
.
right
.
equalToSuperview
()
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/OtherInformation(其他信息)/C/YHOtherInfoFillViewController.swift
View file @
c8881db8
...
...
@@ -121,14 +121,19 @@ extension YHOtherInfoFillViewController {
otherInfoVM
.
saveOtherInfo
(
params
:
param
)
{
success
,
error
in
if
success
==
true
{
YHHUD
.
flash
(
message
:
"操作成功"
)
let
msg
=
flag
?
"提交成功"
:
"保存成功"
YHHUD
.
flash
(
message
:
msg
)
if
flag
==
true
{
DispatchQueue
.
main
.
asyncAfter
(
wallDeadline
:
.
now
()
+
1.5
)
{[
weak
self
]
in
self
?
.
navigationController
?
.
popViewController
(
animated
:
true
)
}
}
}
else
{
let
msg
=
error
?
.
errorMsg
??
"操作失败"
let
tips
=
flag
?
"提交失败"
:
"保存失败"
let
msg
=
error
?
.
errorMsg
??
tips
YHHUD
.
flash
(
message
:
msg
)
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/OtherInformation(其他信息)/M/YHOtherInfoFillModel.swift
View file @
c8881db8
...
...
@@ -52,6 +52,7 @@ class LanguageDetail : SmartCodable {
var
levelDes
:
String
=
""
var
name
:
String
=
""
var
remark
:
String
=
""
var
localRemark
:
String
=
""
//以下为本地使用的参数
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/OtherInformation(其他信息)/V/YHOtherInfoFillCell.swift
View file @
c8881db8
...
...
@@ -385,7 +385,7 @@ extension YHOtherInfoFillCell {
//7、其他奖励
let
fzView7
=
YHOtherTextViewItemView
(
frame
:
.
zero
)
fzView7
.
updateUI
(
title
:
"7、其他
奖励
"
,
value
:
dataModel
.
question
?
.
other_information
??
""
,
type
:
.
otherAwards
)
fzView7
.
updateUI
(
title
:
"7、其他
资料
"
,
value
:
dataModel
.
question
?
.
other_information
??
""
,
type
:
.
otherAwards
)
fzView7
.
block
=
{
txt
in
dataModel
.
question
?
.
other_information
=
txt
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/OtherInformation(其他信息)/V/YHOtherSelecteItemView.swift
View file @
c8881db8
...
...
@@ -282,7 +282,8 @@ extension YHOtherSelecteItemView {
if
longTimeButton
.
isSelected
{
longTimeButton
.
snp
.
remakeConstraints
{
make
in
make
.
centerX
.
equalToSuperview
()
make
.
left
.
equalTo
(
titleLabel
.
snp
.
right
)
.
offset
(
40
)
make
.
centerY
.
equalToSuperview
()
make
.
height
.
equalTo
(
32
)
make
.
width
.
equalTo
(
43
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/C/YHPreviewFamilyMemberViewController.swift
View file @
c8881db8
...
...
@@ -47,25 +47,18 @@ private extension YHPreviewFamilyMemberViewController {
make
.
height
.
equalTo
(
56
)
}
parentButton
=
createButton
()
parentButton
.
setTitle
(
"父母"
,
for
:
.
normal
)
buttonHoldView
.
addSubview
(
parentButton
)
parentButton
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
make
.
left
.
equalToSuperview
()
make
.
height
.
equalTo
(
32
)
make
.
width
.
equalTo
(
68
)
}
spouseButton
=
createButton
()
spouseButton
.
setTitle
(
"配偶"
,
for
:
.
normal
)
buttonHoldView
.
addSubview
(
spouseButton
)
spouseButton
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
make
.
left
.
equalTo
(
parentButton
.
snp
.
right
)
.
offset
(
12
)
make
.
left
.
equalTo
Superview
(
)
make
.
height
.
equalTo
(
32
)
make
.
width
.
equalTo
(
68
)
}
childrenButton
=
createButton
()
...
...
@@ -79,12 +72,27 @@ private extension YHPreviewFamilyMemberViewController {
}
parentButton
=
createButton
()
parentButton
.
setTitle
(
"父母"
,
for
:
.
normal
)
buttonHoldView
.
addSubview
(
parentButton
)
parentButton
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
make
.
left
.
equalTo
(
childrenButton
.
snp
.
right
)
.
offset
(
12
)
make
.
height
.
equalTo
(
32
)
make
.
width
.
equalTo
(
68
)
}
brotherButton
=
createButton
()
brotherButton
.
setTitle
(
"兄弟姐妹"
,
for
:
.
normal
)
buttonHoldView
.
addSubview
(
brotherButton
)
brotherButton
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
make
.
left
.
equalTo
(
children
Button
.
snp
.
right
)
.
offset
(
12
)
make
.
left
.
equalTo
(
parent
Button
.
snp
.
right
)
.
offset
(
12
)
make
.
height
.
equalTo
(
32
)
make
.
width
.
equalTo
(
84
)
}
...
...
@@ -113,6 +121,112 @@ private extension YHPreviewFamilyMemberViewController {
}
}
private
func
layouButtons
()
{
spouseButton
.
snp
.
removeConstraints
()
childrenButton
.
snp
.
removeConstraints
()
parentButton
.
snp
.
removeConstraints
()
brotherButton
.
snp
.
removeConstraints
()
var
lastTagView
:
UIView
?
=
nil
//配偶
if
previewVM
.
arrDataForSpouse
.
isEmpty
==
false
{
spouseButton
.
isHidden
=
false
spouseButton
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
make
.
left
.
equalToSuperview
()
make
.
height
.
equalTo
(
32
)
make
.
width
.
equalTo
(
68
)
}
lastTagView
=
spouseButton
}
else
{
spouseButton
.
isHidden
=
true
}
//子女
if
previewVM
.
arrDataForChildren
.
isEmpty
==
false
{
childrenButton
.
isHidden
=
false
if
let
lastTagView
=
lastTagView
{
childrenButton
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
make
.
left
.
equalTo
(
lastTagView
.
snp
.
right
)
.
offset
(
12
)
make
.
height
.
equalTo
(
32
)
make
.
width
.
equalTo
(
68
)
}
}
else
{
childrenButton
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
make
.
left
.
equalToSuperview
()
make
.
height
.
equalTo
(
32
)
make
.
width
.
equalTo
(
68
)
}
}
lastTagView
=
childrenButton
}
else
{
childrenButton
.
isHidden
=
true
}
//父母
if
previewVM
.
arrDataForParents
.
isEmpty
==
false
{
parentButton
.
isHidden
=
false
if
let
lastTagView
=
lastTagView
{
parentButton
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
make
.
left
.
equalTo
(
lastTagView
.
snp
.
right
)
.
offset
(
12
)
make
.
height
.
equalTo
(
32
)
make
.
width
.
equalTo
(
68
)
}
}
else
{
parentButton
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
make
.
left
.
equalToSuperview
()
make
.
height
.
equalTo
(
32
)
make
.
width
.
equalTo
(
68
)
}
}
lastTagView
=
parentButton
}
else
{
parentButton
.
isHidden
=
true
}
//兄弟姐妹
if
previewVM
.
arrDataForBrother
.
isEmpty
==
false
{
brotherButton
.
isHidden
=
false
if
let
lastTagView
=
lastTagView
{
brotherButton
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
make
.
left
.
equalTo
(
lastTagView
.
snp
.
right
)
.
offset
(
12
)
make
.
height
.
equalTo
(
32
)
make
.
width
.
equalTo
(
68
)
}
}
else
{
brotherButton
.
snp
.
makeConstraints
{
make
in
make
.
centerY
.
equalToSuperview
()
make
.
left
.
equalToSuperview
()
make
.
height
.
equalTo
(
32
)
make
.
width
.
equalTo
(
68
)
}
}
lastTagView
=
brotherButton
}
else
{
brotherButton
.
isHidden
=
true
}
}
func
createButton
()
->
UIButton
{
let
btn
=
UIButton
(
type
:
.
custom
)
btn
.
backgroundColor
=
UIColor
.
white
...
...
@@ -163,12 +277,14 @@ private extension YHPreviewFamilyMemberViewController {
}
else
{
}
self
.
layouButtons
()
self
.
homeTableView
.
reloadData
()
return
}
}
else
{
printLog
(
"error : orderID 为空"
)
}
self
.
layouButtons
()
self
.
homeTableView
.
reloadData
()
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/C/YHPreviewMainApplicantInfoViewController.swift
View file @
c8881db8
...
...
@@ -17,6 +17,11 @@ class YHPreviewMainApplicantInfoViewController: YHPreviewBaseViewController {
setupUI
()
loadData
()
}
override
func
viewWillAppear
(
_
animated
:
Bool
)
{
super
.
viewWillAppear
(
animated
)
homeTableView
.
reloadData
()
}
}
private
extension
YHPreviewMainApplicantInfoViewController
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/V/YHPreviewInfoNameAndSubNameItemView.swift
View file @
c8881db8
...
...
@@ -65,14 +65,21 @@ extension YHPreviewInfoNameAndSubNameItemView {
subtitleLable
.
text
=
subtitle
//处理特长的字符
if
title
.
contains
(
"相关工作是否属国际工作经验:"
)
||
title
.
contains
(
"公司营业额/港元(近一年):"
)
||
title
.
contains
(
"是否在海外居住满1年及以上:"
)
{
if
title
.
contains
(
"相关工作是否属国际工作经验:"
)
||
title
.
contains
(
"公司营业额/港元(近一年):"
)
||
title
.
contains
(
"是否在海外居住满1年及以上:"
)
{
nameLable
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
.
offset
(
18
)
make
.
left
.
equalToSuperview
()
make
.
width
.
lessThanOrEqualTo
(
2
0
0
)
make
.
width
.
lessThanOrEqualTo
(
2
4
0
)
make
.
height
.
equalTo
(
20
)
}
nameLable
.
setContentCompressionResistancePriority
(
.
required
,
for
:
.
horizontal
)
}
else
if
title
.
contains
(
"主申请人或现配偶是否拥有孩子护养权:"
)
{
nameLable
.
snp
.
remakeConstraints
{
make
in
make
.
top
.
equalToSuperview
()
.
offset
(
18
)
make
.
left
.
equalToSuperview
()
make
.
width
.
lessThanOrEqualTo
(
260
)
make
.
height
.
equalTo
(
20
)
}
}
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/ServiceProcess(流程)/PersonInfoList(个人信息预览)/VM/YHPreviewViewModel.swift
View file @
c8881db8
This diff is collapsed.
Click to expand it.
galaxy/galaxy/Classes/Modules/Login(登录)/C/YHPhoneLoginViewController.swift
View file @
c8881db8
...
...
@@ -9,7 +9,7 @@
import
UIKit
class
YHPhoneLoginViewController
:
YHBaseViewController
{
var
bgImageView
:
UIImageView
!
var
closeButton
:
UIButton
!
var
logImageView
:
UIImageView
!
...
...
@@ -186,6 +186,11 @@ class YHPhoneLoginViewController: YHBaseViewController {
self
.
navigationController
?
.
pushViewController
(
vc
)
}
else
{
YHHUD
.
flash
(
message
:
error
?
.
errorMsg
??
""
)
#if DEBUG
let
vc
=
YHCodeSueecssViewController
()
vc
.
phoneNumber
=
self
.
phoneMessageView
.
phoneTextField
.
text
self
.
navigationController
?
.
pushViewController
(
vc
)
#endif
}
})
}
else
{
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/C/YHMySettingViewController.swift
View file @
c8881db8
...
...
@@ -17,7 +17,7 @@ class YHMySettingViewController: YHBaseViewController, ConstraintRelatableTarget
if
#available(iOS 11.0, *)
{
tableView
.
contentInsetAdjustmentBehavior
=
.
never
}
tableView
.
backgroundColor
=
.
clear
tableView
.
backgroundColor
=
.
white
tableView
.
separatorStyle
=
.
none
tableView
.
register
(
YHMySettingCell
.
self
,
forCellReuseIdentifier
:
YHMySettingCell
.
cellReuseIdentifier
)
tableView
.
delegate
=
self
...
...
galaxy/galaxy/Classes/Modules/Mine(我的)/V/YHMySettingCell.swift
View file @
c8881db8
...
...
@@ -38,6 +38,8 @@ class YHMySettingCell: UITableViewCell {
func
setupUI
()
{
self
.
selectionStyle
=
.
none
contentView
.
backgroundColor
=
.
white
contentView
.
addSubview
(
titleLabel
)
contentView
.
addSubview
(
arrowImgView
)
...
...
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