wangyong_wd

fix:修复人民号图集使用三图卡时右下角不展示图集logo及数量的问题

@@ -2,6 +2,7 @@ import { ContentDTO, FullColumnImgUrlDTO } from 'wdBean'; @@ -2,6 +2,7 @@ import { ContentDTO, FullColumnImgUrlDTO } from 'wdBean';
2 import { CommonConstants } from 'wdConstant/Index'; 2 import { CommonConstants } from 'wdConstant/Index';
3 import { ProcessUtils } from 'wdRouter'; 3 import { ProcessUtils } from 'wdRouter';
4 import { CardSourceInfo } from '../cardCommon/CardSourceInfo' 4 import { CardSourceInfo } from '../cardCommon/CardSourceInfo'
  5 +import { CardMediaInfo } from '../cardCommon/CardMediaInfo'
5 const TAG: string = 'Card4Component'; 6 const TAG: string = 'Card4Component';
6 7
7 /** 8 /**
@@ -81,6 +82,7 @@ export struct Card4Component { @@ -81,6 +82,7 @@ export struct Card4Component {
81 .maxLines(3) 82 .maxLines(3)
82 .textOverflow({ overflow: TextOverflow.Ellipsis }) // 超出的部分显示省略号。 83 .textOverflow({ overflow: TextOverflow.Ellipsis }) // 超出的部分显示省略号。
83 //三图 84 //三图
  85 + Stack(){
84 Row() { 86 Row() {
85 GridRow({ gutter: 2 }) { 87 GridRow({ gutter: 2 }) {
86 ForEach(this.contentDTO.fullColumnImgUrls, (item: FullColumnImgUrlDTO, index: number) => { 88 ForEach(this.contentDTO.fullColumnImgUrls, (item: FullColumnImgUrlDTO, index: number) => {
@@ -100,8 +102,14 @@ export struct Card4Component { @@ -100,8 +102,14 @@ export struct Card4Component {
100 }) 102 })
101 } 103 }
102 } 104 }
103 - .width('100%') 105 + .width(CommonConstants.FULL_PARENT)
104 .margin({ top: 8 }) 106 .margin({ top: 8 })
  107 + CardMediaInfo({
  108 + contentDTO: this.contentDTO
  109 + })
  110 + }
  111 + .width(CommonConstants.FULL_PARENT)
  112 + .alignContent(Alignment.BottomEnd)
105 } 113 }
106 .width('100%') 114 .width('100%')
107 .justifyContent(FlexAlign.Start) 115 .justifyContent(FlexAlign.Start)