运动目标达成文字颜色修改成fuying蓝 3262/1 3262/head 3263/target/1 3264/target/1
authorluozheng <1732036298@qq.com>
Tue, 10 Mar 2026 09:47:39 +0000 (17:47 +0800)
committerluozheng <1732036298@qq.com>
Tue, 10 Mar 2026 09:47:39 +0000 (17:47 +0800)
code/sdk/application/wearable/fd272/nativeapp/nativeui/traing/training_card/src/TraingCardView.cpp
code/sdk/application/wearable/fd272/service/msg_center/src/msg_center_customer.cpp
code/sdk/application/wearable/fd272/service/msg_center/src/notify/goal_notification.cpp

index d1e69a3..c48cbf2 100755 (executable)
@@ -1039,7 +1039,8 @@ void TraingCardView::InitImageAnimator() {
   labeltag->SetLineBreakMode(UILabel::LINE_BREAK_OSCILLATION);\r
   labeltag->SetRollSpeed(23);\r
 \r
-  labeltag->SetTextColor(Color::GetColorFromRGBA(0x4f, 0xc3, 0x4c, 0xff));\r
+  // labeltag->SetTextColor(Color::GetColorFromRGBA(0x4f, 0xc3, 0x4c, 0xff));\r
+  labeltag->SetTextColor(Color::GetColorFromRGBA(0x0d, 0x62, 0xff, 0xff));\r
   getView->Add(labeltag);\r
 \r
   // 初始化图片数组以及动画\r
index e5885e9..972335d 100644 (file)
      {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},
index 79fba41..ddfdde8 100755 (executable)
@@ -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");