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') }} - + + + {{ scope.row.id }} + + + + + + {{ scope.row?.api?.title }} {{ scope.row?.proxy?.title }} diff --git a/src/pages/service/Detail.vue b/src/pages/service/Detail.vue index e25bcb09..ea08c93e 100644 --- a/src/pages/service/Detail.vue +++ b/src/pages/service/Detail.vue @@ -2,7 +2,7 @@ - + @@ -39,7 +39,7 @@ - + @@ -63,12 +63,19 @@ - - {{ $t('common.button.apply') }} - - - {{ $t('common.button.applied') }} - + + + {{ $t('common.button.apply') }} + + + + + {{ $t('common.button.applied') }} + + + {{ $t('common.button.buyMore') }} + +