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());
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]; //充电动画图像的信息
{
/*实例: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());