Showing
2 changed files
with
6 additions
and
2 deletions
| @@ -21,9 +21,12 @@ export default struct PageNoMoreLayout { | @@ -21,9 +21,12 @@ export default struct PageNoMoreLayout { | ||
| 21 | .margin({ left: RefreshConstants.NoMoreLayoutConstant_NORMAL_PADDING }) | 21 | .margin({ left: RefreshConstants.NoMoreLayoutConstant_NORMAL_PADDING }) |
| 22 | .fontSize(RefreshConstants.NoMoreLayoutConstant_TITLE_FONT) | 22 | .fontSize(RefreshConstants.NoMoreLayoutConstant_TITLE_FONT) |
| 23 | .textAlign(TextAlign.Center) | 23 | .textAlign(TextAlign.Center) |
| 24 | + .fontColor(RefreshConstants.NoMoreLayoutConstant_TITLE_COLOR) | ||
| 25 | + | ||
| 24 | } | 26 | } |
| 25 | .width(RefreshConstants.FULL_WIDTH) | 27 | .width(RefreshConstants.FULL_WIDTH) |
| 26 | .justifyContent(FlexAlign.Center) | 28 | .justifyContent(FlexAlign.Center) |
| 27 | .height(RefreshConstants.CUSTOM_LAYOUT_HEIGHT) | 29 | .height(RefreshConstants.CUSTOM_LAYOUT_HEIGHT) |
| 30 | + .margin({bottom:RefreshConstants.NoMoreLayoutConstant_MARGIN_BOTTOM}) | ||
| 28 | } | 31 | } |
| 29 | } | 32 | } |
| @@ -47,8 +47,9 @@ export class RefreshConstants { | @@ -47,8 +47,9 @@ export class RefreshConstants { | ||
| 47 | * The NoMoreLayout constants. | 47 | * The NoMoreLayout constants. |
| 48 | */ | 48 | */ |
| 49 | static readonly NoMoreLayoutConstant_NORMAL_PADDING: number = 8; | 49 | static readonly NoMoreLayoutConstant_NORMAL_PADDING: number = 8; |
| 50 | - static readonly NoMoreLayoutConstant_TITLE_FONT: string = '16fp'; | ||
| 51 | - | 50 | + static readonly NoMoreLayoutConstant_TITLE_FONT: string = '16vp'; |
| 51 | + static readonly NoMoreLayoutConstant_TITLE_COLOR: string = '#666666'; | ||
| 52 | + static readonly NoMoreLayoutConstant_MARGIN_BOTTOM: number = 40; | ||
| 52 | /** | 53 | /** |
| 53 | * The RefreshLayout constants. | 54 | * The RefreshLayout constants. |
| 54 | */ | 55 | */ |
-
Please register or login to post a comment