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
f59714d0
Commit
f59714d0
authored
Sep 03, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 旅行
parent
eea291a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
7 deletions
+17
-7
YHTravelCertificateUploadCell.swift
...eparation(6 旅行证件准备)/V/YHTravelCertificateUploadCell.swift
+12
-4
YHTravelDocsPreparationViewModel.swift
...ation(6 旅行证件准备)/VM/YHTravelDocsPreparationViewModel.swift
+5
-3
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/TravelDocumentsPreparation(6 旅行证件准备)/V/YHTravelCertificateUploadCell.swift
View file @
f59714d0
...
...
@@ -511,8 +511,12 @@ extension YHTravelCertificateUploadCell {
YHHUD
.
hide
()
if
success
,
let
result
=
result
{
self
.
dataModel
.
isOCR_failed
=
false
self
.
dataModel
.
issue_start
=
result
.
term_begins
self
.
dataModel
.
issue_end
=
result
.
end_of_term
if
!
result
.
term_begins
.
isEmpty
{
self
.
dataModel
.
issue_start
=
result
.
term_begins
}
if
!
result
.
end_of_term
.
isEmpty
{
self
.
dataModel
.
issue_end
=
result
.
end_of_term
}
self
.
updateBlock
?(
true
)
}
else
{
// OCR 无法识别
...
...
@@ -526,8 +530,12 @@ extension YHTravelCertificateUploadCell {
self
.
viewModel
.
getHKCardInfoByOcr
(
url
,
isBack
:
isBack
)
{
success
,
result
in
YHHUD
.
hide
()
if
success
,
let
result
=
result
{
self
.
dataModel
.
issue_start
=
result
.
term_begins
self
.
dataModel
.
issue_end
=
result
.
end_of_term
if
!
result
.
term_begins
.
isEmpty
{
self
.
dataModel
.
issue_start
=
result
.
term_begins
}
if
!
result
.
end_of_term
.
isEmpty
{
self
.
dataModel
.
issue_end
=
result
.
end_of_term
}
self
.
updateBlock
?(
true
)
}
else
{
// OCR 无法识别
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/TravelDocumentsPreparation(6 旅行证件准备)/VM/YHTravelDocsPreparationViewModel.swift
View file @
f59714d0
...
...
@@ -122,13 +122,15 @@ extension YHTravelDocsPreparationViewModel {
if
type
==
1
{
let
a
=
ASAttributedString
.
init
(
"办理逗留D签注"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.5
)))
let
b
=
ASAttributedString
.
init
(
"《港澳通行证逗留 (D) -办理操作指引》"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
underline
([
.
single
]),
let
b
=
ASAttributedString
.
init
(
"《"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
c
=
ASAttributedString
.
init
(
"港澳通行证逗留 (D) -办理操作指引"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
underline
([
.
byWord
]),
.
foreground
(
UIColor
.
brandMainColor
),
.
action
{
YHTravelHKDLGuideSheetView
.
sheetView
()
.
show
()
})
let
c
=
ASAttributedString
.
init
(
"点击查看"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.5
)))
let
d
=
ASAttributedString
.
init
(
"》"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
e
=
ASAttributedString
.
init
(
"点击查看"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.5
)))
return
a
+
b
+
c
}
...
...
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