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