Merge branch 'test' of https://e.coding.net/g-cphe0354/duanju/video_app into ymf
This commit is contained in:
@@ -575,8 +575,10 @@
|
||||
//播放时的回掉
|
||||
videoPlay(videoId, courseDetailsId) {
|
||||
console.log(courseDetailsId)
|
||||
console.log(this.playFlag)
|
||||
// this.courseDetailsId = courseDetailsId
|
||||
if (!this.playFlag) {
|
||||
this.getDataList(this.courseId, this.videoList[this.current].courseDetailsId,true);
|
||||
this.playFlag = true
|
||||
httpsRequest.getT('app/course/viewCourse', {
|
||||
courseId: this.courseId,
|
||||
@@ -606,6 +608,7 @@
|
||||
|
||||
},
|
||||
appear(e, index) {
|
||||
this.playFlag = false
|
||||
this.courseDetailsId = e;
|
||||
// 清除已经设置的定时器
|
||||
clearTimeout(this.appearTimeout);
|
||||
@@ -1288,6 +1291,7 @@
|
||||
};
|
||||
httpsRequest.getT('/app/course/selectCourseDetailsById', data).then(res => {
|
||||
if (res.code == 0) {
|
||||
console.log(res)
|
||||
if (res.data.listsDetail) {
|
||||
this.info = res.data;
|
||||
this.title = this.info.title;
|
||||
|
||||
Reference in New Issue
Block a user