|
@@ -257,7 +257,6 @@ export default {
|
|
|
},
|
|
|
computed: { ...mapGetters(['userInfo', 'playSectionId','playChannelId','playVID']) },
|
|
|
onLoad(option) {
|
|
|
- console.log(this.userInfo,789)
|
|
|
this.courseId = Number(option.id);
|
|
|
this.goodsId = Number(option.goodsId);
|
|
|
this.courseDetail();
|
|
@@ -513,17 +512,17 @@ export default {
|
|
|
this.photoList.push(s)
|
|
|
initSpace+=spaceTime
|
|
|
}
|
|
|
- console.log(this.photoList,"随机拍时间数组",this.photoNum)
|
|
|
+ // console.log(this.photoList,"随机拍时间数组",this.photoNum)
|
|
|
//兼容已有观看历史
|
|
|
for(let i=0;i<this.photoList.length-1;i++){
|
|
|
if(this.photoList[i]<duration&&this.photoList[i+1]>duration){
|
|
|
this.photoIndex = i+1
|
|
|
- console.log("我的修改了photoIndex")
|
|
|
+ // console.log("我的修改了photoIndex")
|
|
|
break
|
|
|
}
|
|
|
if(duration>this.photoList[this.photoList.length-1]){
|
|
|
this.photoIndex = this.photoList.length-1 //取最后一个下标
|
|
|
- console.log("我的修改了photoIndex")
|
|
|
+ // console.log("我的修改了photoIndex")
|
|
|
break
|
|
|
}
|
|
|
}
|