chenjun

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

@@ -140,6 +140,14 @@ export struct ZhSingleRow06 { @@ -140,6 +140,14 @@ export struct ZhSingleRow06 {
140 .borderRadius(4) 140 .borderRadius(4)
141 .margin({bottom: 12}) 141 .margin({bottom: 12})
142 .onClick(() => { 142 .onClick(() => {
  143 + let contentBean = ProcessUtils.commentBeanToContentBean(this.compDTO.operDataList[0]?.commentInfo as commentInfo)
  144 + if(contentBean !== null && contentBean !== undefined){
  145 + let type = contentBean.objectType;
  146 + if (type == "1") {
  147 + AppStorage.setOrCreate<number>('isZhingleRow06', 1)
  148 + }
  149 + }
  150 +
143 ProcessUtils.commentGotoWeb(this.compDTO.operDataList[0]?.commentInfo as commentInfo) 151 ProcessUtils.commentGotoWeb(this.compDTO.operDataList[0]?.commentInfo as commentInfo)
144 }) 152 })
145 153
@@ -45,6 +45,7 @@ export struct PlayerRightView { @@ -45,6 +45,7 @@ export struct PlayerRightView {
45 @Consume pageId: string 45 @Consume pageId: string
46 followUserId: string = '' 46 followUserId: string = ''
47 followUserName: string = '' 47 followUserName: string = ''
  48 + @State isZhingleRow06: number = AppStorage.get<number>('isZhingleRow06') || 0
48 49
49 aboutToAppear() { 50 aboutToAppear() {
50 // 内容用 点赞样式 1红心(点赞) 2大拇指(祈福) 3蜡烛(默哀) 4置空 51 // 内容用 点赞样式 1红心(点赞) 2大拇指(祈福) 3蜡烛(默哀) 4置空
@@ -53,6 +54,14 @@ export struct PlayerRightView { @@ -53,6 +54,14 @@ export struct PlayerRightView {
53 // console.log(TAG, 'this.likesStyle', this.likesStyle) 54 // console.log(TAG, 'this.likesStyle', this.likesStyle)
54 // console.log(TAG, 'this.openLikes', this.openLikes) 55 // console.log(TAG, 'this.openLikes', this.openLikes)
55 this.contentTrackingDict() 56 this.contentTrackingDict()
  57 + if (this.isZhingleRow06 == 1) { //锐评精选卡视频类自动弹评论框
  58 + this.showCommentList = true
  59 + }
  60 + }
  61 +
  62 + aboutToDisappear(): void {
  63 + AppStorage.setOrCreate<number>('isZhingleRow06', 0)
  64 + this.showCommentList = false
56 } 65 }
57 66
58 contentTrackingDict() { 67 contentTrackingDict() {