From a42b794706df079c4348c8e63c8a59b7452ea1f6 Mon Sep 17 00:00:00 2001 From: AceDataCloud Date: Mon, 20 Mar 2023 20:54:40 +0800 Subject: [PATCH] update ui styles --- src/components/api/Form.vue | 33 +++++++++++++------------- src/i18n/zh/application/field.ts | 1 + src/i18n/zh/common/button.ts | 4 +++- src/pages/console/application/List.vue | 10 +++++++- src/pages/service/Detail.vue | 23 +++++++++++------- 5 files changed, 45 insertions(+), 26 deletions(-) diff --git a/src/components/api/Form.vue b/src/components/api/Form.vue index 23437865..49ad3531 100644 --- a/src/components/api/Form.vue +++ b/src/components/api/Form.vue @@ -34,11 +34,11 @@ - + {{ $t('common.button.acquire') }} @@ -83,20 +83,21 @@ - - - {{ item.example }} - {{ $t('application.message.example') }} - - +
+ + + {{ $t('common.button.fillExample') }} + +
diff --git a/src/i18n/zh/application/field.ts b/src/i18n/zh/application/field.ts index 0e97dcba..a7bb5609 100644 --- a/src/i18n/zh/application/field.ts +++ b/src/i18n/zh/application/field.ts @@ -1,4 +1,5 @@ export default { + id: '申请ID', remainingAmount: '剩余量', usedAmount: '使用量', apiKey: 'API Key', diff --git a/src/i18n/zh/common/button.ts b/src/i18n/zh/common/button.ts index 121d788d..35eece1b 100644 --- a/src/i18n/zh/common/button.ts +++ b/src/i18n/zh/common/button.ts @@ -23,5 +23,7 @@ export default { pay: '支付', repay: '继续支付', applied: '已申请', - acquire: '获取' + acquire: '获取', + fillExample: '填写样例', + buyMore: '购买更多' }; diff --git a/src/pages/console/application/List.vue b/src/pages/console/application/List.vue index cd1dd067..76b3cc8c 100644 --- a/src/pages/console/application/List.vue +++ b/src/pages/console/application/List.vue @@ -14,7 +14,15 @@ {{ $t('application.field.proxy') }} - + + + +