From b0bc5179369f3d9f03579c97131b959580c64ba2 Mon Sep 17 00:00:00 2001 From: 670788339 <670788339@qq.com> Date: Mon, 3 Nov 2025 18:58:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Course/courseTag.vue | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/components/Course/courseTag.vue b/src/components/Course/courseTag.vue index 6fd7551b..2f9519c6 100644 --- a/src/components/Course/courseTag.vue +++ b/src/components/Course/courseTag.vue @@ -309,17 +309,20 @@ export default { margin-bottom: 6px; } -/* 添加标签计数样式 */ +/* 优化内部计数器样式 */ .tag-count { position: absolute; - right: 10px; - hight: 30px; + right: 30px; /* 避开下拉箭头 */ top: 50%; - transform: translateY(-45%); + transform: translateY(-50%); font-size: 12px; color: #999; - background: white; - padding: 0 5px; + background: rgba(255, 255, 255, 0.9); + padding: 2px 6px; + border-radius: 3px; pointer-events: none; + z-index: 10; /* 确保在最上层 */ + border: 1px solid #e4e7ed; } +