wangliang_wd

feat:修改电子报UI走查

... ... @@ -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) {
... ...
... ... @@ -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_13'))
.fontSize($r('app.float.font_size_14'))
.fontColor($r('app.color.color_999999'))
.lineHeight(25)
.lineHeight(21)
.margin({
// bottom: 15
})
... ... @@ -261,8 +263,8 @@ export struct ENewspaperListDialog {
.strokeWidth(0.5)
.color('#EDEDED')
.padding({
top: 15,
bottom: 15
top: 16,
bottom: 16
})
}
}
... ...