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
b177db6a
Commit
b177db6a
authored
Jul 11, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页 点击收藏 刷新
parent
22af9f93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
YHHomeCollectionViewCell.swift
...Classes/Modules/Home(首页)/V/YHHomeCollectionViewCell.swift
+3
-2
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeCollectionViewCell.swift
View file @
b177db6a
...
@@ -204,7 +204,7 @@ extension YHHomeCollectionViewCell {
...
@@ -204,7 +204,7 @@ extension YHHomeCollectionViewCell {
make
.
height
.
equalTo
(
listModel
.
textH
)
make
.
height
.
equalTo
(
listModel
.
textH
)
}
}
DispatchQueue
.
main
.
async
{
//
DispatchQueue.main.async {
self
.
numLable
.
text
=
listModel
.
like_count
.
string
self
.
numLable
.
text
=
listModel
.
like_count
.
string
if
self
.
animationView
.
isHidden
{
if
self
.
animationView
.
isHidden
{
// heartImageViewBtn.setImage(UIImage(named: "home_red_heart"), for: .selected)
// heartImageViewBtn.setImage(UIImage(named: "home_red_heart"), for: .selected)
...
@@ -223,7 +223,7 @@ extension YHHomeCollectionViewCell {
...
@@ -223,7 +223,7 @@ extension YHHomeCollectionViewCell {
}
else
{
}
else
{
self
.
heartImageViewBtn
.
setImage
(
UIImage
(
named
:
"home_grey_heart"
),
for
:
.
normal
)
self
.
heartImageViewBtn
.
setImage
(
UIImage
(
named
:
"home_grey_heart"
),
for
:
.
normal
)
}
}
}
//
}
...
@@ -254,6 +254,7 @@ extension YHHomeCollectionViewCell {
...
@@ -254,6 +254,7 @@ extension YHHomeCollectionViewCell {
self
.
heartImageViewBtn
.
setImage
(
UIImage
(
named
:
""
),
for
:
.
normal
)
self
.
heartImageViewBtn
.
setImage
(
UIImage
(
named
:
""
),
for
:
.
normal
)
self
.
animationView
.
isHidden
=
false
self
.
animationView
.
isHidden
=
false
self
.
animationView
.
loopMode
=
.
playOnce
self
.
animationView
.
loopMode
=
.
playOnce
self
.
updataSubViews
()
self
.
animationView
.
play
{[
weak
self
]
completed
in
self
.
animationView
.
play
{[
weak
self
]
completed
in
guard
let
self
=
self
else
{
return
}
guard
let
self
=
self
else
{
return
}
self
.
animationView
.
isHidden
=
true
self
.
animationView
.
isHidden
=
true
...
...
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