Commit dca620a0 authored by IvyXia123's avatar IvyXia123

1.7

parent 5016e1a9
......@@ -680,6 +680,7 @@
},
scroll_to(offsetTop){
// debugger
alert(5)
let top = offsetTop-200;
for(let i = 0 ; i < 30 ; i ++){
let scrollTop = document.documentElement.scrollTop | document.body.scrollTop;
......@@ -734,12 +735,16 @@
// 加载课程
// console.log(this.secActions)
this.shopType = this.secActions.course_type
alert(this.secActions.course_type)
alert(this.secActions.is_start_course)
if(this.secActions.is_start_course){
if (this.secActions.course_type==0){
// 月课
// debugger
this.getUnitList()
alert(1)
}else{
alert(2)
this.getLessonList();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment