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
f1f402f1
Commit
f1f402f1
authored
Aug 30, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
//
parent
cfed9d0b
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
85 additions
and
10 deletions
+85
-10
YHTravelDocsPreparationDetailVC.swift
...aration(6 旅行证件准备)/C/YHTravelDocsPreparationDetailVC.swift
+1
-1
YHTravelCertificateUploadCell.swift
...eparation(6 旅行证件准备)/V/YHTravelCertificateUploadCell.swift
+9
-0
YHTravelDocsPreparationViewModel.swift
...ation(6 旅行证件准备)/VM/YHTravelDocsPreparationViewModel.swift
+9
-9
Contents.json
...段/6旅行证件准备/credentials_default_back.imageset/Contents.json
+22
-0
港澳通行证背面@2x.png
.../6旅行证件准备/credentials_default_back.imageset/港澳通行证背面@2x.png
+0
-0
港澳通行证背面@3x.png
.../6旅行证件准备/credentials_default_back.imageset/港澳通行证背面@3x.png
+0
-0
Contents.json
.../6旅行证件准备/credentials_default_front.imageset/Contents.json
+22
-0
港澳通行证正面@2x.png
...6旅行证件准备/credentials_default_front.imageset/港澳通行证正面@2x.png
+0
-0
港澳通行证正面@3x.png
...6旅行证件准备/credentials_default_front.imageset/港澳通行证正面@3x.png
+0
-0
Contents.json
...redentials_default_residence_front.imageset/Contents.json
+22
-0
中国居留许可签证@2x.png
...dentials_default_residence_front.imageset/中国居留许可签证@2x.png
+0
-0
中国居留许可签证@3x.png
...dentials_default_residence_front.imageset/中国居留许可签证@3x.png
+0
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/TravelDocumentsPreparation(6 旅行证件准备)/C/YHTravelDocsPreparationDetailVC.swift
View file @
f1f402f1
...
...
@@ -139,7 +139,7 @@ class YHTravelDocsPreparationDetailVC: YHBaseViewController {
}
// 头部提示
let
tipsArr
=
viewModel
.
getTipsWithType
(
self
.
type
)
let
tipsArr
=
viewModel
.
getTipsWithType
(
self
.
type
,
date
:
self
.
viewModel
.
travelDetailModel
?
.
latest_validaty_date
??
""
)
let
item1
=
YHTravelCerSectionItem
(
type
:
.
tips
,
tipsArr
:
tipsArr
)
sectionItems
.
append
(
item1
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/TravelDocumentsPreparation(6 旅行证件准备)/V/YHTravelCertificateUploadCell.swift
View file @
f1f402f1
...
...
@@ -308,6 +308,15 @@ class YHTravelCertificateUploadCell: UITableViewCell {
// 证件正反面图片
certificateFrontView
.
state
=
!
model
.
isCanEdit
certificateBackView
.
state
=
!
model
.
isCanEdit
var
frontDefaultImg
=
"credentials_default_front"
var
backDefaultImg
=
"credentials_default_back"
if
model
.
type
==
2
{
// 中国居留许可证
frontDefaultImg
=
"credentials_default_residence_front"
}
certificateFrontView
.
defaultImageName
=
frontDefaultImg
certificateBackView
.
defaultImageName
=
backDefaultImg
certificateFrontView
.
url
=
model
.
img_front
certificateBackView
.
url
=
model
.
img_back
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/TravelDocumentsPreparation(6 旅行证件准备)/VM/YHTravelDocsPreparationViewModel.swift
View file @
f1f402f1
...
...
@@ -113,10 +113,10 @@ extension YHTravelDocsPreparationViewModel {
extension
YHTravelDocsPreparationViewModel
{
func
getTextWithType
(
type
:
Int
)
->
ASAttributedString
{
func
getTextWithType
(
type
:
Int
,
date
:
String
)
->
ASAttributedString
{
if
type
==
0
{
return
.
init
(
"上传《港澳通行证》(需有效期≥
dd-mm-yyyy
)"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.5
)))
return
.
init
(
"上传《港澳通行证》(需有效期≥
\(
date
)
)"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.5
)))
}
if
type
==
1
{
...
...
@@ -131,7 +131,7 @@ extension YHTravelDocsPreparationViewModel {
}
if
type
==
3
{
return
.
init
(
"上传《护照》(需有效期≥
dd-mm-yyyy
)"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.5
)))
return
.
init
(
"上传《护照》(需有效期≥
\(
date
)
)"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.5
)))
}
if
type
==
4
{
...
...
@@ -140,20 +140,20 @@ extension YHTravelDocsPreparationViewModel {
return
.
init
(
""
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.5
)))
}
func
getTipsWithType
(
_
type
:
YHTravelDocsType
)
->
[
ASAttributedString
]
{
func
getTipsWithType
(
_
type
:
YHTravelDocsType
,
date
:
String
)
->
[
ASAttributedString
]
{
if
type
==
.
HK
{
return
[
self
.
getTextWithType
(
type
:
0
),
self
.
getTextWithType
(
type
:
1
)
]
return
[
self
.
getTextWithType
(
type
:
0
,
date
:
date
),
self
.
getTextWithType
(
type
:
1
,
date
:
date
),
]
}
if
type
==
.
chinesePassPort
{
return
[
self
.
getTextWithType
(
type
:
2
)
]
return
[
self
.
getTextWithType
(
type
:
2
,
date
:
date
),
]
}
if
type
==
.
forignPassPort
{
return
[
self
.
getTextWithType
(
type
:
3
),
self
.
getTextWithType
(
type
:
4
)
]
return
[
self
.
getTextWithType
(
type
:
3
,
date
:
date
),
self
.
getTextWithType
(
type
:
4
,
date
:
date
),
]
}
return
[]
...
...
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/6旅行证件准备/credentials_default_back.imageset/Contents.json
0 → 100644
View file @
f1f402f1
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"港澳通行证背面@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"港澳通行证背面@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/6旅行证件准备/credentials_default_back.imageset/港澳通行证背面@2x.png
0 → 100644
View file @
f1f402f1
2.38 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/6旅行证件准备/credentials_default_back.imageset/港澳通行证背面@3x.png
0 → 100644
View file @
f1f402f1
3.64 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/6旅行证件准备/credentials_default_front.imageset/Contents.json
0 → 100644
View file @
f1f402f1
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"港澳通行证正面@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"港澳通行证正面@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/6旅行证件准备/credentials_default_front.imageset/港澳通行证正面@2x.png
0 → 100644
View file @
f1f402f1
2.7 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/6旅行证件准备/credentials_default_front.imageset/港澳通行证正面@3x.png
0 → 100644
View file @
f1f402f1
4.17 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/6旅行证件准备/credentials_default_residence_front.imageset/Contents.json
0 → 100644
View file @
f1f402f1
{
"images"
:
[
{
"idiom"
:
"universal"
,
"scale"
:
"1x"
},
{
"filename"
:
"中国居留许可签证@2x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"2x"
},
{
"filename"
:
"中国居留许可签证@3x.png"
,
"idiom"
:
"universal"
,
"scale"
:
"3x"
}
],
"info"
:
{
"author"
:
"xcode"
,
"version"
:
1
}
}
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/6旅行证件准备/credentials_default_residence_front.imageset/中国居留许可签证@2x.png
0 → 100644
View file @
f1f402f1
2.63 KB
galaxy/galaxy/Res/Assets.xcassets/ServiceCenter/客服段/办证段/6旅行证件准备/credentials_default_residence_front.imageset/中国居留许可签证@3x.png
0 → 100644
View file @
f1f402f1
4.11 KB
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