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
xugenyuan
2024-09-30 16:04:08 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1357cabe417b3b0c77b818fc960c5c96f82c75b1
1357cabe
1 parent
a2e41105
ref |> 修复早晚报cell上的图片边距带背景色问题
Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
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/page/CardView.ets
sight_harmony/features/wdComponent/src/main/ets/components/page/CardView.ets
View file @
1357cab
...
...
@@ -447,7 +447,7 @@ export struct PaperSingleColumn999CardView {
.borderRadius(5)
.objectFit(ImageFit.Fill)
// .aspectRatio(319 / 179) ///图片设计比例
.
padding
({ top: 10 })
.
margin
({ top: 10 })
.backgroundColor('#f5f5f5')
.width('100%')
.height((DisplayUtils.getDeviceWidth() - 66)*(179 / 319))
...
...
Please
register
or
login
to post a comment