fix style bug
This commit is contained in:
@@ -431,7 +431,7 @@ body {
|
||||
color: var(--accent-blue);
|
||||
}
|
||||
|
||||
.btn-enroll {
|
||||
.btn-process {
|
||||
background-color: var(--primary-blue);
|
||||
color: white;
|
||||
font-weight: 500;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user