更新CourseCard的打开URL逻辑

This commit is contained in:
ember 2025-12-04 19:42:39 +08:00
parent 886b0436b4
commit e6c7fcc543
6 changed files with 10 additions and 10 deletions

File diff suppressed because one or more lines are too long

2
dist/index.html vendored
View File

@ -1 +1 @@
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>NEU小站</title><script defer="defer" src="/js/chunk-vendors.d3aff539.js"></script><script defer="defer" src="/js/app.53b122b7.js"></script><link href="/css/chunk-vendors.c52e575a.css" rel="stylesheet"><link href="/css/app.7fd128bc.css" rel="stylesheet"></head><body><noscript><strong>抱歉NEU小站无法在没有 JavaScript 的情况下正常工作。请启用 JavaScript 以继续。</strong></noscript><div id="app"></div></body></html>
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>NEU小站</title><script defer="defer" src="/js/chunk-vendors.d3aff539.js"></script><script defer="defer" src="/js/app.2a808eab.js"></script><link href="/css/chunk-vendors.c52e575a.css" rel="stylesheet"><link href="/css/app.7fd128bc.css" rel="stylesheet"></head><body><noscript><strong>抱歉NEU小站无法在没有 JavaScript 的情况下正常工作。请启用 JavaScript 以继续。</strong></noscript><div id="app"></div></body></html>

2
dist/js/128.2e752e77.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -118,9 +118,9 @@ export default {
.then(() => {
// 稿
// IDbase64
const courseIdBase64 = btoa(String(this.courseId));
// const courseIdBase64 = btoa(String(this.courseId));
// URL
const url = `https://course.东北大学.com/courses?c=${courseIdBase64}`;
const url = `https://course.东北大学.com/detail/${this.courseId}`;
window.open(url, '_blank');
})
.catch(() => {
@ -129,9 +129,9 @@ export default {
});
} else {
// IDbase64
const courseIdBase64 = btoa(String(this.courseId));
// const courseIdBase64 = btoa(String(this.courseId));
// URL
const url = `https://course.东北大学.com/courses?c=${courseIdBase64}`;
const url = `https://course.东北大学.com/detail/${this.courseId}`;
window.open(url, '_blank');
}
}