From dd7073c4f05cf81f7674043740464fe32aaf6503 Mon Sep 17 00:00:00 2001 From: 670788339 <670788339@qq.com> Date: Thu, 13 Nov 2025 15:13:43 +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 | 140 +++++++++++++++++++++++---- 1 file changed, 121 insertions(+), 19 deletions(-) diff --git a/src/components/Course/courseForm.vue b/src/components/Course/courseForm.vue index 50fae732..8caf7d36 100644 --- a/src/components/Course/courseForm.vue +++ b/src/components/Course/courseForm.vue @@ -10,15 +10,36 @@ + + +
取 消 确定 -
+ + + + + + + @@ -35,10 +56,28 @@
✨ 涉内容(如:5W1H分析法)
+ + + + + + @@ -54,6 +93,7 @@
+
@@ -75,19 +115,13 @@ -
- - - - - -
+ + + + +
@@ -104,6 +138,22 @@ 公开课 + + @@ -120,7 +170,21 @@ + + {{ tag }} @@ -148,6 +212,25 @@
+ + + + @@ -259,6 +342,24 @@
+ PC端可见 @@ -549,8 +650,7 @@ export default { this.loadUserGroup(); }, methods: { - - showGuidanceDialog() { + handleTagHelp(){ this.checkAndShowGuidance(); }, // 关键字的更改 @@ -859,6 +959,8 @@ 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(); @@ -887,15 +989,15 @@ export default { // 检查并显示引导 checkAndShowGuidance() { // 检查本地存储,判断是否为首次创建 - const hasShownGuidance = localStorage.getItem('course_creation_guidance_shown'); - if (!hasShownGuidance) { + // const hasShownGuidance = localStorage.getItem('course_creation_guidance_shown'); + // if (!hasShownGuidance) { this.showGuidance = true; this.currentStep = 1; this.isFirstCreate = true; // 标记引导已显示 localStorage.setItem('course_creation_guidance_shown', 'true'); // apiCourse.saveTip(); - } + // } }, // 初始化引导元素 initGuidanceElements() {