From 4871c9864a996b13a2a565d7b0cfc0adea3dca2c Mon Sep 17 00:00:00 2001 From: fit2-zhao Date: Thu, 26 Nov 2020 18:41:05 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=8E=A5=E5=8F=A3=E5=AE=9A=E4=B9=89):?= =?UTF-8?q?=E7=BB=86=E8=8A=82=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/api/definition/ApiDefinition.vue | 10 +++++----- .../components/api/definition/components/ApiList.vue | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/business/components/api/definition/ApiDefinition.vue b/frontend/src/business/components/api/definition/ApiDefinition.vue index ed7418e062..1ce8ffd4c3 100644 --- a/frontend/src/business/components/api/definition/ApiDefinition.vue +++ b/frontend/src/business/components/api/definition/ApiDefinition.vue @@ -240,7 +240,7 @@ .ms-api-buttion { position: absolute; top: 100px; - right: 20px; + right: 4px; padding: 0; background: 0 0; border: none; @@ -251,10 +251,10 @@ } /deep/ .el-tabs__header { - margin-right: 82px; - } - /deep/ .el-main{ - overflow: hidden; + margin: 0 0 5px; } + /deep/ .el-main { + overflow: hidden; + } diff --git a/frontend/src/business/components/api/definition/components/ApiList.vue b/frontend/src/business/components/api/definition/components/ApiList.vue index d095037fbc..5ba5558024 100644 --- a/frontend/src/business/components/api/definition/components/ApiList.vue +++ b/frontend/src/business/components/api/definition/components/ApiList.vue @@ -142,7 +142,7 @@ currentPage: 1, pageSize: 10, total: 0, - screenHeight: document.documentElement.clientHeight - 350,//屏幕高度 + screenHeight: document.documentElement.clientHeight - 330,//屏幕高度 } }, props: {