mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
标签提示样式调整
This commit is contained in:
@@ -1014,6 +1014,16 @@ export default {
|
|||||||
|
|
||||||
// 滚动到可见区域
|
// 滚动到可见区域
|
||||||
currentElement.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
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`,
|
||||||
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 下一步
|
// 下一步
|
||||||
@@ -1985,12 +1995,14 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.guidance-content {
|
.guidance-content {
|
||||||
|
position: fixed;
|
||||||
background: white;
|
background: white;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
padding: 24px;
|
padding: 24px;
|
||||||
max-width: 500px;
|
max-width: 500px;
|
||||||
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
|
||||||
z-index: 10000;
|
z-index: 10000;
|
||||||
|
top: 0%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.guidance-title {
|
.guidance-title {
|
||||||
|
|||||||
Reference in New Issue
Block a user