From e3618983c7483138ca1ed16db667dcfcea329a40 Mon Sep 17 00:00:00 2001 From: zhangjiming Date: Thu, 27 Feb 2025 14:45:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AE=B9=E5=99=A8=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=EF=BC=88=E7=93=B6=E5=98=B4=E4=BB=A5=E4=B8=8B=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/addLiquid/addLiquid.vue | 68 +++++++++------------------------------ src/views/components/Liquid.vue | 38 +++++++++++----------- 2 files changed, 36 insertions(+), 70 deletions(-) diff --git a/src/views/addLiquid/addLiquid.vue b/src/views/addLiquid/addLiquid.vue index 0f1b9a5..1407b8d 100644 --- a/src/views/addLiquid/addLiquid.vue +++ b/src/views/addLiquid/addLiquid.vue @@ -22,58 +22,22 @@
- -
- - - - - - - - - - - - -

XX

+
+
+
+ {{ + container.capacityTotal - container.capacityUsed + }} +
{{ container.capacityTotal - container.capacityUsed }} -
-
- {{ - `${ - ((container.capacityTotal - container.capacityUsed) / container.capacityTotal) * 100 - }%` - }} -
+
+
+
+ {{ + `${((container.capacityTotal - container.capacityUsed) / container.capacityTotal) * 100}%` + }} +
+
{{ container.solution.name }}
@@ -35,4 +38,3 @@ import { useSettingStore } from "@/stores/setting"; const settingStore = useSettingStore(); -