diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index abeca903..03118aa3 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -128,7 +128,7 @@ @click="handleTagClick(tag, hotTagsList, 1)" :class="{ 'option-active': tag.checked }"> {{ tag.tagName }} - + @@ -139,7 +139,7 @@ @click="handleTagClick(tag, hotTagsList, 1)" :class="{ 'option-active': tag.checked }"> {{ tag.tagName }} - + @@ -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() {