fix style bug

This commit is contained in:
Cai
2025-10-27 11:49:44 +08:00
parent 960d1f1dd9
commit 4a390adb2a
5 changed files with 15 additions and 4 deletions

View File

@@ -431,7 +431,7 @@ body {
color: var(--accent-blue);
}
.btn-enroll {
.btn-process {
background-color: var(--primary-blue);
color: white;
font-weight: 500;

View File

@@ -143,4 +143,11 @@ function closeCourseProgress() {
function isObject(value) {
return Object.prototype.toString.call(value) === '[object Object]';
}
function btn_view(event, courseId) {
event.stopPropagation(); // 阻止事件冒泡
// 打开课程详情页面
const url = `/course/${courseId}`;
window.location.href = url;
}