From 1b4bcb0bf2e582b41e85a21fe58998bf1a3b56cd Mon Sep 17 00:00:00 2001 From: penglei <1624952103@qq.com> Date: Tue, 11 Nov 2025 18:20:26 +0800 Subject: [PATCH] =?utf8?q?=E6=81=A2=E5=A4=8D272=20n9=E4=BA=8C=E7=BB=B4?= =?utf8?q?=E7=A0=81=EF=BC=8C=E6=81=A2=E5=A4=8D272=E5=85=85=E7=94=B5?= =?utf8?q?=E5=8A=A8=E7=94=BB=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../nativeui/watchQRcode/src/WatchQRCodePresenter.cpp | 4 ++-- .../service/msg_center/src/notify/charge_notification.cpp | 8 ++++---- .../nativeui/watchQRcode/src/WatchQRCodePresenter.cpp | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/code/sdk/application/wearable/fd272/nativeapp/nativeui/watchQRcode/src/WatchQRCodePresenter.cpp b/code/sdk/application/wearable/fd272/nativeapp/nativeui/watchQRcode/src/WatchQRCodePresenter.cpp index 163806dcf..f26aa1c9b 100644 --- a/code/sdk/application/wearable/fd272/nativeapp/nativeui/watchQRcode/src/WatchQRCodePresenter.cpp +++ b/code/sdk/application/wearable/fd272/nativeapp/nativeui/watchQRcode/src/WatchQRCodePresenter.cpp @@ -153,9 +153,9 @@ namespace OHOS std::string WatchQRCodePresenter::WatchQRCodeGetQRCodeStr() { - /*实例:https://www.kumi.top/p-i-kumi.html?c=5&p=5&m=7a:8c:2d:61:9a:fc*/ + /*实例:https://m.fuyingy.com/new/app_download?c=5&p=5&m=7a:8c:2d:61:9a:fc*/ /*m=后边的值为手表 mac 地址,前面部分为固定格式*/ - std::string QRCodeStr = "https://www.kumi.top/p-i-kumi.html?c=5&p=5&m="; + std::string QRCodeStr = "https://m.fuyingy.com/new/app_download?c=5&p=5&m="; std::string MacAddress = GetCurrentWatchMacAddress(); // 假设这是获取当前手表 Mac 地址的函数 QRCodeStr += MacAddress; WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "QRCodeStr:%s", QRCodeStr.c_str()); diff --git a/code/sdk/application/wearable/fd272/service/msg_center/src/notify/charge_notification.cpp b/code/sdk/application/wearable/fd272/service/msg_center/src/notify/charge_notification.cpp index bca70ba31..f61ad5efa 100644 --- a/code/sdk/application/wearable/fd272/service/msg_center/src/notify/charge_notification.cpp +++ b/code/sdk/application/wearable/fd272/service/msg_center/src/notify/charge_notification.cpp @@ -48,10 +48,10 @@ namespace OHOS static constexpr char *ChargeAnimationPaths = "/user/res/charge/"; //充电动画路径 static constexpr int16_t CHARGE_ANIMATION_VIEW_NUM_FRAMES = 24; //充电动画帧数 static constexpr int16_t CHARGE_ANIMATION_VIEW_TIME = 150; //充电动画更新间隔 - static constexpr int16_t CHARGE_ANIMATION_VIEW_X = 142; //充电动画位置x - static constexpr int16_t CHARGE_ANIMATION_VIEW_Y = 134; //充电动画位置y - static constexpr int16_t CHARGE_ANIMATION_VIEW_W = 182; //充电动画宽度 - static constexpr int16_t CHARGE_ANIMATION_VIEW_H = 202; //充电动画高度 + static constexpr int16_t CHARGE_ANIMATION_VIEW_X = 42; //充电动画位置x + static constexpr int16_t CHARGE_ANIMATION_VIEW_Y = 50; //充电动画位置y + static constexpr int16_t CHARGE_ANIMATION_VIEW_W = 392; //充电动画宽度 + static constexpr int16_t CHARGE_ANIMATION_VIEW_H = 435; //充电动画高度 const ImageInfo **ChargeAnimationInfoArray{nullptr}; //充电动画图片路径数组 ImageAnimatorInfo ChargeAnimationInfo[CHARGE_ANIMATION_VIEW_NUM_FRAMES]; //充电动画图像的信息 diff --git a/code/sdk/application/wearable/n9/nativeapp/nativeui/watchQRcode/src/WatchQRCodePresenter.cpp b/code/sdk/application/wearable/n9/nativeapp/nativeui/watchQRcode/src/WatchQRCodePresenter.cpp index 163806dcf..985cfb9b3 100644 --- a/code/sdk/application/wearable/n9/nativeapp/nativeui/watchQRcode/src/WatchQRCodePresenter.cpp +++ b/code/sdk/application/wearable/n9/nativeapp/nativeui/watchQRcode/src/WatchQRCodePresenter.cpp @@ -155,7 +155,7 @@ namespace OHOS { /*实例:https://www.kumi.top/p-i-kumi.html?c=5&p=5&m=7a:8c:2d:61:9a:fc*/ /*m=后边的值为手表 mac 地址,前面部分为固定格式*/ - std::string QRCodeStr = "https://www.kumi.top/p-i-kumi.html?c=5&p=5&m="; + std::string QRCodeStr = "https://lanque.kazktv.com/index.html?c=5&p=5&m="; std::string MacAddress = GetCurrentWatchMacAddress(); // 假设这是获取当前手表 Mac 地址的函数 QRCodeStr += MacAddress; WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "QRCodeStr:%s", QRCodeStr.c_str()); -- 2.17.1