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
0e2b3edd
Commit
0e2b3edd
authored
Aug 29, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 恢复
parent
08c87488
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
6 deletions
+21
-6
YHServiceCenterMainViewController.swift
...ntService(服务中心)/C/YHServiceCenterMainViewController.swift
+16
-1
YHAllApiName.swift
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
+5
-5
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/C/YHServiceCenterMainViewController.swift
View file @
0e2b3edd
...
...
@@ -363,7 +363,21 @@ extension YHServiceCenterMainViewController {
let
a
:
ASAttributedString
=
.
init
(
"您好,
\(
name
)
,您现处于"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
aa
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
applicant
.
stage_name
),
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
aaa
:
ASAttributedString
=
.
init
(
"阶段,让我们一起共同完成您的身份申请之旅吧~"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor
))
self
.
nameLabel
.
attributed
.
text
=
a
+
aa
+
aaa
let
b
:
ASAttributedString
=
.
init
(
"阶段。为使您的身份能够顺利激活并助力后续永居规划,请依据"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
c
:
ASAttributedString
=
.
init
(
"《"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
bb
:
ASAttributedString
=
.
init
(
"香港身份获批操作指引"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
),
.
underline
(
.
single
),
.
action
{
//点击出现操作指引
let
view
=
YHOffivialApprovalGuildLineCheckView
.
sheetView
()
view
.
show
()
})
let
cc
:
ASAttributedString
=
.
init
(
"》"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
bbb
:
ASAttributedString
=
.
init
(
"完成以下事项"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
13
)),
.
foreground
(
UIColor
.
mainTextColor
))
if
applicant
.
type
==
3
{
self
.
nameLabel
.
attributed
.
text
=
a
+
aa
+
b
+
c
+
bb
+
cc
+
bbb
}
else
{
self
.
nameLabel
.
attributed
.
text
=
a
+
aa
+
aaa
}
}
}
...
...
@@ -371,6 +385,7 @@ extension YHServiceCenterMainViewController {
nameBgImageView
=
{
let
view
=
UIImageView
()
view
.
image
=
UIImage
(
named
:
"service_name_bg"
)?
.
resizableImage
(
withCapInsets
:
UIEdgeInsets
(
top
:
21
,
left
:
68
,
bottom
:
11
,
right
:
14
),
resizingMode
:
.
stretch
)
view
.
isUserInteractionEnabled
=
true
return
view
}()
view
.
addSubview
(
nameBgImageView
)
...
...
galaxy/galaxy/Classes/Tools/NetWork/YHAllApiName.swift
View file @
0e2b3edd
...
...
@@ -221,10 +221,6 @@ class YHAllApiName {
static
let
updateInformation
=
"infoflow/order-information/update_information"
// 主申请人国家信息
static
let
countryInformation
=
"infoflow/country"
// 主申请人中国
static
let
cnIdCard
=
"infoflow/order-information/get_id_card"
// 主申请人港澳通行证
static
let
hkIdCard
=
"infoflow/order-information/get_hk_macao_pass"
}
struct
WorkExperience
{
...
...
@@ -300,8 +296,12 @@ class YHAllApiName {
struct
OCR
{
//中国身份证识别
static
let
cn
=
"ocr/id_card/recognize"
//
港澳通行证识别
//
ocr港澳通行证识别 正面信息
static
let
hk
=
"ocr/permit/recognize"
// ocr港澳通行证 背面信息
static
let
hkmacowBackInfoApi
=
"infoflow/order-information/get_hk_macao_pass"
//普通文本识别 - eg:图片中扣字
static
let
normal
=
"ocr/advanced/recognize"
//小白条识别
...
...
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