mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-06 09:26:43 +08:00
热点标签
This commit is contained in:
@@ -312,7 +312,7 @@
|
||||
</a>
|
||||
<!-- 热点标签 add by zhengsongbo on 2025-08-01 -->
|
||||
<div style="margin-top:10px;flex: 1;">
|
||||
<div class="search-item-type" style="padding-top: 2px">
|
||||
<div class="search-item-type" style="padding-top: 2px; float: left;">
|
||||
<span class="item-title" style="padding-right: 5px;">热点标签:</span>
|
||||
</div>
|
||||
<div class="option-item" style="padding-top: 2px"
|
||||
@@ -320,6 +320,17 @@
|
||||
@click="handleTagClick(tag, hotTagsList)">
|
||||
<a class="custom" :class="tag.checked ? 'custom2' : ''">{{tag.tagName}}</a>
|
||||
</div>
|
||||
<div class="hot-tags-container">
|
||||
<div
|
||||
class="option-item"
|
||||
style="padding-top: 2px; display: inline-block;"
|
||||
v-for="tag in hotTagsList"
|
||||
:key="tag.id"
|
||||
@click="handleTagClick(tag, hotTagsList)"
|
||||
>
|
||||
<a class="custom" :class="tag.checked ? 'custom2' : ''">{{tag.tagName}}</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div id="fixd-box" class="upload" style="margin-left: 26px;">
|
||||
@@ -2615,5 +2626,16 @@ a.custom:active {
|
||||
a.custom2 {
|
||||
background-color: #DDEDFF; /* 浅蓝色背景 */
|
||||
}
|
||||
|
||||
.hot-tags-container {
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
overflow-x: auto;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.hot-tags-container::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
/* ---end--- */
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user