王士厅

全局规则-人民号管理端关闭稿件点赞开关,视频、图集、动态稿件不应展示点赞按钮

@@ -114,17 +114,6 @@ export struct OperRowListView { @@ -114,17 +114,6 @@ export struct OperRowListView {
114 } 114 }
115 }) 115 })
116 this.contentTrackingDict() 116 this.contentTrackingDict()
117 -  
118 - // 2:竖屏直播页 3:图集 4:横屏直播页  
119 - if(this.pageComponentType == 2 || this.pageComponentType == 4) {  
120 - // 点赞样式 love爱心型 thumb点赞手势 mourning 蜡烛(默哀) pray 祈福  
121 - this.likesStyle = this.contentDetailData?.liveInfo?.likesStyle  
122 - this.openLikes = this.contentDetailData?.liveInfo?.likeEnable == 1 ? true : false  
123 - } else {  
124 - // 内容用 点赞样式 1红心(点赞) 2大拇指(祈福) 3蜡烛(默哀) 4置空  
125 - this.likesStyle = this.contentDetailData.likesStyle  
126 - this.openLikes = this.contentDetailData.openLikes == 1 ? true : false  
127 - }  
128 } 117 }
129 118
130 contentTrackingDict(){ 119 contentTrackingDict(){
@@ -198,6 +187,16 @@ export struct OperRowListView { @@ -198,6 +187,16 @@ export struct OperRowListView {
198 console.log(TAG, 'this.audioUrl+++', this.audioUrl) 187 console.log(TAG, 'this.audioUrl+++', this.audioUrl)
199 console.log(TAG, 'this.audioTitle+++', this.audioTitle) 188 console.log(TAG, 'this.audioTitle+++', this.audioTitle)
200 } 189 }
  190 + // 2:竖屏直播页 3:图集 4:横屏直播页
  191 + if(this.pageComponentType == 2 || this.pageComponentType == 4) {
  192 + // 点赞样式 love爱心型 thumb点赞手势 mourning 蜡烛(默哀) pray 祈福
  193 + this.likesStyle = this.contentDetailData?.liveInfo?.likesStyle
  194 + this.openLikes = this.contentDetailData?.liveInfo?.likeEnable == 1 ? true : false
  195 + } else {
  196 + // 内容用 点赞样式 1红心(点赞) 2大拇指(祈福) 3蜡烛(默哀) 4置空
  197 + this.likesStyle = this.contentDetailData.likesStyle
  198 + this.openLikes = this.contentDetailData.openLikes == 1 ? true : false
  199 + }
201 } 200 }
202 201
203 build() { 202 build() {