yuzhilin

fix:17099 频道已到底线,会回弹,字体被遮挡一半且字体颜色不对

... ... @@ -21,9 +21,12 @@ export default struct PageNoMoreLayout {
.margin({ left: RefreshConstants.NoMoreLayoutConstant_NORMAL_PADDING })
.fontSize(RefreshConstants.NoMoreLayoutConstant_TITLE_FONT)
.textAlign(TextAlign.Center)
.fontColor(RefreshConstants.NoMoreLayoutConstant_TITLE_COLOR)
}
.width(RefreshConstants.FULL_WIDTH)
.justifyContent(FlexAlign.Center)
.height(RefreshConstants.CUSTOM_LAYOUT_HEIGHT)
.margin({bottom:RefreshConstants.NoMoreLayoutConstant_MARGIN_BOTTOM})
}
}
\ No newline at end of file
... ...
... ... @@ -47,8 +47,9 @@ export class RefreshConstants {
* The NoMoreLayout constants.
*/
static readonly NoMoreLayoutConstant_NORMAL_PADDING: number = 8;
static readonly NoMoreLayoutConstant_TITLE_FONT: string = '16fp';
static readonly NoMoreLayoutConstant_TITLE_FONT: string = '16vp';
static readonly NoMoreLayoutConstant_TITLE_COLOR: string = '#666666';
static readonly NoMoreLayoutConstant_MARGIN_BOTTOM: number = 40;
/**
* The RefreshLayout constants.
*/
... ...