mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
样式调整
This commit is contained in:
@@ -398,7 +398,7 @@
|
|||||||
:key="tagIndex"
|
:key="tagIndex"
|
||||||
size="mini"
|
size="mini"
|
||||||
type="info" style="margin: 2px 2px; border-radius: 2px;"
|
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"
|
class="course-tag-item"
|
||||||
>
|
>
|
||||||
{{ tag }}
|
{{ tag }}
|
||||||
@@ -1775,14 +1775,7 @@ handleClearTags() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.course-tag-item {
|
|
||||||
font-weight: normal;
|
|
||||||
|
|
||||||
// 使用 !important 确保样式生效
|
|
||||||
&[style*="font-weight: bold"] {
|
|
||||||
font-weight: bold !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// 三级背景高度
|
// 三级背景高度
|
||||||
.course-recommended-style{
|
.course-recommended-style{
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|||||||
Reference in New Issue
Block a user