This commit is contained in:
670788339
2025-11-09 17:46:28 +08:00
parent 50c873869b
commit 66e9d8c8b7

View File

@@ -54,8 +54,8 @@
<!-- 内容导航 --> <!-- 内容导航 -->
<div class="topNav" v-if="!newData" style="display: flex; flex-direction: row;background-color:#fff;"> <div class="topNav" v-if="!newData" style="display: flex; flex-direction: row;background-color:#fff;">
<!-- 修改后 -->
<div class="search-div nav" style="flex: 1;height: auto;"> <div class="search-div nav" style="flex: 1;height: auto;">
<!-- 修改后 -->
<div class="nav-primary" style="display: flex; justify-content: space-between; align-items: center;"> <div class="nav-primary" style="display: flex; justify-content: space-between; align-items: center;">
<div style="display: flex;"> <div style="display: flex;">
<div @click="handleTypeClick(ctypeList[0], ctypeList)" class="option-item" <div @click="handleTypeClick(ctypeList[0], ctypeList)" class="option-item"
@@ -90,13 +90,13 @@
</div> </div>
</div> </div>
<div style="margin-top:10px;flex: 1;"> <div style="margin-top:10px;flex: 1;">
<!-- 修改热点标签容器支持换行 --> <!-- 修改热点标签容器支持换行 -->
<div class="hot-tags-wrapper"> <div class="hot-tags-wrapper" style="display: flex;">
<div class="hot-tags-wrapper"> <div class="hot-tags-wrapper" style="display: flex; align-items: center;">
<div <div
class="option-item" style="font-weight: bold; padding-top: 2px;" class="option-item"
style="font-weight: bold; padding-top: 2px; margin-left: 0;"
:class="{ 'option-active': isAllHotTagsSelected }" :class="{ 'option-active': isAllHotTagsSelected }"
@click="handleClearHotTags" @click="handleClearHotTags"
> >
@@ -105,7 +105,8 @@
</div> </div>
<div <div
class="option-item" style="font-weight: bold; padding-top: 2px;" class="option-item"
style="font-weight: bold; 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)"
@@ -119,20 +120,6 @@
</div> </div>
</div> </div>
<!--
<div style="display: flex;justify-content: space-between; align-items: center;">
<span style="margin-right: 10px;" class="option-item">请选择年份 </span>
<el-select v-model="yearChosen" multiple>
<el-option
v-for="year in years"
v-if="year"
:key="year"
:label="year"
:value="year">
</el-option>
</el-select>
</div>
-->
</div> </div>
<!-- 清除 --> <!-- 清除 -->
@@ -2186,13 +2173,13 @@ export default {
} }
} }
} }
.hot-tags-wrapper { //.hot-tags-wrapper {
display: flex; // display: flex;
flex-wrap: wrap; // flex-wrap: wrap;
gap: 15px; // gap: 15px;
align-items: center; // align-items: center;
padding-top: 2px; // padding-top: 2px;
} //}
.search-div.nav { .search-div.nav {
display: block; display: block;
width: 100%; width: 100%;