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-22 20:33:17 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
8a63e9cc71cef425788f6c27f6e812fb1df4ab84
8a63e9cc
1 parent
3b66ec50
style:金刚卡位样式优化
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/compview/ZhGridLayout03.ets
sight_harmony/features/wdComponent/src/main/ets/components/compview/ZhGridLayout03.ets
View file @
8a63e9c
...
...
@@ -36,6 +36,12 @@ export struct ZhGridLayout03 {
}
})
}
.padding({
left: $r('app.float.card_comp_pagePadding_lf'),
right: $r('app.float.card_comp_pagePadding_lf'),
top: $r('app.float.card_comp_pagePadding_tb'),
bottom: $r('app.float.card_comp_pagePadding_tb')
})
}
/**
...
...
@@ -49,7 +55,9 @@ export struct ZhGridLayout03 {
Image(item.coverUrl)
.width(44)
.aspectRatio(1 / 1)
.margin(16)
.margin({
bottom: 16
})
Text(item.newsTitle)
.fontSize(13)
.maxLines(1)
...
...
Please
register
or
login
to post a comment