From dd2f6500ff880ce6353f50fed1a0ddd59527bba9 Mon Sep 17 00:00:00 2001 From: teukkk Date: Tue, 6 Aug 2024 17:14:52 +0800 Subject: [PATCH] =?UTF-8?q?style(=E6=8E=A5=E5=8F=A3=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E9=A2=84=E8=A7=88-=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=99=A8=E5=A4=8D=E5=88=B6=E5=89=8D=E7=BD=AE=E5=9C=A8=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E5=B7=A6=E4=BE=A7&=E4=BB=A3=E7=A0=81=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=99=A8=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/assets/style/arco-reset.less | 2 + .../components/pure/ms-code-editor/index.vue | 2 +- .../management/api/preview/detail.vue | 286 ++++++++++-------- 3 files changed, 157 insertions(+), 133 deletions(-) diff --git a/frontend/src/assets/style/arco-reset.less b/frontend/src/assets/style/arco-reset.less index 3b444d2b26..0a8e532ebd 100644 --- a/frontend/src/assets/style/arco-reset.less +++ b/frontend/src/assets/style/arco-reset.less @@ -488,6 +488,7 @@ /** radio **/ .arco-radio-group-button { + padding: 2px; .arco-radio-button-content { @apply break-keep; } @@ -496,6 +497,7 @@ .arco-radio-button { @apply bg-transparent; + margin: 0; line-height: 20px; } .arco-radio-checked { diff --git a/frontend/src/components/pure/ms-code-editor/index.vue b/frontend/src/components/pure/ms-code-editor/index.vue index 5d7725d2b8..4e578d2c58 100644 --- a/frontend/src/components/pure/ms-code-editor/index.vue +++ b/frontend/src/components/pure/ms-code-editor/index.vue @@ -56,7 +56,7 @@ -
+
{{ t('apiTestManagement.requestHeader') }}
- - Table - Raw - +
+ + + {{ t('common.copy') }} + + + Table + Raw + +
- - + />
Query
- - Table - Raw - +
+ + + {{ t('common.copy') }} + + + Table + Raw + +
- - + />
REST
- - Table - Raw - +
+ + + {{ t('common.copy') }} + + + Table + Raw + +
- - + />
@@ -152,15 +155,30 @@
{{ `${t('apiTestManagement.requestBody')}-${previewDetail.body.bodyType}` }}
- - Schema - JSON - +
+ + + {{ t('common.copy') }} + + + Schema + JSON + +