课程点击不再有微课,录播课的区分

This commit is contained in:
daihh
2022-10-17 18:20:04 +08:00
parent 17a55176e6
commit 967f0953de

View File

@@ -600,13 +600,15 @@
window.open('https://m.qingxuetang.com/x/?appId=qxtcorp306130', '_blank'); window.open('https://m.qingxuetang.com/x/?appId=qxtcorp306130', '_blank');
}, },
toCourseDetail(item) { toCourseDetail(item) {
//二期调整,直接改成一个地址
return this.webBaseUrl + '/course/detail?id=' + item.id;
if (item.type == 10) { // if (item.type == 10) {
return this.webBaseUrl + '/course/micro?id=' + item.id; // return this.webBaseUrl + '/course/micro?id=' + item.id;
} else if (item.type == 20) { // } else if (item.type == 20) {
return this.webBaseUrl + '/course/detail?id=' + item.id; // return this.webBaseUrl + '/course/detail?id=' + item.id;
} // }
return ''; // return '';
}, },
orderTypeFilter(val) { orderTypeFilter(val) {
this.courseList.orderType = val; this.courseList.orderType = val;