From 19b4da414969158d2621c584adbeaa2f4308e02c Mon Sep 17 00:00:00 2001 From: erio Date: Sun, 8 Mar 2026 00:17:43 +0800 Subject: [PATCH] refactor: compact QuotaLimitCard layout and fix CreateAccountModal merge MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - QuotaLimitCard: label and input on same row for reduced height - CreateAccountModal: move AffinityConfigCard into OAuth/SetupToken quota control section, eliminating duplicate "配额控制" cards Co-Authored-By: Claude Opus 4.6 --- .../components/account/CreateAccountModal.vue | 17 ++++++++--- .../src/components/account/QuotaLimitCard.vue | 29 +++++++++---------- 2 files changed, 26 insertions(+), 20 deletions(-) diff --git a/frontend/src/components/account/CreateAccountModal.vue b/frontend/src/components/account/CreateAccountModal.vue index b56acceee1..bda1cb36c4 100644 --- a/frontend/src/components/account/CreateAccountModal.vue +++ b/frontend/src/components/account/CreateAccountModal.vue @@ -1227,9 +1227,9 @@ - +
@@ -1238,7 +1238,7 @@ {{ t('admin.accounts.quotaLimitHint') }}

- +
- +
+ +
diff --git a/frontend/src/components/account/QuotaLimitCard.vue b/frontend/src/components/account/QuotaLimitCard.vue index 505118ba3c..5f44b2fcb2 100644 --- a/frontend/src/components/account/QuotaLimitCard.vue +++ b/frontend/src/components/account/QuotaLimitCard.vue @@ -78,11 +78,11 @@ const onWeeklyInput = (e: Event) => {
-
- -
- -
+
+ +
+ +
$ { :placeholder="t('admin.accounts.quotaLimitPlaceholder')" />
-

{{ t('admin.accounts.quotaDailyLimitHint') }}

- -
- -
+ +
+ +
$ { :placeholder="t('admin.accounts.quotaLimitPlaceholder')" />
-

{{ t('admin.accounts.quotaWeeklyLimitHint') }}

- -
- -
+ +
+ +
$ { :placeholder="t('admin.accounts.quotaLimitPlaceholder')" />
-

{{ t('admin.accounts.quotaTotalLimitHint') }}