From e2535b7f329b196e95bc60863d20d0af4036f00d Mon Sep 17 00:00:00 2001 From: "@changcode" Date: Fri, 14 Jan 2022 19:54:37 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-1515=20feat:=20agent=20=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=20scrape=20endpoint=20=E4=BA=8C=E7=BA=A7=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/bottomBox/bottomBox.scss | 11 + .../common/bottomBox/tabs/scrapeEndpoint.vue | 231 ++++++++++-------- .../table/settings/scrapeEndpointTable.vue | 36 ++- 3 files changed, 172 insertions(+), 106 deletions(-) diff --git a/nezha-fronted/src/assets/css/components/common/bottomBox/bottomBox.scss b/nezha-fronted/src/assets/css/components/common/bottomBox/bottomBox.scss index 46a606200..c4d9dd769 100644 --- a/nezha-fronted/src/assets/css/components/common/bottomBox/bottomBox.scss +++ b/nezha-fronted/src/assets/css/components/common/bottomBox/bottomBox.scss @@ -114,6 +114,17 @@ height: 100%; } } + .scrape-endpoint { + .el-input-group__append { + background-color: $--background-color-empty; + padding: 0 10px; + border-color: $--border-color-light; + color: $--color-text-regular; + } + .el-input__inner { + border-color: $--border-color-light; + } + } } } .main-and-sub-transition { diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/scrapeEndpoint.vue b/nezha-fronted/src/components/common/bottomBox/tabs/scrapeEndpoint.vue index 802c43c2e..2e12f47a4 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/scrapeEndpoint.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/scrapeEndpoint.vue @@ -1,5 +1,5 @@