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-04-29 16:00:18 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fab029c3f89f80ef3ed86eb12847c94d1b03a566
fab029c3
1 parent
679395f0
feat(动态):微调
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
sight_harmony/features/wdComponent/src/main/ets/components/DynamicDetailComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/DynamicDetailComponent.ets
View file @
fab029c
...
...
@@ -83,7 +83,7 @@ export struct DynamicDetailComponent {
Image($r('app.media.ic_news_detail_division'))
.width('100%')
.height($r('app.float.margin_7'))
.
margin
({left: $r('app.float.margin_16'), right: $r('app.float.margin_16')} )
.
padding
({left: $r('app.float.margin_16'), right: $r('app.float.margin_16')} )
Stack({ alignContent: Alignment.Bottom }) {
Scroll(this.scroller) {
Column() {
...
...
@@ -275,7 +275,7 @@ export struct DynamicDetailComponent {
Image(this.contentDetailData.fullColumnImgUrls!= null && this.contentDetailData.fullColumnImgUrls.length>0&&!StringUtils.isEmpty(this.contentDetailData.fullColumnImgUrls[0].url)?
this.contentDetailData.fullColumnImgUrls[0].url:
this.contentDetailData.videoInfo[0].firstFrameImageUri)
.width(DisplayUtils.getDeviceWidth()-32)
.width(DisplayUtils.getDeviceWidth()-
32)
.height((DisplayUtils.getDeviceWidth()-32)* 9 / 16)
.borderRadius($r('app.float.image_border_radius'))
CardMediaInfo({ contentDTO: this.mJumpInfo })
...
...
@@ -300,7 +300,7 @@ export struct DynamicDetailComponent {
}
}
}
.
margin({ left: $r('app.float.margin_16')
,top: $r('app.float.margin_8')})
.
padding({ left: this.contentDetailData.videoInfo[0].videoLandScape === 1?0: 16
,top: $r('app.float.margin_8')})
.onClick((event: ClickEvent) => {
ProcessUtils.processPage(this.mJumpInfo)
})
...
...
Please
register
or
login
to post a comment