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
chenjun
2024-09-04 09:45:09 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4190232d90356ff8673635a07766af1329e05aaa
4190232d
1 parent
5d6db0b0
20067 功能缺陷-【uat】精选评论卡评论视频稿件,点击进入视频播放页,应弹出评论弹窗。
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
sight_harmony/features/wdComponent/src/main/ets/components/compview/ZhSingleRow06.ets
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/view/PlayerRightView.ets
sight_harmony/features/wdComponent/src/main/ets/components/compview/ZhSingleRow06.ets
View file @
4190232
...
...
@@ -140,6 +140,14 @@ export struct ZhSingleRow06 {
.borderRadius(4)
.margin({bottom: 12})
.onClick(() => {
let contentBean = ProcessUtils.commentBeanToContentBean(this.compDTO.operDataList[0]?.commentInfo as commentInfo)
if(contentBean !== null && contentBean !== undefined){
let type = contentBean.objectType;
if (type == "1") {
AppStorage.setOrCreate<number>('isZhingleRow06', 1)
}
}
ProcessUtils.commentGotoWeb(this.compDTO.operDataList[0]?.commentInfo as commentInfo)
})
...
...
sight_harmony/features/wdDetailPlayShortVideo/src/main/ets/view/PlayerRightView.ets
View file @
4190232
...
...
@@ -45,6 +45,7 @@ export struct PlayerRightView {
@Consume pageId: string
followUserId: string = ''
followUserName: string = ''
@State isZhingleRow06: number = AppStorage.get<number>('isZhingleRow06') || 0
aboutToAppear() {
// 内容用 点赞样式 1红心(点赞) 2大拇指(祈福) 3蜡烛(默哀) 4置空
...
...
@@ -53,6 +54,14 @@ export struct PlayerRightView {
// console.log(TAG, 'this.likesStyle', this.likesStyle)
// console.log(TAG, 'this.openLikes', this.openLikes)
this.contentTrackingDict()
if (this.isZhingleRow06 == 1) { //锐评精选卡视频类自动弹评论框
this.showCommentList = true
}
}
aboutToDisappear(): void {
AppStorage.setOrCreate<number>('isZhingleRow06', 0)
this.showCommentList = false
}
contentTrackingDict() {
...
...
Please
register
or
login
to post a comment