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
yanlu
2024-05-14 10:12:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
778a60257f0eb84541d87e181d852e42aa87500e
778a6025
1 parent
c76783e4
fix:17486 17483版面-读报纸,责编展示不全,不应只展示2行
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
sight_harmony/features/wdComponent/src/main/ets/components/ENewspaperPageComponent.ets
sight_harmony/features/wdComponent/src/main/ets/dialog/ENewspaperListDialog.ets
sight_harmony/features/wdComponent/src/main/ets/components/ENewspaperPageComponent.ets
View file @
778a602
...
...
@@ -311,6 +311,7 @@ export struct ENewspaperPageComponent {
.width('100%')
.height('100%')
.backgroundColor($r('app.color.color_80000000'))
.expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.TOP, SafeAreaEdge.BOTTOM])
.id('e_newspaper_container')
if (this.isOpenListDialog) {
...
...
sight_harmony/features/wdComponent/src/main/ets/dialog/ENewspaperListDialog.ets
View file @
778a602
...
...
@@ -137,7 +137,7 @@ export struct ENewspaperListDialog {
.fontSize($r('app.float.font_size_14'))
.fontColor($r('app.color.color_222222'))
.fontWeight(600)
.maxLines(2)
//
.maxLines(2)
.margin({
bottom: 8
})
...
...
@@ -151,7 +151,7 @@ export struct ENewspaperListDialog {
.margin({
bottom: 8
})
.maxLines(2)
//
.maxLines(2)
}
if (positionItem.downTitle) {
...
...
@@ -162,7 +162,7 @@ export struct ENewspaperListDialog {
.margin({
bottom: 8
})
.maxLines(2)
//
.maxLines(2)
}
if (positionItem.newsTxt) {
Text(positionItem.newsTxt)
...
...
@@ -251,16 +251,11 @@ export struct ENewspaperListDialog {
this.currentPageNum = `${firstIndex < 9 ? '0' + (firstIndex + 1) : firstIndex + 1}`
// }
})
.onScroll((scrollOffset: number, scrollState: ScrollState) => {
// console.info(`onScroll scrollState = ScrollState` + scrollState + `, scrollOffset = ` + scrollOffset)
// if (this.scrollOffset == 0) {
// this.scrollOffset = 0
// }
})
}
.margin({ top: 124 })
.width('100%')
.backgroundColor(Color.White)
.expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.BOTTOM])
.onClick(() => {
})
...
...
Please
register
or
login
to post a comment