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-06-24 14:58:04 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
24dc52d93a279c4c93cf9bc5865f2df6067fb315
24dc52d9
1 parent
c83fd1d3
fix: 19085 一多适配--折叠屏,人民号>关注:号主动态,单图卡样式标题折行不正确
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card14Component.ets
sight_harmony/features/wdComponent/src/main/ets/components/cardview/Card14Component.ets
View file @
24dc52d
...
...
@@ -55,7 +55,7 @@ export struct Card14Component {
)
}
// 左标题,右图
Flex({ direction: FlexDirection.Row, justifyContent: FlexAlign.S
paceBetween
}) {
Flex({ direction: FlexDirection.Row, justifyContent: FlexAlign.S
tart
}) {
Text() {
if (this.titleMarked) {
...
...
@@ -77,16 +77,14 @@ export struct Card14Component {
.lineHeight(25)
.fontFamily('PingFang SC-Regular')
.textAlign(TextAlign.Start)
// .flexBasis('auto')
.margin({right: 12})
.
flexBasis(214
)
.
width('64%'
)
Image(this.loadImg ? this.contentDTO.coverUrl : '')
.backgroundColor(0xf5f5f5)
.
flexBasis(117
)
.
aspectRatio(3 / 2
)
.height(78)
.borderRadius($r('app.float.image_border_radius'))
// .flexBasis(160)
.backgroundImageSize(ImageSize.Auto)
}
...
...
Please
register
or
login
to post a comment