wangliang_wd

feat:优化广告图片展示,优化电子报展示

... ... @@ -47,7 +47,7 @@ export struct ENewspaperItemComponent {
}
this.isShowSkeleton = false
})
.objectFit(ImageFit.Fill)
.objectFit(ImageFit.Contain)
.zIndex(10)
newsSkeleton({showBottom: false})
.visibility(this.isShowSkeleton ? Visibility.Visible : Visibility.None)
... ...
... ... @@ -250,6 +250,7 @@ export function closeRefresh(pageModel: PageModel, isRefreshSuccess: boolean) {
pullRefreshState(pageModel,RefreshState.GOLOADED);
//定时器时间就是'已刷新至最新'停留时间
setTimeout(() => {
let delay = Const.RefreshConstant_DELAY_PULL_DOWN_REFRESH;
if (self.isCanRefresh === true) {
... ...
... ... @@ -89,7 +89,7 @@ struct LaunchAdvertisingPage {
}else {
//显示图片
Image(this.defaultModel.bootScreenUrl)
.objectFit(this.isPad?ImageFit.Contain:ImageFit.Fill)
.objectFit(this.isPad?ImageFit.Cover:ImageFit.Fill)
// .expandSafeArea([SafeAreaType.SYSTEM], [SafeAreaEdge.TOP, SafeAreaEdge.BOTTOM])
.width('100%')
.height('100%')
... ...