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-08-20 14:25:42 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fe0a8cdc5bdc01a6b6afe4523ec912cc5cbc8367
fe0a8cdc
1 parent
a708d393
feat:修改电子报UI走查
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
15 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 @
fe0a8cd
...
...
@@ -28,7 +28,6 @@ export struct ENewspaperPageComponent {
@State newspaperListBean: NewspaperListBean = {} as NewspaperListBean
@Provide @Watch('onCurrentPageNumUpdated') currentPageNum: string = '01'
@State pageDialogShow: boolean = false
@State calendarDialogShow: boolean = false
@State calendarDate: string = ''
private swiperController: SwiperController = new SwiperController()
@State swiperIndex: number = 0;
...
...
@@ -225,13 +224,7 @@ export struct ENewspaperPageComponent {
})
.id('e_newspaper_date')
.onClick(() => {
this.calendarDialogShow = !this.calendarDialogShow
if (this.calendarDialogShow) {
this.calendarDialogController.open()
} else {
this.calendarDialogController.close()
}
})
if (this.newspaperListBean && this.newspaperListBean.list && this.newspaperListBean.list.length > 0) {
...
...
sight_harmony/features/wdComponent/src/main/ets/dialog/ENewspaperListDialog.ets
View file @
fe0a8cd
...
...
@@ -194,11 +194,12 @@ export struct ENewspaperListDialog {
Column() {
if (positionItem.shortTitle) {
Text(positionItem.shortTitle)
.fontSize($r('app.float.font_size_13'))
.fontSize($r('app.float.font_size_17'))
.lineHeight(25)
.fontColor($r('app.color.color_222222'))
.fontWeight(600)// .maxLines(2)
.margin({
bottom:
8
bottom:
12
})
}
...
...
@@ -215,8 +216,9 @@ export struct ENewspaperListDialog {
if (positionItem.downTitle) {
Text(positionItem.downTitle)
.fontSize($r('app.float.font_size_13'))
.fontColor($r('app.color.color_222222'))
.fontSize($r('app.float.font_size_14'))
// .fontColor($r('app.color.color_222222'))
.lineHeight(20)
.fontWeight(600)
.margin({
bottom: 8
...
...
@@ -225,9 +227,9 @@ export struct ENewspaperListDialog {
}
if (positionItem.newsTxt) {
Text(positionItem.newsTxt)
.fontSize($r('app.float.font_size_1
3
'))
.fontSize($r('app.float.font_size_1
4
'))
.fontColor($r('app.color.color_999999'))
.lineHeight(2
5
)
.lineHeight(2
1
)
.margin({
// bottom: 15
})
...
...
@@ -261,8 +263,8 @@ export struct ENewspaperListDialog {
.strokeWidth(0.5)
.color('#EDEDED')
.padding({
top: 15,
bottom: 15
top: 16,
bottom: 16
})
}
}
...
...
Please
register
or
login
to post a comment