From 23ea68e8bd161372e6f150ab53835068a8c64af0 Mon Sep 17 00:00:00 2001 From: 670788339 <670788339@qq.com> Date: Wed, 12 Nov 2025 10:07:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=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 | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/components/Course/courseForm.vue b/src/components/Course/courseForm.vue index e75cb00c..ed670f29 100644 --- a/src/components/Course/courseForm.vue +++ b/src/components/Course/courseForm.vue @@ -1015,6 +1015,15 @@ export default { // 滚动到可见区域 currentElement.scrollIntoView({ behavior: 'smooth', block: 'center' }); // // 特殊处理录播课标签位置,避免被遮挡 + if (this.courseInfo.type === 20 && this.currentStep === 1) { + console.info('-- 特殊处理录播课标签位置 -- ') + this.highlightStyle = { + top: `252.513px`, + left: `${rect.left}px`, + width: `${rect.width}px`, + height: `${rect.height}px`, + }; + } // if (this.courseInfo.type === 20 && this.currentStep === 1) { // this.$nextTick(() => { // const guidanceContent = document.querySelector('.guidance-content'); @@ -2019,7 +2028,7 @@ export default { } .guidance-content { - //position: fixed; + position: fixed; background: white; border-radius: 8px; padding: 24px; @@ -2028,7 +2037,7 @@ export default { z-index: 10000; //left: 50%; //transform: translateX(-50%); - //top: 20%; + top: 20%; } .guidance-title {