Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
wangyong_wd
2024-04-24 22:43:12 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
be81fb38ed65ab20098cfc34efdf01f2e6394b8f
be81fb38
1 parent
880d864d
fix:修复人民号图集使用三图卡时右下角不展示图集logo及数量的问题
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card4Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card4Component.ets
View file @
be81fb3
...
...
@@ -2,6 +2,7 @@ import { ContentDTO, FullColumnImgUrlDTO } from 'wdBean';
import { CommonConstants } from 'wdConstant/Index';
import { ProcessUtils } from 'wdRouter';
import { CardSourceInfo } from '../cardCommon/CardSourceInfo'
import { CardMediaInfo } from '../cardCommon/CardMediaInfo'
const TAG: string = 'Card4Component';
/**
...
...
@@ -81,6 +82,7 @@ export struct Card4Component {
.maxLines(3)
.textOverflow({ overflow: TextOverflow.Ellipsis }) // 超出的部分显示省略号。
//三图
Stack(){
Row() {
GridRow({ gutter: 2 }) {
ForEach(this.contentDTO.fullColumnImgUrls, (item: FullColumnImgUrlDTO, index: number) => {
...
...
@@ -100,8 +102,14 @@ export struct Card4Component {
})
}
}
.width('100%'
)
.width(CommonConstants.FULL_PARENT
)
.margin({ top: 8 })
CardMediaInfo({
contentDTO: this.contentDTO
})
}
.width(CommonConstants.FULL_PARENT)
.alignContent(Alignment.BottomEnd)
}
.width('100%')
.justifyContent(FlexAlign.Start)
...
...
Please
register
or
login
to post a comment