This commit is contained in:
670788339
2025-11-13 11:22:08 +08:00
parent 43f0dd9c01
commit 3f60a85c32

View File

@@ -128,7 +128,7 @@
@click="handleTagClick(tag, hotTagsList, 1)" @click="handleTagClick(tag, hotTagsList, 1)"
:class="{ 'option-active': tag.checked }"> :class="{ 'option-active': tag.checked }">
<span>{{ tag.tagName }}</span> <span>{{ tag.tagName }}</span>
<span :class="tag.checked ? 'nav-bottbor' : ''"></span> <!-- <span :class="tag.checked ? 'nav-bottbor' : ''"></span>-->
</div> </div>
</div> </div>
<!-- 第二行热点标签 --> <!-- 第二行热点标签 -->
@@ -139,7 +139,7 @@
@click="handleTagClick(tag, hotTagsList, 1)" @click="handleTagClick(tag, hotTagsList, 1)"
:class="{ 'option-active': tag.checked }"> :class="{ 'option-active': tag.checked }">
<span>{{ tag.tagName }}</span> <span>{{ tag.tagName }}</span>
<span :class="tag.checked ? 'nav-bottbor' : ''"></span> <!-- <span :class="tag.checked ? 'nav-bottbor' : ''"></span>-->
</div> </div>
</div> </div>
@@ -483,12 +483,12 @@ export default {
}, },
// 计算第一行显示的标签前5个 // 计算第一行显示的标签前5个
firstRowTags() { firstRowTags() {
return this.hotTagsList.slice(0, 5); return this.hotTagsList.slice(0, 7);
}, },
// 计算第二行显示的标签(剩余标签) // 计算第二行显示的标签(剩余标签)
secondRowTags() { secondRowTags() {
return this.hotTagsList.slice(5); return this.hotTagsList.slice(3);
}, },
}, },
data() { data() {