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
f45fa4da
Commit
f45fa4da
authored
Aug 20, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
细节优化
parent
26f65c50
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
YHUploadCertificateDetailVC.swift
...dCertificate(7上传过关证件)/C/YHUploadCertificateDetailVC.swift
+2
-0
YHUploadCertificateDateItem.swift
...dCertificate(7上传过关证件)/V/YHUploadCertificateDateItem.swift
+11
-0
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/UploadCertificate(7上传过关证件)/C/YHUploadCertificateDetailVC.swift
View file @
f45fa4da
...
@@ -240,6 +240,7 @@ private extension YHUploadCertificateDetailVC {
...
@@ -240,6 +240,7 @@ private extension YHUploadCertificateDetailVC {
make
.
top
.
equalTo
(
cardButton
.
snp
.
bottom
)
.
offset
(
32
)
make
.
top
.
equalTo
(
cardButton
.
snp
.
bottom
)
.
offset
(
32
)
make
.
height
.
equalTo
(
20
)
make
.
height
.
equalTo
(
20
)
}
}
startDateItem
.
update
(
title
:
"入境日期"
)
...
@@ -262,6 +263,7 @@ private extension YHUploadCertificateDetailVC {
...
@@ -262,6 +263,7 @@ private extension YHUploadCertificateDetailVC {
make
.
height
.
equalTo
(
20
)
make
.
height
.
equalTo
(
20
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
kMargin
)
make
.
bottom
.
equalToSuperview
()
.
offset
(
-
kMargin
)
}
}
endDateItem
.
update
(
title
:
"逗留截止"
)
}
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/CustomerService/Certificate(办证段)/UploadCertificate(7上传过关证件)/V/YHUploadCertificateDateItem.swift
View file @
f45fa4da
...
@@ -88,5 +88,16 @@ private extension YHUploadCertificateDateItem {
...
@@ -88,5 +88,16 @@ private extension YHUploadCertificateDateItem {
extension
YHUploadCertificateDateItem
{
extension
YHUploadCertificateDateItem
{
func
update
(
title
:
String
,
isMust
:
Bool
=
true
)
{
if
isMust
{
let
a
:
ASAttributedString
=
.
init
(
"*"
,
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
failColor
))
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
title
),
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
cardLabel
.
attributed
.
text
=
a
+
b
}
else
{
let
b
:
ASAttributedString
=
.
init
(
NSAttributedString
(
string
:
title
),
.
font
(
UIFont
.
PFSC_R
(
ofSize
:
14
)),
.
foreground
(
UIColor
.
mainTextColor
))
cardLabel
.
attributed
.
text
=
b
}
}
}
}
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