From c3f29522bcae0ef42e0476c02235ef34d4475f24 Mon Sep 17 00:00:00 2001 From: 670788339 <670788339@qq.com> Date: Mon, 3 Nov 2025 16:11:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/tag/TagManage.vue | 28 ++++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/src/views/tag/TagManage.vue b/src/views/tag/TagManage.vue index 84e36571..ce10d3e9 100644 --- a/src/views/tag/TagManage.vue +++ b/src/views/tag/TagManage.vue @@ -19,6 +19,7 @@ placeholder="请选择热点标签状态" :options="hotOptions" allowClear + class="centered-select" >
@@ -27,6 +28,7 @@ placeholder="请选择前台公共显示状态" :options="hotOptions" allowClear + class="centered-select" >
@@ -292,14 +294,14 @@ export default { sorter: true }, { - title: "前台公共显示", + title: "公共标签", dataIndex: "isPublic", key: "isPublic", width: 150, align: "center" }, { - title: "热点标签展示", + title: "课程库热点标签", dataIndex: "isHot", key: "isHot", width: 150, @@ -1338,4 +1340,26 @@ export default { } } } + +:deep(.centered-select .ant-select-selector) { + display: flex; + align-items: center; + height: 32px; +} + +:deep(.centered-select .ant-select-selection-item), +:deep(.centered-select .ant-select-selection-placeholder) { + display: flex; + align-items: center; + line-height: 1; +} + +:deep(.centered-select .ant-select-clear), +:deep(.centered-select .ant-select-arrow) { + display: flex; + align-items: center; + justify-content: center; + top: 50%; + transform: translateY(-50%); +} \ No newline at end of file