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
d3ab1a7b
Commit
d3ab1a7b
authored
Mar 10, 2025
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 消息
parent
dc87939a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
YHDetailMessageCell.swift
...y/Classes/Modules/Message(消息)/V/YHDetailMessageCell.swift
+13
-1
No files found.
galaxy/galaxy/Classes/Modules/Message(消息)/V/YHDetailMessageCell.swift
View file @
d3ab1a7b
...
...
@@ -38,7 +38,8 @@ class YHDetailMessageCell: UITableViewCell {
detailLabel
.
text
=
model
.
content
unreadPointView
.
isHidden
=
model
.
isRead
timeLabel
.
text
=
formatTimestamp
(
Double
(
model
.
time
))
lineView
.
isHidden
=
false
if
type
==
YHMessageType
.
infoFill
.
rawValue
{
bottomBtn
.
setTitle
(
"去填写"
.
local
,
for
:
.
normal
)
...
...
@@ -65,7 +66,18 @@ class YHDetailMessageCell: UITableViewCell {
}
else
if
type
==
YHMessageType
.
renewal
.
rawValue
{
bottomBtn
.
setTitle
(
"去查看"
.
local
,
for
:
.
normal
)
}
else
if
type
==
YHMessageType
.
business
.
rawValue
{
bottomBtn
.
setTitle
(
""
.
local
,
for
:
.
normal
)
lineView
.
isHidden
=
true
}
var
bottomBtnHeight
=
(
type
==
YHMessageType
.
business
.
rawValue
)
?
0.0
:
52.0
bottomBtn
.
snp
.
updateConstraints
{
make
in
make
.
height
.
equalTo
(
bottomBtnHeight
)
}
self
.
setNeedsLayout
()
self
.
layoutIfNeeded
()
}
...
...
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