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
陈剑华
2024-09-03 13:50:53 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5e7d577b6bba4518efedeaa69fc06f1d6e53f20b
5e7d577b
1 parent
d72d99af
fix: 20106 3:2横滑卡-配置跳转专题,运营位封面图比例不符合3:2时,鸿蒙缺少封面图占位外框
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/components/view/HorizontalStrokeCardThreeTwoRadioForMoreComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/view/HorizontalStrokeCardThreeTwoRadioForMoreComponent.ets
View file @
5e7d577
...
...
@@ -105,7 +105,6 @@ export struct HorizontalStrokeCardThreeTwoRadioForMoreComponent {
Image(item.coverUrl)
.aspectRatio(1.5)
.width(this.compDTO.operDataList.length == 2 ? 210 : 150)
.borderRadius(4)
.objectFit(ImageFit.Contain)
CardMediaInfo({
livePeopleNum:false,
...
...
@@ -113,6 +112,8 @@ export struct HorizontalStrokeCardThreeTwoRadioForMoreComponent {
})
}
.align(Alignment.BottomEnd)
.borderRadius(4)
.border({width: 1, color: 0xf5f5f5})
Text(item.newsTitle)
.fontSize($r("app.float.font_size_14"))
...
...
Please
register
or
login
to post a comment