Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
zhenghy
2024-05-08 08:35:18 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c4462a0fa3b988f4da6f86fbed461453380b723e
c4462a0f
1 parent
329ebafc
更换收藏图标与点赞、收藏最小值限制
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/view/PlayerRightView.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/resources/base/media/ic_collect_check.png
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/view/PlayerRightView.ets
View file @
c4462a0
...
...
@@ -60,7 +60,7 @@ export struct PlayerRightView {
if (this.newsStatusOfUser.likeStatus === '1') {
this.interactData.likeNum = Number(this.interactData.likeNum || 0) + 1
} else {
this.interactData.likeNum =
Number(this.interactData.likeNum || 0) - 1
this.interactData.likeNum =
Math.max(0, Number(this.interactData.likeNum || 0) - 1)
}
console.log(TAG, '点赞、取消点赞==', this.newsStatusOfUser?.likeStatus, this.interactData?.likeNum)
// this.queryContentInteractCount()
...
...
@@ -94,7 +94,7 @@ export struct PlayerRightView {
if (this.newsStatusOfUser.collectStatus === 1) {
this.interactData.collectNum = Number(this.interactData.collectNum || 0) + 1
} else {
this.interactData.collectNum =
Number(this.interactData.collectNum || 0) - 1
this.interactData.collectNum =
Math.max(0, Number(this.interactData.collectNum || 0) - 1)
}
console.log(TAG, '收藏、取消收藏==', this.newsStatusOfUser?.collectStatus, this.interactData?.collectNum)
}
...
...
sight_harmony/features/wdDetailPlayShortVideo/src/main/resources/base/media/ic_collect_check.png
View file @
c4462a0
3.02 KB
|
W:
|
H:
2.36 KB
|
W:
|
H:
2-up
Swipe
Onion skin
Please
register
or
login
to post a comment