wangliang_wd

feat:优化动态详情页顶部logo显示

@@ -104,11 +104,12 @@ export struct DynamicDetailComponent { @@ -104,11 +104,12 @@ export struct DynamicDetailComponent {
104 // @Provide bottomSafeHeight: number = AppStorage.get<number>('bottomSafeHeight') || 0 104 // @Provide bottomSafeHeight: number = AppStorage.get<number>('bottomSafeHeight') || 0
105 @Provide topSafeHeight: number = AppStorage.get<number>('topSafeHeight') || 0 105 @Provide topSafeHeight: number = AppStorage.get<number>('topSafeHeight') || 0
106 async aboutToAppear() { 106 async aboutToAppear() {
  107 + this.pageRmhPlatform = this.action.params?.extra?.rmhPlatform || 2;
  108 +
107 await this.getContentDetailData() 109 await this.getContentDetailData()
108 // 内容用 点赞样式 1红心(点赞) 2大拇指(祈福) 3蜡烛(默哀) 4置空 110 // 内容用 点赞样式 1红心(点赞) 2大拇指(祈福) 3蜡烛(默哀) 4置空
109 this.likesStyle = this.contentDetailData.likesStyle 111 this.likesStyle = this.contentDetailData.likesStyle
110 this.openLikes = this.contentDetailData.openLikes == 1 ? true : false 112 this.openLikes = this.contentDetailData.openLikes == 1 ? true : false
111 - this.pageRmhPlatform = this.action.params?.extra?.rmhPlatform || 2;  
112 113
113 //注册通知,来自别的组件的评论成功通知 114 //注册通知,来自别的组件的评论成功通知
114 EmitterUtils.receiveEvent(EmitterEventId.COMMENT_PUBLISH, (targetId?: string) => { 115 EmitterUtils.receiveEvent(EmitterEventId.COMMENT_PUBLISH, (targetId?: string) => {