From 4a2ef0b53823c6c11327e5becdb8551df4e30a9f Mon Sep 17 00:00:00 2001 From: erio Date: Mon, 13 Apr 2026 17:27:57 +0800 Subject: [PATCH] fix(frontend): quota card layout - title row + input row, fix $ dropdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Separate title row (日限额 + 告警阈值) from input row - Widen limit input to w-32 for better alignment with title - Remove duplicate label from QuotaNotifyToggle (now in title row) - Fix dropdown to always show $ or % as selected value --- backend/cmd/server/VERSION | 2 +- .../src/components/account/QuotaLimitCard.vue | 23 ++++++++++++++----- .../components/account/QuotaNotifyToggle.vue | 8 +------ 3 files changed, 19 insertions(+), 14 deletions(-) diff --git a/backend/cmd/server/VERSION b/backend/cmd/server/VERSION index 32fe62c708..a6c776cd9d 100644 --- a/backend/cmd/server/VERSION +++ b/backend/cmd/server/VERSION @@ -1 +1 @@ -0.1.110.32 +0.1.110.33 diff --git a/frontend/src/components/account/QuotaLimitCard.vue b/frontend/src/components/account/QuotaLimitCard.vue index 730501268e..a2f3734c5b 100644 --- a/frontend/src/components/account/QuotaLimitCard.vue +++ b/frontend/src/components/account/QuotaLimitCard.vue @@ -199,9 +199,14 @@ const onWeeklyModeChange = (e: Event) => {
+ +
+ {{ t('admin.accounts.quotaDailyLimit') }} + {{ t('admin.accounts.quotaNotify.alert') }} +
+
- -
+
$
@@ -233,9 +238,12 @@ const onWeeklyModeChange = (e: Event) => {
+
+ {{ t('admin.accounts.quotaWeeklyLimit') }} + {{ t('admin.accounts.quotaNotify.alert') }} +
- -
+
$
@@ -279,9 +287,12 @@ const onWeeklyModeChange = (e: Event) => {
+
+ {{ t('admin.accounts.quotaTotalLimit') }} + {{ t('admin.accounts.quotaNotify.alert') }} +
- -
+
$
diff --git a/frontend/src/components/account/QuotaNotifyToggle.vue b/frontend/src/components/account/QuotaNotifyToggle.vue index cf7833e4da..b86daad703 100644 --- a/frontend/src/components/account/QuotaNotifyToggle.vue +++ b/frontend/src/components/account/QuotaNotifyToggle.vue @@ -1,8 +1,4 @@