From: luozheng <1732036298@qq.com> Date: Tue, 10 Mar 2026 09:47:39 +0000 (+0800) Subject: 运动目标达成文字颜色修改成fuying蓝 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=refs%2Fchanges%2F3262%2Fhead;p=mirrors%2FFD230.git 运动目标达成文字颜色修改成fuying蓝 --- diff --git a/code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/training_card/src/TraingCardView.cpp b/code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/training_card/src/TraingCardView.cpp index d1e69a3e8..c48cbf224 100755 --- a/code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/training_card/src/TraingCardView.cpp +++ b/code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/training_card/src/TraingCardView.cpp @@ -1039,7 +1039,8 @@ void TraingCardView::InitImageAnimator() { labeltag->SetLineBreakMode(UILabel::LINE_BREAK_OSCILLATION); labeltag->SetRollSpeed(23); - labeltag->SetTextColor(Color::GetColorFromRGBA(0x4f, 0xc3, 0x4c, 0xff)); + // labeltag->SetTextColor(Color::GetColorFromRGBA(0x4f, 0xc3, 0x4c, 0xff)); + labeltag->SetTextColor(Color::GetColorFromRGBA(0x0d, 0x62, 0xff, 0xff)); getView->Add(labeltag); // 初始化图片数组以及动画 diff --git a/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp b/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp index e5885e9e2..972335d6a 100644 --- a/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp +++ b/code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp @@ -147,8 +147,8 @@ {TOPIC_EVENT_BLE_TRAINING,PRIORITY_TWO}, {TOPIC_EVENT_BLE_TRANSMIT,PRIORITY_ONE}, - {TOPIC_EVENT_CHARGE_PLUG, PRIORITY_TWO}, - {TOPIC_EVENT_CHARGE_UNPLUG, PRIORITY_TWO}, + {TOPIC_EVENT_CHARGE_PLUG, PRIORITY_TWO},// 充电插入 + {TOPIC_EVENT_CHARGE_UNPLUG, PRIORITY_TWO},// 充电拔出 {TOPIC_EVENT_LOWPOWER_ALARM,PRIORITY_TWO}, {TOPIC_EVENT_DEVICE_BIND, PRIORITY_ONE}, diff --git a/code/sdk/application/wearable/fd272/service/msg_center/src/notify/goal_notification.cpp b/code/sdk/application/wearable/fd272/service/msg_center/src/notify/goal_notification.cpp index 79fba4135..ddfdde8da 100755 --- a/code/sdk/application/wearable/fd272/service/msg_center/src/notify/goal_notification.cpp +++ b/code/sdk/application/wearable/fd272/service/msg_center/src/notify/goal_notification.cpp @@ -326,7 +326,7 @@ namespace OHOS } WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP,"tag[%d]-tagType[%d]-tagString[%s]\r\n", tag, tagType,tagString.c_str()); InitLabel(labeltag, 70, 215, 326, 97, "label2", tagString.c_str(),DEFAULT_VECTOR_FONT_FILENAME, 80); - labeltag->SetTextColor(Color::GetColorFromRGBA(0x4f, 0xc3, 0x4c, 0xff)); + labeltag->SetTextColor(Color::GetColorFromRGBA(0x0d, 0x62, 0xff, 0xff)); labeltag->SetLineBreakMode(UILabel::LINE_BREAK_OSCILLATION); /* 与充电动画一致的创建方式:CreateImageInfoArray + ImageAnimatorInfo(IMG_SRC_IMAGE_INFO) + SetPosition/SetImageAnimatorSrc */ if (imageAnimator == nullptr) @@ -538,6 +538,8 @@ namespace OHOS labeltag->SetLineBreakMode(UILabel::LINE_BREAK_MARQUEE); getView->Invalidate(); } + if(labeltag != nullptr) + labeltag->SetTextColor(Color::GetColorFromRGBA(0x0d, 0x62, 0xff, 0xff)); return getView; WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "ShowGetTagView end");