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-06-06 14:42:42 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0216f877e1afcb6f0e04ed206172fa37a0d1ba48
0216f877
1 parent
b6af848e
fix: 17260 UI还原问题-【uat】乡村振兴巡礼,直播专题,图片显示样式和android不一致,看图
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/components/view/LiveHorizontalCardComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/view/LiveHorizontalCardComponent.ets
View file @
0216f87
...
...
@@ -146,7 +146,7 @@ export struct LiveHorizontalCardComponent {
Column() {
Stack({ alignContent: Alignment.BottomEnd }) {
Image(this.loadImg ? item.coverUrl : '')
.backgroundColor(0xf5f5f5)
.backgroundColor(
this.loadImg ? 0xffffff :
0xf5f5f5)
.aspectRatio(16 / 9)
.width(this.compDTO.operDataList.length == 2 ? 210 : 150)
// .borderRadius(4)
...
...
@@ -156,6 +156,8 @@ export struct LiveHorizontalCardComponent {
contentDTO: item
})
}
.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