liyubing

fix:1)无网络进入直播预告和直播列表页,无网络缺省图未居中

... ... @@ -12,7 +12,7 @@ struct LiveMorePage {
@State topSafeHeight: number = AppStorage.get<number>('topSafeHeight') as number;
@Provide bottomSafeHeight: number = AppStorage.get<number>('bottomSafeHeight') || 0
@State bottomSafeHeight: number = AppStorage.get<number>('bottomSafeHeight') || 0
title: string = '直播列表'
... ...
... ... @@ -31,7 +31,6 @@ export default struct TemplatePageComponent {
// 滚动
private templateScroller: Scroller = new Scroller()
@Consume bottomSafeHeight:number
//识别不同页面的业务类型
pageDataSourceType: string = ''
... ... @@ -109,7 +108,6 @@ export default struct TemplatePageComponent {
this.requestPageData()
}
})
// Column().backgroundColor(Color.Blue).width('100%').height('100%').margin({bottom:px2vp(this.bottomSafeHeight)})
}
}
... ...