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:
@@ -61,18 +61,18 @@
|
||||
<div @click="handleTypeClick(ctypeList[0], ctypeList)" class="option-item"
|
||||
:class="{ 'option-active': ctypeList[0].checked }">
|
||||
<a>全部</a>
|
||||
<span :class="ctypeList[0].checked ? 'nav-bottbor' : ''"></span>
|
||||
<!-- <span :class="ctypeList[0].checked ? 'nav-bottbor' : ''"></span>-->
|
||||
</div>
|
||||
|
||||
<div @click="handleTypeClick(ctypeList[1], ctypeList)" class="option-item"
|
||||
:class="{ 'option-active': ctypeList[1].checked }" style="padding-left: 15px;">
|
||||
<a>内部专享</a>
|
||||
<span :class="ctypeList[1].checked ? 'nav-bottbor' : ''"></span>
|
||||
<!-- <span :class="ctypeList[1].checked ? 'nav-bottbor' : ''"></span>-->
|
||||
</div>
|
||||
<div @click="handleTypeClick(ctypeList[2], ctypeList)" class="option-item"
|
||||
:class="{ 'option-active': ctypeList[2].checked }" style="padding-left: 15px;">
|
||||
<a>外部精选</a>
|
||||
<span :class="ctypeList[2].checked ? 'nav-bottbor' : ''"></span>
|
||||
<!-- <span :class="ctypeList[2].checked ? 'nav-bottbor' : ''"></span>-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -90,34 +90,62 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="margin-top:10px;flex: 1;">
|
||||
<!-- <div style="margin-top:10px;flex: 1;">-->
|
||||
<!-- <!– 修改热点标签容器,支持换行 –>-->
|
||||
<!-- <div class="hot-tags-wrapper" style="display: flex;">-->
|
||||
<!-- <div class="hot-tags-wrapper" style="display: flex; align-items: center;">-->
|
||||
<!-- <div-->
|
||||
<!-- class="option-item"-->
|
||||
<!-- style=" padding-top: 2px; margin-left: 15px;"-->
|
||||
<!-- :class="{ 'option-active': isAllHotTagsSelected }"-->
|
||||
<!-- @click="handleClearHotTags"-->
|
||||
<!-- >-->
|
||||
<!-- <span>全部</span>-->
|
||||
<!-- </div>-->
|
||||
|
||||
<!-- <div-->
|
||||
<!-- class="option-item"-->
|
||||
<!-- style=" padding-top: 2px;"-->
|
||||
<!-- v-for="tag in hotTagsList"-->
|
||||
<!-- :key="tag.id"-->
|
||||
<!-- @click="handleTagClick(tag, hotTagsList,1)"-->
|
||||
<!-- :class="{ 'option-active': tag.checked }"-->
|
||||
<!-- >-->
|
||||
<!-- <span>{{tag.tagName}}</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
|
||||
<div style="margin:20px 0;flex: 1;">
|
||||
<!-- 修改热点标签容器,支持换行 -->
|
||||
<div class="hot-tags-wrapper" style="display: flex;">
|
||||
<div class="hot-tags-wrapper" style="display: flex; align-items: center;">
|
||||
<div>
|
||||
<div style="display: flex">
|
||||
<div
|
||||
class="option-item"
|
||||
style=" padding-top: 2px; margin-left: 15px;"
|
||||
class="option-item" style=" padding-top: 2px;"
|
||||
:class="{ 'option-active': isAllHotTagsSelected }"
|
||||
@click="handleClearHotTags"
|
||||
>
|
||||
<span>全部</span>
|
||||
<span :class="isAllHotTagsSelected ? 'nav-bottbor' : ''"></span>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class="option-item"
|
||||
style=" padding-top: 2px;"
|
||||
v-for="tag in hotTagsList"
|
||||
:key="tag.id"
|
||||
@click="handleTagClick(tag, hotTagsList,1)"
|
||||
:class="{ 'option-active': tag.checked }"
|
||||
>
|
||||
<span>{{tag.tagName}}</span>
|
||||
<span :class="tag.checked ? 'nav-bottbor' : ''"></span>
|
||||
<div class="fieldbox" style="padding-left: 15px;">
|
||||
<div
|
||||
class="option-item" style=" padding-top: 2px;"
|
||||
v-for="tag in hotTagsList"
|
||||
:key="tag.id"
|
||||
@click="handleTagClick(tag, hotTagsList,1)"
|
||||
:class="{ 'option-active': tag.checked }"
|
||||
>
|
||||
<span>{{tag.tagName}} </span>
|
||||
<!-- <span :class="tag.checked ? 'nav-bottbor' : ''"></span>-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -2380,4 +2408,24 @@ export default {
|
||||
font-weight: bold;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.fieldbox {
|
||||
|
||||
display: flex;
|
||||
white-space: nowrap;
|
||||
flex-wrap: wrap;
|
||||
|
||||
div {
|
||||
margin: 0 15px;
|
||||
display: inline-block;
|
||||
font-size: 14px;
|
||||
line-height: 25px;
|
||||
//color: #3d3d3d;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.fieldactive {
|
||||
color: #387DF7;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user