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
12aea708
Commit
12aea708
authored
Apr 12, 2024
by
David黄金龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页 喜欢 按钮 逻辑
parent
e04115c4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
YHHomeListModel.swift
...y/galaxy/Classes/Modules/Home(首页)/M/YHHomeListModel.swift
+1
-0
YHHomeCollectionViewCell.swift
...IntelligentService(服务中心)/V/YHHomeCollectionViewCell.swift
+1
-1
No files found.
galaxy/galaxy/Classes/Modules/Home(首页)/M/YHHomeListModel.swift
View file @
12aea708
...
...
@@ -23,6 +23,7 @@ class YHHomeListModel: YHBaseModel {
var
type
:
Int
=
0
//文章类型 '文章类型 1视频 2图文 3图片',
var
is_like
:
Bool
=
false
var
media_url
:
String
=
""
var
like_count
:
Int
=
0
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/V/YHHomeCollectionViewCell.swift
View file @
12aea708
...
...
@@ -175,7 +175,7 @@ extension YHHomeCollectionViewCell {
make
.
height
.
equalTo
(
listModel
.
textH
)
make
.
bottom
.
equalTo
(
-
36
)
}
numLable
.
text
=
listModel
.
collect
_count
.
string
numLable
.
text
=
listModel
.
like
_count
.
string
heartImageViewBtn
.
isSelected
=
listModel
.
is_like
if
listModel
.
type
==
1
{
...
...
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