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
c6cbd098
Commit
c6cbd098
authored
May 08, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 视频底部收藏点赞
parent
26efa1fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
YHHomeWebBottomView.swift
...laxy/Classes/Modules/Home(首页)/V/YHHomeWebBottomView.swift
+2
-8
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/V/YHHomeWebBottomView.swift
View file @
c6cbd098
...
...
@@ -26,10 +26,7 @@ class YHHomeWebBottomView: UIView {
var
starCount
:
Int
=
0
var
isStar
:
Bool
=
false
{
didSet
{
var
imgName
=
"home_web_star"
if
isStar
{
imgName
=
"home_web_stared"
}
let
imgName
=
isStar
?
"home_web_stared"
:
"home_web_star"
var
image
=
UIImage
(
named
:
imgName
)
if
tintMode
==
.
dark
{
starButton
.
bottomTitleLabel
.
textColor
=
.
white
...
...
@@ -44,10 +41,7 @@ class YHHomeWebBottomView: UIView {
var
isLike
:
Bool
=
false
{
didSet
{
var
imgName
=
"home_web_like"
if
isLike
{
imgName
=
"home_web_liked"
}
let
imgName
=
isLike
?
"home_web_liked"
:
"home_web_like"
var
image
=
UIImage
(
named
:
imgName
)
if
tintMode
==
.
dark
{
likeButton
.
bottomTitleLabel
.
textColor
=
.
white
...
...
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