yangchenggong1_wd

fix |> 20541 搜索环球时报,搜索结果中采集的动态数据详情页不应展示人民日报logo

... ... @@ -229,7 +229,7 @@ export struct DynamicDetailComponent {
.margin({ right: $r('app.float.margin_6') })
Blank()
if (!StringUtils.isEmpty(this.followStatus)) {
if ((this.contentDetailData.rmhPlatform == 1 && this.contentDetailData?.rmhInfo?.userType != "5") && !StringUtils.isEmpty(this.followStatus)) {
if (this.followStatus == '0') {
Row() {
Blank().layoutWeight(1)
... ... @@ -685,10 +685,24 @@ export struct DynamicDetailComponent {
@Builder topNav() {
//logo、日期
Row() {
Image($r('app.media.ic_article_rmh'))
.width($r('app.float.margin_80'))
.height($r('app.float.margin_28'))
.margin({ left: $r('app.float.margin_16') })
if (this.contentDetailData.rmhPlatform == 1) { // 人民号
if (this.contentDetailData?.rmhInfo?.userType == "5") { // 内容源账号
Blank().height(1)
} else {
Image($r('app.media.ic_article_rmh'))
.width($r('app.float.margin_80'))
.height($r('app.float.margin_28'))
.margin({ left: $r('app.float.margin_16') })
}
} else if (this.contentDetailData.rmhPlatform == 2) { // 普通用户
Blank().height(1)
} else {
Image($r('app.media.logo_rmrb'))
.width($r('app.float.margin_80'))
.height($r('app.float.margin_28'))
.margin({ left: $r('app.float.margin_16') })
}
Blank()
Text(this.publishTime)
.fontColor($r('app.color.color_B0B0B0'))
... ...
... ... @@ -211,7 +211,7 @@ export struct RmhTitle {
.width('100%')
Blank()
if (this.rmhInfo?.cnIsAttention) {
if (this.rmhInfo?.cnIsAttention && this.rmhInfo?.userType != "5") {
Column() {
Row(){
if (Number(this.followStatus) === 0) {
... ...