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
06e5e458
Commit
06e5e458
authored
Aug 30, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 旅行
parent
34d3d2d7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
4 deletions
+28
-4
YHAdopterCardModel.swift
...icate(办证段)/AddAdopters(2新增受养人)/M/YHAdopterCardModel.swift
+3
-3
YHAdopterCardExampleView.swift
...办证段)/AddAdopters(2新增受养人)/V/YHAdopterCardExampleView.swift
+12
-0
YHTravelDocsPreparationDetailVC.swift
...aration(6 旅行证件准备)/C/YHTravelDocsPreparationDetailVC.swift
+11
-1
YHTravelCertificateUploadCell.swift
...eparation(6 旅行证件准备)/V/YHTravelCertificateUploadCell.swift
+2
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/M/YHAdopterCardModel.swift
View file @
06e5e458
...
...
@@ -9,15 +9,15 @@
import
UIKit
enum
YHAdopterCardType
{
case
travel
case
travel
// 港澳通行证
case
china
case
resident
case
birth
case
id
case
other
case
marry
case
chinaTravel
case
chinaLife
case
chinaTravel
// 护照
case
chinaLife
// 中国居留许可签证
}
struct
YHAdopterCardModel
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/AddAdopters(2新增受养人)/V/YHAdopterCardExampleView.swift
View file @
06e5e458
...
...
@@ -103,6 +103,14 @@ class YHAdopterCardExampleView: UIView {
fatalError
(
"init(coder:) has not been implemented"
)
}
static
func
exampleView
(
type
:
YHAdopterCardType
?)
->
YHAdopterCardExampleView
{
let
view
=
YHAdopterCardExampleView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
KScreenWidth
,
height
:
KScreenHeight
))
view
.
type
=
type
return
view
}
func
setView
()
{
backgroundColor
=
UIColor
(
hex
:
0x000000
,
alpha
:
0.5
)
centerView
=
{
...
...
@@ -205,6 +213,10 @@ class YHAdopterCardExampleView: UIView {
dismiss
()
}
@objc
func
show
()
{
UIApplication
.
shared
.
yhKeyWindow
()?
.
addSubview
(
self
)
}
@objc
func
dismiss
()
{
removeFromSuperview
()
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/TravelDocumentsPreparation(6 旅行证件准备)/C/YHTravelDocsPreparationDetailVC.swift
View file @
06e5e458
...
...
@@ -387,7 +387,17 @@ extension YHTravelDocsPreparationDetailVC: UITableViewDelegate, UITableViewDataS
// 证件类型 1-护照 2-中国旅行证 3-港澳通行证 4-存款证明 5-其他
[
weak
self
]
type
in
guard
let
self
=
self
else
{
return
}
var
templateType
:
YHAdopterCardType
?
=
nil
if
type
==
1
{
// 护照
templateType
=
.
chinaTravel
}
else
if
type
==
2
{
// 中国旅行证
templateType
=
.
chinaLife
}
else
if
type
==
3
{
// 港澳通行证
templateType
=
.
travel
}
YHAdopterCardExampleView
.
exampleView
(
type
:
templateType
)
.
show
()
}
}
return
cell
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/TravelDocumentsPreparation(6 旅行证件准备)/V/YHTravelCertificateUploadCell.swift
View file @
06e5e458
...
...
@@ -292,6 +292,8 @@ class YHTravelCertificateUploadCell: UITableViewCell {
certificateFrontView
.
frontLabel
.
text
=
frontTitle
certificateBackView
.
frontLabel
.
text
=
backTitle
// 证件正反面图片
certificateFrontView
.
state
=
!
model
.
isCanEdit
certificateBackView
.
state
=
!
model
.
isCanEdit
certificateFrontView
.
url
=
model
.
img_front
certificateBackView
.
url
=
model
.
img_back
...
...
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