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-09 10:36:26 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ac08eef354aa6e777d1926be7c73803ad117ad2b
ac08eef3
1 parent
b91ab6c7
fix: 19531 【UI走查-卡片】折叠屏展开-人民号单图卡
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/RmhTitle.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card14Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardCommon/RmhTitle.ets
View file @
ac08eef
...
...
@@ -155,6 +155,7 @@ export struct RmhTitle {
.height(21)
.lineHeight(21)
.margin({bottom: 1})
Flex({alignContent: FlexAlign.Start, wrap: FlexWrap.NoWrap}) {
Row() {
if (!(this.hideTime && this.getDaysBetweenDates(Number(this.publishTime)) > 2)) {
...
...
@@ -184,9 +185,9 @@ export struct RmhTitle {
}
}
.width('75%')
.height(14)
}
.width('calc(100% - 36vp - 8vp)')
}
.justifyContent(FlexAlign.SpaceBetween)
...
...
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card14Component.ets
View file @
ac08eef
...
...
@@ -78,13 +78,17 @@ export struct Card14Component {
.fontFamily('PingFang SC-Regular')
.textAlign(TextAlign.Start)
.margin({right: 12})
.width('
64%
')
.width('
calc(100% - 117vp - 12vp)
')
Image(this.loadImg ? this.contentDTO.fullColumnImgUrls?.[0]?.url || this.contentDTO.fullColumnImgUrls?.[0]?.fullUrl : '')
.backgroundColor(0xf5f5f5)
.aspectRatio(3 / 2)
.height(78)
.borderRadius($r('app.float.image_border_radius'))
.border({
width: 1,
color: '#0D000000'
})
.backgroundImageSize(ImageSize.Auto)
}
...
...
Please
register
or
login
to post a comment