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
fd6d18b9
Commit
fd6d18b9
authored
Aug 16, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 风险预警cell
parent
97107efe
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
221 additions
and
3 deletions
+221
-3
project.pbxproj
galaxy/galaxy.xcodeproj/project.pbxproj
+4
-0
YHFamilyInfoConfirmViewController.swift
...Confirm(家庭信息确认)/C/YHFamilyInfoConfirmViewController.swift
+71
-3
YHRiskWarningCell.swift
...(办证段)/FamilyInfoConfirm(家庭信息确认)/V/YHRiskWarningCell.swift
+102
-0
Contents.json
...ServiceCenter/客服段/办证段/risk_warn_bg.imageset/Contents.json
+22
-0
Rectangle 346241441@2x.png
.../客服段/办证段/risk_warn_bg.imageset/Rectangle 346241441@2x.png
+0
-0
Rectangle 346241441@3x.png
.../客服段/办证段/risk_warn_bg.imageset/Rectangle 346241441@3x.png
+0
-0
Contents.json
...rviceCenter/客服段/办证段/risk_warn_icon.imageset/Contents.json
+22
-0
Group 33332558@2x.png
...ter/客服段/办证段/risk_warn_icon.imageset/Group 33332558@2x.png
+0
-0
Group 33332558@3x.png
...ter/客服段/办证段/risk_warn_icon.imageset/Group 33332558@3x.png
+0
-0
No files found.
galaxy/galaxy.xcodeproj/project.pbxproj
View file @
fd6d18b9
...
@@ -332,6 +332,7 @@
...
@@ -332,6 +332,7 @@
049AC4C62BC3E55300F857F4
/* YHServiceSectionView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
049AC4C52BC3E55300F857F4
/* YHServiceSectionView.swift */
;
};
049AC4C62BC3E55300F857F4
/* YHServiceSectionView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
049AC4C52BC3E55300F857F4
/* YHServiceSectionView.swift */
;
};
049D62C02C6F1E6700E811A1
/* YHFamilyInfoWarmTipsView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
049D62BF2C6F1E6700E811A1
/* YHFamilyInfoWarmTipsView.swift */
;
};
049D62C02C6F1E6700E811A1
/* YHFamilyInfoWarmTipsView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
049D62BF2C6F1E6700E811A1
/* YHFamilyInfoWarmTipsView.swift */
;
};
049D62C22C6F258700E811A1
/* YHFamilyInfoConfirmViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
049D62C12C6F258700E811A1
/* YHFamilyInfoConfirmViewController.swift */
;
};
049D62C22C6F258700E811A1
/* YHFamilyInfoConfirmViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
049D62C12C6F258700E811A1
/* YHFamilyInfoConfirmViewController.swift */
;
};
049D62C52C6F272800E811A1
/* YHRiskWarningCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
049D62C42C6F272800E811A1
/* YHRiskWarningCell.swift */
;
};
04A271232BABFF3200652B1B
/* YHCertificateUploadTypeCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04A271222BABFF3200652B1B
/* YHCertificateUploadTypeCell.swift */
;
};
04A271232BABFF3200652B1B
/* YHCertificateUploadTypeCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04A271222BABFF3200652B1B
/* YHCertificateUploadTypeCell.swift */
;
};
04A271252BAC33BB00652B1B
/* YHFilePreviewTool.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04A271242BAC33BB00652B1B
/* YHFilePreviewTool.swift */
;
};
04A271252BAC33BB00652B1B
/* YHFilePreviewTool.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04A271242BAC33BB00652B1B
/* YHFilePreviewTool.swift */
;
};
04A671592B9F18C800C1FB91
/* YHCertificateUploadSheetView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04A671582B9F18C800C1FB91
/* YHCertificateUploadSheetView.swift */
;
};
04A671592B9F18C800C1FB91
/* YHCertificateUploadSheetView.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
04A671582B9F18C800C1FB91
/* YHCertificateUploadSheetView.swift */
;
};
...
@@ -991,6 +992,7 @@
...
@@ -991,6 +992,7 @@
049AC4C52BC3E55300F857F4
/* YHServiceSectionView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHServiceSectionView.swift
;
sourceTree
=
"<group>"
;
};
049AC4C52BC3E55300F857F4
/* YHServiceSectionView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHServiceSectionView.swift
;
sourceTree
=
"<group>"
;
};
049D62BF2C6F1E6700E811A1
/* YHFamilyInfoWarmTipsView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFamilyInfoWarmTipsView.swift
;
sourceTree
=
"<group>"
;
};
049D62BF2C6F1E6700E811A1
/* YHFamilyInfoWarmTipsView.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFamilyInfoWarmTipsView.swift
;
sourceTree
=
"<group>"
;
};
049D62C12C6F258700E811A1
/* YHFamilyInfoConfirmViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFamilyInfoConfirmViewController.swift
;
sourceTree
=
"<group>"
;
};
049D62C12C6F258700E811A1
/* YHFamilyInfoConfirmViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFamilyInfoConfirmViewController.swift
;
sourceTree
=
"<group>"
;
};
049D62C42C6F272800E811A1
/* YHRiskWarningCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHRiskWarningCell.swift
;
sourceTree
=
"<group>"
;
};
04A271222BABFF3200652B1B
/* YHCertificateUploadTypeCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateUploadTypeCell.swift
;
sourceTree
=
"<group>"
;
};
04A271222BABFF3200652B1B
/* YHCertificateUploadTypeCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateUploadTypeCell.swift
;
sourceTree
=
"<group>"
;
};
04A271242BAC33BB00652B1B
/* YHFilePreviewTool.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFilePreviewTool.swift
;
sourceTree
=
"<group>"
;
};
04A271242BAC33BB00652B1B
/* YHFilePreviewTool.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHFilePreviewTool.swift
;
sourceTree
=
"<group>"
;
};
04A671582B9F18C800C1FB91
/* YHCertificateUploadSheetView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateUploadSheetView.swift
;
sourceTree
=
"<group>"
;
};
04A671582B9F18C800C1FB91
/* YHCertificateUploadSheetView.swift */
=
{
isa
=
PBXFileReference
;
fileEncoding
=
4
;
lastKnownFileType
=
sourcecode.swift
;
path
=
YHCertificateUploadSheetView.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -2240,6 +2242,7 @@
...
@@ -2240,6 +2242,7 @@
children
=
(
children
=
(
046A95302C6EFB980059326A
/* YHFamilyMemberRiskWarningAlertView.swift */
,
046A95302C6EFB980059326A
/* YHFamilyMemberRiskWarningAlertView.swift */
,
049D62BF2C6F1E6700E811A1
/* YHFamilyInfoWarmTipsView.swift */
,
049D62BF2C6F1E6700E811A1
/* YHFamilyInfoWarmTipsView.swift */
,
049D62C42C6F272800E811A1
/* YHRiskWarningCell.swift */
,
);
);
path
=
V
;
path
=
V
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
...
@@ -4243,6 +4246,7 @@
...
@@ -4243,6 +4246,7 @@
04F316442C3568F000024164
/* YHAboutGalaxyViewController.swift in Sources */
,
04F316442C3568F000024164
/* YHAboutGalaxyViewController.swift in Sources */
,
0435FA832BA2DEB100024EAE
/* YHCardButton.swift in Sources */
,
0435FA832BA2DEB100024EAE
/* YHCardButton.swift in Sources */
,
045EEECA2B9F171A0022A143
/* YHMyDocumentsListViewController.swift in Sources */
,
045EEECA2B9F171A0022A143
/* YHMyDocumentsListViewController.swift in Sources */
,
049D62C52C6F272800E811A1
/* YHRiskWarningCell.swift in Sources */
,
045EEF052B9F171A0022A143
/* YHFormItemExpireDateCell.swift in Sources */
,
045EEF052B9F171A0022A143
/* YHFormItemExpireDateCell.swift in Sources */
,
043B0A352C1190C6008A9BBA
/* YHSelectFileSheetView.swift in Sources */
,
043B0A352C1190C6008A9BBA
/* YHSelectFileSheetView.swift in Sources */
,
04F5F8662C197FFF004A463C
/* YHHKControllerHoldViewController.swift in Sources */
,
04F5F8662C197FFF004A463C
/* YHHKControllerHoldViewController.swift in Sources */
,
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/FamilyInfoConfirm(家庭信息确认)/C/YHFamilyInfoConfirmViewController.swift
View file @
fd6d18b9
...
@@ -10,13 +10,81 @@ import UIKit
...
@@ -10,13 +10,81 @@ import UIKit
class
YHFamilyInfoConfirmViewController
:
YHBaseViewController
{
class
YHFamilyInfoConfirmViewController
:
YHBaseViewController
{
var
items
:
[
String
]
=
[
"1"
]
lazy
var
tableView
:
UITableView
=
{
let
tableView
=
UITableView
(
frame
:
.
zero
,
style
:
.
grouped
)
tableView
.
contentInsetAdjustmentBehavior
=
.
never
tableView
.
estimatedSectionHeaderHeight
=
24.0
tableView
.
estimatedSectionFooterHeight
=
1.0
tableView
.
showsVerticalScrollIndicator
=
false
tableView
.
separatorStyle
=
.
none
tableView
.
delegate
=
self
tableView
.
dataSource
=
self
tableView
.
backgroundColor
=
UIColor
(
hex
:
0xF8F9FB
)
tableView
.
register
(
UITableViewCell
.
self
,
forCellReuseIdentifier
:
"UITableViewCell"
)
tableView
.
register
(
YHRiskWarningCell
.
self
,
forCellReuseIdentifier
:
YHRiskWarningCell
.
cellReuseIdentifier
)
return
tableView
}()
override
func
viewDidLoad
()
{
override
func
viewDidLoad
()
{
super
.
viewDidLoad
()
super
.
viewDidLoad
()
self
.
gk_navTitle
=
"家庭信息确认"
self
.
view
.
backgroundColor
=
.
white
self
.
view
.
addSubview
(
self
.
tableView
)
self
.
tableView
.
snp
.
makeConstraints
{
make
in
make
.
left
.
right
.
bottom
.
equalToSuperview
()
make
.
top
.
equalTo
(
k_Height_NavigationtBarAndStatuBar
+
16
)
}
}
}
// Do any additional setup after loading the view.
extension
YHFamilyInfoConfirmViewController
:
UITableViewDelegate
,
UITableViewDataSource
{
func
numberOfSections
(
in
tableView
:
UITableView
)
->
Int
{
return
items
.
count
}
}
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
1
}
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
YHRiskWarningCell
.
cellReuseIdentifier
,
for
:
indexPath
)
if
0
<=
indexPath
.
section
&&
indexPath
.
section
<
items
.
count
{
}
return
cell
}
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
return
UITableView
.
automaticDimension
}
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
if
0
<=
indexPath
.
section
&&
indexPath
.
section
<
items
.
count
{
}
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
CGFloat
{
return
16
}
private
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
CGFloat
{
return
0.001
}
func
tableView
(
_
tableView
:
UITableView
,
viewForFooterInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
return
UIView
()
}
}
}
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/FamilyInfoConfirm(家庭信息确认)/V/YHRiskWarningCell.swift
0 → 100644
View file @
fd6d18b9
//
// YHRiskWarningCell.swift
// galaxy
//
// Created by edy on 2024/8/16.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import
UIKit
import
AttributedString
class
YHRiskWarningCell
:
UITableViewCell
{
static
let
cellReuseIdentifier
=
"YHRiskWarningCell"
lazy
var
whiteContentView
:
UIView
=
{
let
view
=
UIView
()
view
.
backgroundColor
=
.
white
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
}()
lazy
var
bgImgView
:
UIImageView
=
{
let
view
=
UIImageView
(
image
:
UIImage
(
named
:
"risk_warn_bg"
))
view
.
layer
.
cornerRadius
=
kCornerRadius6
return
view
}()
lazy
var
iconImgView
:
UIImageView
=
{
let
view
=
UIImageView
(
image
:
UIImage
(
named
:
"risk_warn_icon"
))
return
view
}()
lazy
var
titleLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
font
=
UIFont
.
PFSC_M
(
ofSize
:
13
)
label
.
text
=
"风险预警:"
label
.
textColor
=
UIColor
.
init
(
hex
:
0xFF8000
)
return
label
}()
lazy
var
detailLabel
:
UILabel
=
{
let
label
=
UILabel
()
label
.
numberOfLines
=
0
label
.
font
=
UIFont
.
PFSC_R
(
ofSize
:
12
)
let
a
:
ASAttributedString
=
.
init
(
"如若在等待获批期间,"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
12
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.7
)))
let
b
:
ASAttributedString
=
.
init
(
"您的家庭信息与之前递交港府的申请资料不一致,请务必如实告知"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
12
)),
.
foreground
(
UIColor
.
init
(
hex
:
0xFF8000
)))
let
c
:
ASAttributedString
=
.
init
(
",因为这会导致后续赴港激活签证所带的证件不一样!"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
12
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.7
)))
label
.
attributed
.
text
=
a
+
b
+
c
return
label
}()
required
init
?(
coder
:
NSCoder
)
{
super
.
init
(
coder
:
coder
)
}
override
init
(
style
:
UITableViewCell
.
CellStyle
,
reuseIdentifier
:
String
?)
{
super
.
init
(
style
:
style
,
reuseIdentifier
:
reuseIdentifier
)
setupUI
()
}
func
setupUI
()
{
self
.
selectionStyle
=
.
none
self
.
backgroundColor
=
.
clear
self
.
contentView
.
backgroundColor
=
.
clear
contentView
.
addSubview
(
whiteContentView
)
whiteContentView
.
addSubview
(
bgImgView
)
whiteContentView
.
addSubview
(
iconImgView
)
whiteContentView
.
addSubview
(
titleLabel
)
whiteContentView
.
addSubview
(
detailLabel
)
whiteContentView
.
snp
.
makeConstraints
{
make
in
make
.
top
.
bottom
.
equalToSuperview
()
make
.
left
.
equalTo
(
16
)
make
.
right
.
equalTo
(
-
16
)
}
bgImgView
.
snp
.
makeConstraints
{
make
in
make
.
edges
.
equalToSuperview
()
}
iconImgView
.
snp
.
makeConstraints
{
make
in
make
.
width
.
height
.
equalTo
(
14
)
make
.
top
.
equalTo
(
18
)
make
.
left
.
equalTo
(
16
)
}
titleLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
iconImgView
.
snp
.
right
)
.
offset
(
8
)
make
.
height
.
equalTo
(
18
)
make
.
centerY
.
equalTo
(
iconImgView
)
}
detailLabel
.
snp
.
makeConstraints
{
make
in
make
.
left
.
equalTo
(
16
)
make
.
right
.
equalTo
(
-
16
)
make
.
top
.
equalTo
(
titleLabel
.
snp
.
bottom
)
.
offset
(
8
)
make
.
bottom
.
equalTo
(
-
16
)
}
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/risk_warn_bg.imageset/Contents.json
0 → 100644
View file @
fd6d18b9
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Rectangle 346241441@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Rectangle 346241441@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/risk_warn_bg.imageset/Rectangle 346241441@2x.png
0 → 100644
View file @
fd6d18b9
62.5 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/risk_warn_bg.imageset/Rectangle 346241441@3x.png
0 → 100644
View file @
fd6d18b9
128 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/risk_warn_icon.imageset/Contents.json
0 → 100644
View file @
fd6d18b9
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"Group 33332558@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"Group 33332558@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/risk_warn_icon.imageset/Group 33332558@2x.png
0 → 100644
View file @
fd6d18b9
570 Bytes
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/risk_warn_icon.imageset/Group 33332558@3x.png
0 → 100644
View file @
fd6d18b9
741 Bytes
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