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
wangliang_wd
2024-05-28 09:21:53 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9e558c0df35423f8e3267aa22817a0735a0a9743
9e558c0d
1 parent
eb39402f
feat:优化早晚报滑动逻辑
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
sight_harmony/features/wdComponent/src/main/ets/components/MorningEveningPaper/MorningEveningPaperComponent.ets
sight_harmony/features/wdComponent/src/main/ets/components/MorningEveningPaper/topicInfoView.ets
sight_harmony/features/wdComponent/src/main/ets/components/MorningEveningPaper/MorningEveningPaperComponent.ets
View file @
9e558c0
...
...
@@ -295,7 +295,7 @@ export struct MorningEveningPaperComponent {
topPaperTitle(){
Column(){
PaperTitleComponent().margin({top:this.topSafeHeight})
}.height(44+this.topSafeHeight).backgroundColor(this.
scrollOffset > 100?this.mixedBgColor:''
)
}.height(44+this.topSafeHeight).backgroundColor(this.
isHasTopView?(this.scrollOffset > 100?this.mixedBgColor:''):this.mixedBgColor
)
}
@Builder
...
...
sight_harmony/features/wdComponent/src/main/ets/components/MorningEveningPaper/topicInfoView.ets
View file @
9e558c0
...
...
@@ -75,7 +75,7 @@ export struct topicInfoView {
left: { anchor: "__container__", align: HorizontalAlign.Start },
bottom: this.frontLinkObject.linkUrl.length > 0?{ anchor: "row_detail", align: VerticalAlign.Top }:{ anchor: "__container__", align: VerticalAlign.Bottom }
})
.margin({ left: 16, right: 16
})
.margin({ left: 16, right: 16
, bottom: this.frontLinkObject.linkUrl.length > 0?0:16
})
.id('txt_summary')
Text(this.frontLinkObject?.title ?? "")
...
...
Please
register
or
login
to post a comment