From 57c01d25196c4de620c54aadceecee3e3c9a3f19 Mon Sep 17 00:00:00 2001 From: 670788339 <670788339@qq.com> Date: Tue, 4 Nov 2025 18:08:29 +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/portal/course/Index.vue | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index e8710174..6a4f2142 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -398,7 +398,7 @@ :key="tagIndex" size="mini" type="info" style="margin: 2px 2px; border-radius: 2px;" - :style="{ fontWeight: isTagMatched(tag) ? 'bold' : 'normal' }" + :style="{ fontWeight: isTagMatched(tag) ? 'bold !important' : 'normal' }" class="course-tag-item" > {{ tag }} @@ -1775,14 +1775,7 @@ handleClearTags() { } } } -.course-tag-item { - font-weight: normal; - // 使用 !important 确保样式生效 - &[style*="font-weight: bold"] { - font-weight: bold !important; - } -} // 三级背景高度 .course-recommended-style{ position: relative;