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