chenjun

20067 功能缺陷-【uat】精选评论卡评论视频稿件,点击进入视频播放页,应弹出评论弹窗。

... ... @@ -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)
})
... ...
... ... @@ -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() {
... ...