From b83e5492d907a62b77fa7e227e613a610661b3fc Mon Sep 17 00:00:00 2001
From: Hu Gang <18768366022@163.com>
Date: Fri, 6 Jun 2025 16:45:11 +0800
Subject: [PATCH] =?UTF-8?q?fix:=20mcp=E6=BF=80=E6=B4=BB=E9=80=BB=E8=BE=91?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/api/index.vue | 71 ++++++++++++++++++++--------------------
src/views/api/style.scss | 23 +++++++------
2 files changed, 49 insertions(+), 45 deletions(-)
diff --git a/src/views/api/index.vue b/src/views/api/index.vue
index 73c0cbe..de0cec8 100644
--- a/src/views/api/index.vue
+++ b/src/views/api/index.vue
@@ -168,42 +168,43 @@
@{{ item.author }}
-
-
-
- {{
- item.isActive
- ? t('plugin_center.mcp.deactivate')
- : t('plugin_center.mcp.activate')
- }}
-
-
- {{ $t('semantic.interface_edit') }}
-
-
- {{ $t('semantic.interface_delete') }}
-
-
+
+ {{
+ item.isActive
+ ? t('plugin_center.mcp.deactivate')
+ : t('plugin_center.mcp.activate')
+ }}
+
+
+
+ {{ $t('semantic.interface_edit') }}
+
+
+ {{ $t('semantic.interface_delete') }}
+
diff --git a/src/views/api/style.scss b/src/views/api/style.scss
index e4d4139..0befa7f 100644
--- a/src/views/api/style.scss
+++ b/src/views/api/style.scss
@@ -33,7 +33,6 @@
margin-left: 8px;
border-radius: 4px;
}
-
}
.apiCenterType {
@@ -57,19 +56,18 @@
}
}
.apiCenterCardContainer {
- max-width: 1336px;
- max-height: calc(100vh - 370px);
- min-height: calc(100vh - 370px);
- min-width: 1336px;
- overflow-y: auto;
+ width: 1336px;
.apiCenterCardBox {
+ height: calc(100vh - 370px);
+ overflow-y: auto;
width: fit-content;
display: flex;
flex-wrap: wrap;
box-sizing: border-box;
gap: 16px;
- margin-top: 16px;
+ padding-top: 16px;
.apiCenterCardSingle {
+ height: fit-content;
box-sizing: border-box;
border: 1px solid transparent;
cursor: pointer;
@@ -107,11 +105,10 @@
flex-direction: column;
color: #8d98aa;
-
.apiCenterCardId {
font-size: 12px;
line-height: 16px;
- display: flex ;
+ display: flex;
align-items: center;
justify-content: space-between;
}
@@ -126,13 +123,19 @@
line-height: 16px;
}
.apiCenterCardOps {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ .deleteAndEdit {
+ display: flex;
+ align-items: center;
+ }
.el-button span {
color: #6395fd;
font-size: 12px;
}
}
}
-
}
}
.apiCenterCardSingle:hover {
--
Gitee