Showing
2 changed files
with
3 additions
and
0 deletions
| @@ -55,6 +55,7 @@ export struct ENewspaperPageComponent { | @@ -55,6 +55,7 @@ export struct ENewspaperPageComponent { | ||
| 55 | alignment: DialogAlignment.Top, | 55 | alignment: DialogAlignment.Top, |
| 56 | offset: { dx: 0, dy: 80 }, | 56 | offset: { dx: 0, dy: 80 }, |
| 57 | customStyle: true, | 57 | customStyle: true, |
| 58 | + maskColor: $r('app.color.color_80000000'), | ||
| 58 | }) | 59 | }) |
| 59 | //图片版选择弹框 | 60 | //图片版选择弹框 |
| 60 | pageDialogController: CustomDialogController = new CustomDialogController({ | 61 | pageDialogController: CustomDialogController = new CustomDialogController({ |
| @@ -65,6 +66,7 @@ export struct ENewspaperPageComponent { | @@ -65,6 +66,7 @@ export struct ENewspaperPageComponent { | ||
| 65 | alignment: DialogAlignment.BottomStart, | 66 | alignment: DialogAlignment.BottomStart, |
| 66 | offset: { dx: 0, dy: -90 }, | 67 | offset: { dx: 0, dy: -90 }, |
| 67 | customStyle: true, | 68 | customStyle: true, |
| 69 | + maskColor: $r('app.color.color_80000000'), | ||
| 68 | }) | 70 | }) |
| 69 | //文字报纸弹框 | 71 | //文字报纸弹框 |
| 70 | @State isOpenListDialog: boolean = false | 72 | @State isOpenListDialog: boolean = false |
| @@ -30,6 +30,7 @@ export struct ENewspaperListDialog { | @@ -30,6 +30,7 @@ export struct ENewspaperListDialog { | ||
| 30 | alignment: DialogAlignment.TopStart, | 30 | alignment: DialogAlignment.TopStart, |
| 31 | offset: { dx: 0, dy: 224 }, | 31 | offset: { dx: 0, dy: 224 }, |
| 32 | customStyle: true, | 32 | customStyle: true, |
| 33 | + maskColor: $r('app.color.color_80000000'), | ||
| 33 | }) | 34 | }) |
| 34 | //页面半屏弹窗(实现在上个组件)若尝试在CustomDialog中传入多个其他的Controller, | 35 | //页面半屏弹窗(实现在上个组件)若尝试在CustomDialog中传入多个其他的Controller, |
| 35 | // 以实现在CustomDialog中打开另一个或另一些CustomDialog, | 36 | // 以实现在CustomDialog中打开另一个或另一些CustomDialog, |
-
Please register or login to post a comment