From 288841efd9c91073e1d3f19a0b867ba0aaa87840 Mon Sep 17 00:00:00 2001 From: 670788339 <670788339@qq.com> Date: Thu, 13 Nov 2025 15:02:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E5=9C=A8=E7=BA=BF=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Course/courseForm.vue | 162 ++++++--------------------- 1 file changed, 33 insertions(+), 129 deletions(-) diff --git a/src/components/Course/courseForm.vue b/src/components/Course/courseForm.vue index eb7c6fac..50fae732 100644 --- a/src/components/Course/courseForm.vue +++ b/src/components/Course/courseForm.vue @@ -10,36 +10,15 @@ - - -
取 消 确定 - - - - -
- + @@ -56,28 +35,10 @@
✨ 涉内容(如:5W1H分析法)
- - - - - - @@ -93,7 +54,6 @@
-
@@ -115,10 +75,19 @@ - - +
+ + + + + +
@@ -135,22 +104,6 @@ 公开课 - - @@ -167,21 +120,7 @@ - - {{ tag }} @@ -209,25 +148,6 @@
- - - - @@ -339,24 +259,6 @@
- PC端可见 @@ -647,6 +549,10 @@ export default { this.loadUserGroup(); }, methods: { + + showGuidanceDialog() { + this.checkAndShowGuidance(); + }, // 关键字的更改 changeKeywords(option){ if(option.target.value){ @@ -953,28 +859,26 @@ export default { this.courseChooseShow = false; this.courseInfo = rs.result; this.curCourseId = this.courseInfo.id - console.log('保存课程成功',this.curCourseId) - console.log('isTip ',this.courseInfo.isTip) - if(this.courseInfo.isTip){ - // 检查是否为首次创建,显示引导 - this.checkAndShowGuidance(); - } + // if(this.courseInfo.isTip){ + // // 检查是否为首次创建,显示引导 + // this.checkAndShowGuidance(); + // } if (this.courseChooseId == 1) { this.weike.dlgShow = true; } else { this.biaoke.dlgShow = true; } - this.$nextTick(() => { - this.initTagComponent(); - // 如果显示引导,初始化高亮元素 - if (this.showGuidance) { - this.$nextTick(() => { - this.initGuidanceElements(); - this.highlightCurrentStep(); - }); - } - }); + // this.$nextTick(() => { + // this.initTagComponent(); + // // 如果显示引导,初始化高亮元素 + // if (this.showGuidance) { + // this.$nextTick(() => { + // this.initGuidanceElements(); + // this.highlightCurrentStep(); + // }); + // } + // }); } else { this.$message.error(rs.message); } @@ -990,7 +894,7 @@ export default { this.isFirstCreate = true; // 标记引导已显示 localStorage.setItem('course_creation_guidance_shown', 'true'); - apiCourse.saveTip(); + // apiCourse.saveTip(); } }, // 初始化引导元素