From 7ed3569959ccb6e4a7a6ba8335b26791d33b2751 Mon Sep 17 00:00:00 2001 From: Iruka <1017819588@qq.com> Date: Mon, 20 Jan 2025 16:17:43 +0800 Subject: [PATCH] . --- components/custom-battery/custom-battery.vue | 22 +++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/components/custom-battery/custom-battery.vue b/components/custom-battery/custom-battery.vue index 66eda5e..c7ba5a8 100644 --- a/components/custom-battery/custom-battery.vue +++ b/components/custom-battery/custom-battery.vue @@ -1,8 +1,15 @@ @@ -89,6 +96,15 @@ transition: width 0.5s; } + .battery-level-red { + background-color: #f56c6c; + } + + .battery-level-yellow { + background-color: #e6a23c; + } + + // 充电动画 @keyframes chargingWidth { from {