mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-07 09:56:42 +08:00
1110修改样式
This commit is contained in:
@@ -285,27 +285,27 @@
|
|||||||
<div class="topNav" v-if="!newData">
|
<div class="topNav" v-if="!newData">
|
||||||
<div class="search-div nav" style="flex: 1;height: auto;">
|
<div class="search-div nav" style="flex: 1;height: auto;">
|
||||||
<div class="nav-primary">
|
<div class="nav-primary">
|
||||||
<div @click="handleTypeAllClick(1)" class="option-item" style="font-weight: bold;position: relative;margin-right: 20px;" :class="{ 'option-active': ctypeTagAll }">
|
<div @click="handleTypeAllClick(1)" class="option-item" style="position: relative;" :class="{ 'option-active': ctypeTagAll }">
|
||||||
<a>全部</a>
|
<a>全部</a>
|
||||||
<span :class="ctypeTagAll ? 'nav-bottbor' : ''"></span>
|
<span :class="ctypeTagAll ? 'nav-bottbor' : ''"></span>
|
||||||
</div>
|
</div>
|
||||||
<div @click="handleTypeClick(ctypeList[0], ctypeList)" class="option-item" style="font-weight: bold"
|
<div @click="handleTypeClick(ctypeList[0], ctypeList)" class="option-item"
|
||||||
:class="{ 'option-active': ctypeList[0].checked }">
|
:class="{ 'option-active': ctypeList[0].checked }">
|
||||||
<a>录播课</a>
|
<a>录播课</a>
|
||||||
<span :class="ctypeList[0].checked ? 'nav-bottbor' : ''"></span>
|
<span :class="ctypeList[0].checked ? 'nav-bottbor' : ''"></span>
|
||||||
</div>
|
</div>
|
||||||
<div @click="handleTypeClick(ctypeList[1], ctypeList)" class="option-item" style="font-weight: bold"
|
<div @click="handleTypeClick(ctypeList[1], ctypeList)" class="option-item"
|
||||||
:class="{ 'option-active': ctypeList[1].checked }">
|
:class="{ 'option-active': ctypeList[1].checked }">
|
||||||
<a>线下课</a>
|
<a>线下课</a>
|
||||||
<span :class="ctypeList[1].checked ? 'nav-bottbor' : ''"></span>
|
<span :class="ctypeList[1].checked ? 'nav-bottbor' : ''"></span>
|
||||||
</div>
|
</div>
|
||||||
<div @click="handleTypeClick(ctypeList[2], ctypeList)" class="option-item" style="font-weight: bold"
|
<div @click="handleTypeClick(ctypeList[2], ctypeList)" class="option-item"
|
||||||
:class="{ 'option-active': ctypeList[2].checked }">
|
:class="{ 'option-active': ctypeList[2].checked }">
|
||||||
<a>学习项目</a>
|
<a>学习项目</a>
|
||||||
<span :class="ctypeList[2].checked ? 'nav-bottbor' : ''"></span>
|
<span :class="ctypeList[2].checked ? 'nav-bottbor' : ''"></span>
|
||||||
</div>
|
</div>
|
||||||
<a class="option-item">
|
<a class="option-item">
|
||||||
<span @click="uClassClick" class="Uxtext" style="font-weight: bold"> U选小课堂
|
<span @click="uClassClick" class="Uxtext" > U选小课堂
|
||||||
<span class="uxicon">
|
<span class="uxicon">
|
||||||
<svg-icon icon-class="hot" style="font-size:22px"></svg-icon>
|
<svg-icon icon-class="hot" style="font-size:22px"></svg-icon>
|
||||||
</span>
|
</span>
|
||||||
@@ -318,7 +318,7 @@
|
|||||||
<div class="hot-tags-wrapper">
|
<div class="hot-tags-wrapper">
|
||||||
<div class="hot-tags-wrapper">
|
<div class="hot-tags-wrapper">
|
||||||
<div
|
<div
|
||||||
class="option-item" style="font-weight: bold; padding-top: 2px;"
|
class="option-item" style=" padding-top: 2px;"
|
||||||
:class="{ 'option-active': isAllHotTagsSelected }"
|
:class="{ 'option-active': isAllHotTagsSelected }"
|
||||||
@click="handleClearHotTags"
|
@click="handleClearHotTags"
|
||||||
>
|
>
|
||||||
@@ -327,7 +327,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
class="option-item" style="font-weight: bold; padding-top: 2px;"
|
class="option-item" style=" padding-top: 2px;"
|
||||||
v-for="tag in hotTagsList"
|
v-for="tag in hotTagsList"
|
||||||
:key="tag.id"
|
:key="tag.id"
|
||||||
@click="handleTagClick(tag, hotTagsList,1)"
|
@click="handleTagClick(tag, hotTagsList,1)"
|
||||||
@@ -352,7 +352,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 清除 -->
|
<!-- 清除 -->
|
||||||
<div v-if="stagList.length > 0 && !newData" class="search-div" style="padding: 0;margin-bottom: 20px;">
|
<div v-if="stagList.length > 0 && !newData" class="search-div" style="padding: 0;margin-bottom: 20px;">
|
||||||
<div class="searchbar" style="background-color:#f6f7fb;display: flex;justify-content: space-between;">
|
<div class="searchbar" style="display: flex;justify-content: space-between;">
|
||||||
<div style="line-height: 30px;">
|
<div style="line-height: 30px;">
|
||||||
<span class="item-title"> 搜索条件:</span>
|
<span class="item-title"> 搜索条件:</span>
|
||||||
<el-tag closable v-for="(tag, tagIdx) in stagList" :key="'t' + tagIdx" @close="stagClose(tag, tagIdx)" >
|
<el-tag closable v-for="(tag, tagIdx) in stagList" :key="'t' + tagIdx" @close="stagClose(tag, tagIdx)" >
|
||||||
@@ -1866,6 +1866,7 @@ export default {
|
|||||||
|
|
||||||
.option-item {
|
.option-item {
|
||||||
position: relative;
|
position: relative;
|
||||||
|
margin: 0 15px;
|
||||||
|
|
||||||
.nav-bottbor {
|
.nav-bottbor {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
Reference in New Issue
Block a user