From a78bac936864f63dd593cd493a9debc85cf9b006 Mon Sep 17 00:00:00 2001
From: 670788339 <670788339@qq.com>
Date: Mon, 10 Nov 2025 19:26:10 +0800
Subject: [PATCH] =?UTF-8?q?1110=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/Course/courseTag.vue | 2 +-
src/views/portal/course/Index.vue | 56 ++++++++++++++---------------
2 files changed, 29 insertions(+), 29 deletions(-)
diff --git a/src/components/Course/courseTag.vue b/src/components/Course/courseTag.vue
index 5c6257c1..39003d46 100644
--- a/src/components/Course/courseTag.vue
+++ b/src/components/Course/courseTag.vue
@@ -318,7 +318,7 @@ export default {
this.searchResults = tags
// 当搜索结果为空时,提示用户可以按回车键创建标签
if (tags.length === 0) {
- this.$message.info('无此标签,按回车键创建')
+ // this.$message.info('无此标签,按回车键创建')
}
} finally {
this.loading = false
diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue
index e0984434..336b841f 100644
--- a/src/views/portal/course/Index.vue
+++ b/src/views/portal/course/Index.vue
@@ -2,7 +2,7 @@
+ @showClass="showClass">
@@ -11,7 +11,7 @@
>
+ @click="handleOptionClick(item, index)">
{{ item.name }}
>
@@ -35,15 +35,15 @@
{{ one.name }}
+ @click.stop="handleOptionClick(twoList, 2, one.children)"
+ :class="{ courseTwoActive: twoList.id == twoId || twoList.checked }" @mouseleave.stop="leaveIndex"
+ @mouseenter.stop="changeIndex(twoList.id)">
+ :disabled="!twoList.children.length" :open-delay="0" :close-delay="0" trigger="hover"
+ :visible-arrow="false" @hide="leaveIndex" @show="changeIndex(twoList.id)" transition="none">
{{
- twoList.name }}
-
+ twoList.name }}-
@@ -51,8 +51,8 @@
+ :key="threeList.id" @click.stop="handleOptionClick(threeList, 3, twoList.children)"
+ class="course-three">
{{ threeList.name }}
@@ -340,15 +340,15 @@
-
+
@@ -370,11 +370,11 @@
最热
+ :class="{ actice: course.orderField == 'studys' }">最热
最新
+ :class="{ actice: course.orderField == 'publishTime' }">最新
好评率
+ :class="{ actice: course.orderField == 'score' }">好评率
共找到{{ count }}个结果
@@ -407,7 +407,7 @@
+ :disabled="!keyword.showTitle">
@@ -431,7 +431,7 @@
+ :praises="false" :shares="false" :views="false">
{{ toScore(cinfo.score) }}分
@@ -476,7 +476,7 @@
+ layout="total, prev, pager, next, jumper" @change-page="currentChange">
@@ -755,7 +755,7 @@ export default {
}
})
//初始化:获取最新前10个热点标签
- apiCourseTag.getHotTagList(null).then(rs => {
+ apiCourseTag.getHotTagList(null).then(rs => {
if (rs.status == 200) {
this.hotTagsList = rs.result.map(tag => ({
...tag,
@@ -2412,7 +2412,7 @@ export default {
}
.searchbar {
- background-color: #ffffff;
+ //background-color: #ffffff;
// border: 1px solid #f3f3f3;
// width: 900px;
// padding: 5px 20px;
@@ -2466,7 +2466,7 @@ export default {
}
.search-div {
- background: #fff;
+ //background: #fff;
padding: 10px 25px;
border-radius: 8px;
height: auto;