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-19 14:16:48 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4d18ae552b45f637df6c64c929cd8802e2d49689
4d18ae55
1 parent
815d315d
fix: 20234 【uat】
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card10Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card10Component.ets
View file @
4d18ae5
...
...
@@ -246,14 +246,10 @@ export struct Card10ComponentTimelineItem {
Stack() {
Image(this.loadImg ? this.slideItem.fullColumnImgUrls[0].url : '')
.backgroundColor(0xf5f5f5)
.backgroundColor(
this.loadImg ? '' :
0xf5f5f5)
.width(117)
.height(78)
.objectFit(ImageFit.Contain)
.borderRadius($r('app.float.image_border_radius'))
.borderStyle(BorderStyle.Solid)
.borderWidth(0.5)
.borderColor($r('app.color.color_0D000000'))
CardMediaInfo({
contentDTO: this.createMediaInfoContent(this.slideItem)
})
...
...
@@ -261,6 +257,10 @@ export struct Card10ComponentTimelineItem {
.margin({ left: 12 })
.alignContent(Alignment.BottomEnd)
.height(78)
.borderRadius($r('app.float.image_border_radius'))
.borderStyle(BorderStyle.Solid)
.borderWidth(0.5)
.borderColor($r('app.color.color_0D000000'))
} else {
Column() {
Stack() {
...
...
Please
register
or
login
to post a comment