Showing
5 changed files
with
19 additions
and
6 deletions
| @@ -15,7 +15,7 @@ export struct InteractMComponent { | @@ -15,7 +15,7 @@ export struct InteractMComponent { | ||
| 15 | build() { | 15 | build() { |
| 16 | Row(){ | 16 | Row(){ |
| 17 | Image(this.messageModel.InteractMsubM.headUrl) | 17 | Image(this.messageModel.InteractMsubM.headUrl) |
| 18 | - .alt($r('app.media.default_head')) | 18 | + .alt(this.messageModel.InteractMsubM.userType === '1'?$r('app.media.default_head'):$r('app.media.AccountOwner_DefaultIcon')) |
| 19 | .width(36) | 19 | .width(36) |
| 20 | .height(36) | 20 | .height(36) |
| 21 | .borderRadius(18) | 21 | .borderRadius(18) |
| @@ -169,9 +169,13 @@ export struct SingleColumn999Component { | @@ -169,9 +169,13 @@ export struct SingleColumn999Component { | ||
| 169 | */ | 169 | */ |
| 170 | @Builder | 170 | @Builder |
| 171 | buildPaperItem(item: ContentDTO, index: number) { | 171 | buildPaperItem(item: ContentDTO, index: number) { |
| 172 | - PaperSingleColumn999CardView({ | ||
| 173 | - item: item, | ||
| 174 | - index: index, | ||
| 175 | - }) | 172 | + ///屏蔽早晚报 音频 |
| 173 | + if (item.objectType != '13'){ | ||
| 174 | + PaperSingleColumn999CardView({ | ||
| 175 | + item: item, | ||
| 176 | + index: index, | ||
| 177 | + }) | ||
| 178 | + } | ||
| 179 | + | ||
| 176 | } | 180 | } |
| 177 | } | 181 | } |
| @@ -542,11 +542,19 @@ export struct PaperSingleColumn999CardView { | @@ -542,11 +542,19 @@ export struct PaperSingleColumn999CardView { | ||
| 542 | if (this.item) { | 542 | if (this.item) { |
| 543 | Row() { | 543 | Row() { |
| 544 | Row() { | 544 | Row() { |
| 545 | + | ||
| 546 | + if (this.item.corner.length > 0){ | ||
| 547 | + Text(this.item.corner) | ||
| 548 | + .fontSize(12) | ||
| 549 | + .fontColor('#ED2800') | ||
| 550 | + .margin({ left: 16 }) | ||
| 551 | + } | ||
| 552 | + | ||
| 545 | if (this.buildSourceString().length > 0) { | 553 | if (this.buildSourceString().length > 0) { |
| 546 | Text(this.buildSourceString()) | 554 | Text(this.buildSourceString()) |
| 547 | .fontSize(12) | 555 | .fontSize(12) |
| 548 | .fontColor('#B0B0B0') | 556 | .fontColor('#B0B0B0') |
| 549 | - .margin({ left: 16 }) | 557 | + .margin({ left: this.item.corner.length > 0?10:16 }) |
| 550 | 558 | ||
| 551 | ///不显示时间或者不显示评论 | 559 | ///不显示时间或者不显示评论 |
| 552 | if (this.getPublishTime().length > 0 || this.item.objectType != '2' && this.interactData && this.interactData.commentNum && Number(this.interactData.commentNum) > 0) { | 560 | if (this.getPublishTime().length > 0 || this.item.objectType != '2' && this.interactData && this.interactData.commentNum && Number(this.interactData.commentNum) > 0) { |
| @@ -114,6 +114,7 @@ struct MyCollectionListPage { | @@ -114,6 +114,7 @@ struct MyCollectionListPage { | ||
| 114 | .height(CommonConstants.FULL_HEIGHT) | 114 | .height(CommonConstants.FULL_HEIGHT) |
| 115 | } | 115 | } |
| 116 | } | 116 | } |
| 117 | + .backgroundColor('#FFFFFF') | ||
| 117 | .width(CommonConstants.FULL_WIDTH) | 118 | .width(CommonConstants.FULL_WIDTH) |
| 118 | .height(CommonConstants.FULL_HEIGHT) | 119 | .height(CommonConstants.FULL_HEIGHT) |
| 119 | } | 120 | } |
-
Please register or login to post a comment