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
ba294fdf
Commit
ba294fdf
authored
Apr 10, 2024
by
Steven杜宇
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// UI走查
parent
aa51867d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
YHCertificateInfoCell.swift
...(服务中心)/MyCertificates(我的证书)/V/YHCertificateInfoCell.swift
+14
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/MyCertificates(我的证书)/V/YHCertificateInfoCell.swift
View file @
ba294fdf
...
...
@@ -66,7 +66,20 @@ class YHCertificateInfoCell: UITableViewCell {
if
!
model
.
nameExtra
.
applicant
.
isEmpty
{
ownerStr
=
model
.
nameExtra
.
applicant
}
infoLabel
.
text
=
"类型:
\(
typeStr
)
所属人:
\(
ownerStr
)
"
infoStr
=
"类型:
\(
typeStr
)
| 所属人:
\(
ownerStr
)
"
let
attributes
:
[
NSAttributedString
.
Key
:
Any
]
=
[
.
font
:
UIFont
.
PFSC_R
(
ofSize
:
11
),
.
foregroundColor
:
UIColor
.
labelTextColor2
]
let
attrString
=
NSMutableAttributedString
(
string
:
infoStr
,
attributes
:
attributes
)
if
let
separatorRange
=
infoStr
.
range
(
of
:
String
(
"|"
))
{
let
range
=
NSRange
(
separatorRange
,
in
:
infoStr
)
attrString
.
addAttribute
(
NSAttributedString
.
Key
.
foregroundColor
,
value
:
UIColor
(
hex
:
0xF0F0F0
),
range
:
range
)
}
infoLabel
.
attributedText
=
attrString
var
result
:
ASAttributedString
=
.
init
(
string
:
""
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
mainTextColor
))
let
mustTag
:
ASAttributedString
=
.
init
(
"*"
,
.
font
(
UIFont
.
PFSC_M
(
ofSize
:
16
)),
.
foreground
(
UIColor
.
failColor
))
...
...
pete谢兆麟
@pete
mentioned in commit
fc4da478
·
Apr 10, 2024
mentioned in commit
fc4da478
mentioned in commit fc4da478514ad3b1c785d2fed271fa6e4295c158
Toggle commit list
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