From b2f6265bd2a0b2e58ef6f6a49209b064a22cd73a Mon Sep 17 00:00:00 2001 From: liugang9704 <2745340733@qq.com> Date: Thu, 6 Nov 2025 22:25:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=B8=AD=E8=8B=B1?= =?UTF-8?q?=E6=96=87=E5=88=87=E6=8D=A2=E6=97=B6=E5=AD=97=E4=BD=93=E6=9C=AA?= =?UTF-8?q?=E6=94=B9=E5=8F=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entry/src/main/ets/pages/Index.ets | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/entry/src/main/ets/pages/Index.ets b/entry/src/main/ets/pages/Index.ets index 100e5b4..500e3b8 100644 --- a/entry/src/main/ets/pages/Index.ets +++ b/entry/src/main/ets/pages/Index.ets @@ -366,6 +366,7 @@ struct Index { // Open the graphic and text prompts let uiContext = this.getUIContext(); PromptActionClass.setContext(uiContext); + imageTipsContentNode = new ComponentContent(getUIContext, wrapBuilder(buildText), new Params(this.message)); PromptActionClass.setContentNode(imageTipsContentNode); // [Start focusable] PromptActionClass.setOptions({ @@ -391,6 +392,8 @@ struct Index { // Open the operation prompt let uiContext = this.getUIContext(); PromptActionClass.setContext(uiContext); + actionTipsContentNode = new ComponentContent(getUIContext, wrapBuilder(buildActionTips), + new ActionParams($r('app.string.collection_successful'), $r('app.string.join_the_album'))) PromptActionClass.setContentNode(actionTipsContentNode); PromptActionClass.setOptions({ isModal: false, @@ -430,6 +433,7 @@ struct Index { // Open the confirmation pop-up window let uiContext = this.getUIContext(); PromptActionClass.setContext(uiContext); + contentNode = new ComponentContent(getUIContext, wrapBuilder(customDialogComponent)); PromptActionClass.setContentNode(contentNode); PromptActionClass.setOptions({ autoCancel: false }); PromptActionClass.openDialog(); @@ -460,6 +464,8 @@ struct Index { // Open the progress bar pop-up window let uiContext = this.getUIContext(); PromptActionClass.setContext(uiContext); + progressContentNode = new ComponentContent(getUIContext, wrapBuilder(buildProgress), + new ProgressParams($r('app.string.progress'), value, false)); PromptActionClass.setContentNode(progressContentNode); PromptActionClass.setOptions({ autoCancel: true, -- Gitee