wangliang_wd

feat:隐藏电子报分享

... ... @@ -231,19 +231,19 @@ export struct ENewspaperPageComponent {
this.calendarDialogController.open()
})
if (this.newspaperListBean && this.newspaperListBean.list && this.newspaperListBean.list.length > 0) {
Image($r('app.media.icon_share'))
.height($r('app.float.top_arrow_size'))
.width($r('app.float.top_arrow_size'))
.alignRules({
right: { anchor: "__container__", align: HorizontalAlign.End },
center: { anchor: "__container__", align: VerticalAlign.Center }
})
.id('e_newspaper_share')
.onClick(() => {
this.share()
})
}
// if (this.newspaperListBean && this.newspaperListBean.list && this.newspaperListBean.list.length > 0) {
// Image($r('app.media.icon_share'))
// .height($r('app.float.top_arrow_size'))
// .width($r('app.float.top_arrow_size'))
// .alignRules({
// right: { anchor: "__container__", align: HorizontalAlign.End },
// center: { anchor: "__container__", align: VerticalAlign.Center }
// })
// .id('e_newspaper_share')
// .onClick(() => {
// this.share()
// })
// }
}
.margin({ left: $r('app.float.margin_16'), right: $r('app.float.margin_16'), top: this.topSafeHeight + 'px' })
.height($r('app.float.top_bar_height'))
... ...