From 8d71467c113fbd41b21ef59ff8e6bedbf8fd8e19 Mon Sep 17 00:00:00 2001 From: xue <2144439972@qq.com> Date: Wed, 22 Oct 2025 09:46:22 +0800 Subject: [PATCH] =?utf8?q?=E5=A2=9E=E5=8A=A0=E8=A7=A3=E7=BB=91=E6=8F=90?= =?utf8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeui/thunderbird/include/ThunderBirdAdjustView.h | 1 + .../nativeui/thunderbird/include/ThunderBirdGuideView.h | 1 + .../nativeui/thunderbird/src/ThunderBirdPresenter.cpp | 5 +++++ 3 files changed, 7 insertions(+) diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/include/ThunderBirdAdjustView.h b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/include/ThunderBirdAdjustView.h index 9a1062d68..70bc05263 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/include/ThunderBirdAdjustView.h +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/include/ThunderBirdAdjustView.h @@ -92,6 +92,7 @@ namespace OHOS void ClearAll(void); void Show(int16_t showView); void UpdateTaskReminderText(const char* text); + void ShowUnbindWarning(); enum : int16_t { THUNDERBIRD_ADJUSTVIEW_BIND_SUCCESS = 0, // 绑定成功 diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/include/ThunderBirdGuideView.h b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/include/ThunderBirdGuideView.h index 8456fdefa..b809a4374 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/include/ThunderBirdGuideView.h +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/include/ThunderBirdGuideView.h @@ -20,6 +20,7 @@ namespace OHOS void ClearAll(void); void Show(int16_t showView); void UpdateQrcode(); + void UpdateTextLabel(const char* text); enum : int16_t { THUNDERBIRD_GUIDEVIEW_1 = 0, diff --git a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp index 4a7d6d1f9..dd603ab08 100644 --- a/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp +++ b/code/sdk/application/wearable/ln/nativeapp/nativeui/thunderbird/src/ThunderBirdPresenter.cpp @@ -705,6 +705,11 @@ namespace OHOS WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "ThunderBirdPresenter::HandleFuncKeyLongPress"); ThunderBirdMainView::GetInstance()->ChangeView(currentView, THUNDERBIRD_LULLABYVIEW, ThunderBirdLullabyView::THUNDERBIRD_LULLABYVIEW_5); } + else if(currentView == THUNDERBIRD_GUIDEVIEW) + { + ThunderBirdMainView::GetInstance()->ChangeView(currentView, THUNDERBIRD_GUIDEVIEW, ThunderBirdGuideView::THUNDERBIRD_GUIDEVIEW_3); + ThunderBirdGuideView::GetInstance()->UpdateTextLabel("先小程序扫码绑定\n才能开始对话哦~"); + } } } -- 2.17.1