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-05-14 15:55:47 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
867ab12c1972102d45345cd169cfa1f00aa818f4
867ab12c
1 parent
ce6b5fc3
fix: 17362 UI还原问题--单图卡鸿蒙版图片大小与安卓不一致,鸿蒙版图片偏大
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card6Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card6Component.ets
View file @
867ab12
...
...
@@ -70,7 +70,7 @@ export struct Card6Component {
.backgroundColor(this.loadImg ? $r('app.color.color_B0B0B0') : 0xf5f5f5)
.borderRadius(5)
.aspectRatio(this.contentDTO.appStyle === CompStyle.Card_13 ? 3 / 2 : 3 / 4)
.height(this.contentDTO.appStyle === CompStyle.Card_13 ?
90 : 180
)
.height(this.contentDTO.appStyle === CompStyle.Card_13 ?
78 : 156
)
CardMediaInfo({ contentDTO: this.contentDTO })
}
.alignContent(Alignment.BottomEnd)
...
...
Please
register
or
login
to post a comment