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
4832ca0e
Commit
4832ca0e
authored
Aug 13, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 日期格式
parent
bff1d87e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
2 deletions
+24
-2
YHPrincipleApprovedWaitSubmitVC.swift
...incipleBatch(原则批)/C/YHPrincipleApprovedWaitSubmitVC.swift
+1
-1
YHPrincipleUploadListVC.swift
...rvice/PrincipleBatch(原则批)/C/YHPrincipleUploadListVC.swift
+1
-1
YHPrincipleEnvelopeModel.swift
...vice/PrincipleBatch(原则批)/M/YHPrincipleEnvelopeModel.swift
+11
-0
YHPrincipleUploadModel.swift
...ervice/PrincipleBatch(原则批)/M/YHPrincipleUploadModel.swift
+11
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/PrincipleBatch(原则批)/C/YHPrincipleApprovedWaitSubmitVC.swift
View file @
4832ca0e
...
...
@@ -181,7 +181,7 @@ extension YHPrincipleApprovedWaitSubmitVC {
let
str1
:
ASAttributedString
=
.
init
(
"您【与家人】申请的【优秀人才入境计划】,"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.7
)))
let
str2
:
ASAttributedString
=
.
init
(
"已获得港府的甄选名额"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
str3
:
ASAttributedString
=
.
init
(
",请您于"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.7
)))
let
time
:
ASAttributedString
=
.
init
(
"
\(
self
.
viewModel
.
envelopModel
.
date
)
"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
time
:
ASAttributedString
=
.
init
(
"
\(
self
.
viewModel
.
envelopModel
.
convertDateFormat
()
)
"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
str4
:
ASAttributedString
=
.
init
(
"前补充更多文件,即可等待获得港府的正式批准!"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.7
)))
detailLabel
.
attributed
.
text
=
str1
+
str2
+
str3
+
time
+
str4
view
.
addSubview
(
detailLabel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/PrincipleBatch(原则批)/C/YHPrincipleUploadListVC.swift
View file @
4832ca0e
...
...
@@ -467,7 +467,7 @@ extension YHPrincipleUploadListVC: UITableViewDelegate, UITableViewDataSource {
let
str1
:
ASAttributedString
=
.
init
(
"您【与家人】申请的【优秀人才入境计划】,"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.7
)))
let
str2
:
ASAttributedString
=
.
init
(
"已获得港府的甄选名额"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
str3
:
ASAttributedString
=
.
init
(
",请您于"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.7
)))
let
time
:
ASAttributedString
=
.
init
(
"
\(
self
.
viewModel
.
uploadDetailModel
.
date
)
"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
time
:
ASAttributedString
=
.
init
(
"
\(
self
.
viewModel
.
uploadDetailModel
.
convertDateFormat
()
)
"
,
.
font
(
UIFont
.
PFSC_B
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
brandMainColor
))
let
str4
:
ASAttributedString
=
.
init
(
"前补充更多文件,即可等待获得港府的正式批准!"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
(
alpha
:
0.7
)))
detailLabel
.
attributed
.
text
=
str1
+
str2
+
str3
+
time
+
str4
view
.
addSubview
(
detailLabel
)
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/PrincipleBatch(原则批)/M/YHPrincipleEnvelopeModel.swift
View file @
4832ca0e
...
...
@@ -19,6 +19,17 @@ class YHPrincipleEnvelopeModel: SmartCodable {
var
date
:
String
=
""
var
sex
:
Int
=
0
func
convertDateFormat
()
->
String
{
let
dateFormatter
=
DateFormatter
()
dateFormatter
.
dateFormat
=
"yyyy-MM-dd"
if
let
date
=
dateFormatter
.
date
(
from
:
date
)
{
dateFormatter
.
dateFormat
=
"yyyy年MM月dd日"
return
dateFormatter
.
string
(
from
:
date
)
}
return
date
}
required
init
()
{
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/PrincipleBatch(原则批)/M/YHPrincipleUploadModel.swift
View file @
4832ca0e
...
...
@@ -16,6 +16,17 @@ class YHPrincipleUploadDetailModel: SmartCodable {
var
applicant
:
YHPrincipleApplicantModel
=
YHPrincipleApplicantModel
()
var
file_data
:
YHPrincipleFileDataModel
=
YHPrincipleFileDataModel
()
func
convertDateFormat
()
->
String
{
let
dateFormatter
=
DateFormatter
()
dateFormatter
.
dateFormat
=
"yyyy-MM-dd"
if
let
date
=
dateFormatter
.
date
(
from
:
date
)
{
dateFormatter
.
dateFormat
=
"yyyy年MM月dd日"
return
dateFormatter
.
string
(
from
:
date
)
}
return
date
}
required
init
()
{
}
...
...
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