From: Caisking <3449750381@qq.com> Date: Wed, 28 Aug 2024 12:07:09 +0000 (+0800) Subject: 修改训练中进度条颜色为绿色 X-Git-Tag: release_V1.2.70_20241020_135402~570 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=815bee893e07aed50e97e010a2470a08d9fc8f57;p=mirrors%2FFD230.git 修改训练中进度条颜色为绿色 --- diff --git a/code/sdk/application/wearable/fd230app/nativeui/traing/training_card/src/TrainingDataView.cpp b/code/sdk/application/wearable/fd230app/nativeui/traing/training_card/src/TrainingDataView.cpp index 002bc7501..463bb1860 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/traing/training_card/src/TrainingDataView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/traing/training_card/src/TrainingDataView.cpp @@ -65,7 +65,7 @@ namespace OHOS circleProgress->SetBackgroundStyle(STYLE_LINE_WIDTH, 12); circleProgress->SetForegroundStyle(STYLE_BACKGROUND_COLOR, 0xff2195F6); circleProgress->SetForegroundStyle(STYLE_BORDER_COLOR, 0xff000000); - circleProgress->SetForegroundStyle(STYLE_LINE_COLOR, 0xff45A5FF); + circleProgress->SetForegroundStyle(STYLE_LINE_COLOR, 0xff4fC34C); circleProgress->SetForegroundStyle(STYLE_LINE_WIDTH, 10); circleProgress->SetCenterPosition(235, 235); circleProgress->SetRadius(215); @@ -82,8 +82,8 @@ namespace OHOS InitLabel(curtimelabel, 155, 60, 150, 50, "label1", "23:54", DEFAULT_VECTOR_FONT_FILENAME, 40); - InitLabel(timerlabel, 0, 163, 466, 150, "label3", "00:00:00", GILROY_BOLD_FONT, 80); - InitLabel(heartlabel, 85, 284, 230, 80, "label4", "144", GILROY_BOLD_FONT, 60); + InitLabel(timerlabel, 0, 163, 466, 150, "label3", "00:00:00", DEFAULT_VECTOR_FONT_FILENAME, 80); + InitLabel(heartlabel, 85, 284, 230, 80, "label4", "144", DEFAULT_VECTOR_FONT_FILENAME, 60); InitLabel(ubpmlabel, 218, 284, 230, 80, "label5", "bpm", DEFAULT_VECTOR_FONT_FILENAME, 60); ubpmlabel->SetTextColor(Color::Gray()); Add(curtimelabel);