Commit dca620a0 authored by IvyXia123's avatar IvyXia123

1.7

parent 5016e1a9
...@@ -680,6 +680,7 @@ ...@@ -680,6 +680,7 @@
}, },
scroll_to(offsetTop){ scroll_to(offsetTop){
// debugger // debugger
alert(5)
let top = offsetTop-200; let top = offsetTop-200;
for(let i = 0 ; i < 30 ; i ++){ for(let i = 0 ; i < 30 ; i ++){
let scrollTop = document.documentElement.scrollTop | document.body.scrollTop; let scrollTop = document.documentElement.scrollTop | document.body.scrollTop;
...@@ -734,12 +735,16 @@ ...@@ -734,12 +735,16 @@
// 加载课程 // 加载课程
// console.log(this.secActions) // console.log(this.secActions)
this.shopType = this.secActions.course_type 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.is_start_course){
if (this.secActions.course_type==0){ if (this.secActions.course_type==0){
// 月课 // 月课
// debugger // debugger
this.getUnitList() this.getUnitList()
alert(1)
}else{ }else{
alert(2)
this.getLessonList(); 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