chenxiong 3 жил өмнө
parent
commit
5956d1e13b

+ 3 - 1
pages3/polyv/detail.vue

@@ -303,6 +303,7 @@ export default {
 			photoConfig:false, //是否配置好拍照次数
 			photoIndex:0, //当前位于拍照的区间下标 从0开始
 			photoHistoryList:[], //已拍照历史的下标点
+			sectionItem:null,
 			businessData:{},
 			menuIndex:[],
 			isRebuild:false, //视频是否从重修目录点击
@@ -470,6 +471,7 @@ export default {
 			//清除直播
 			this.photoConfig = false
 			this.photoIndex = 0
+			this.sectionItem = item;
 			this.$store.commit('setPlayChannelId', { playChannelId: 0 });
 			//获取拍照历史
 			this.getPhotoLastRecord()
@@ -1355,7 +1357,7 @@ export default {
 					for(let i=0;i<this.photoList.length;i++){
 						photoTime = Number(this.photoList[i]); //获取拍照秒数
 						if (photoTime < this.playTime&&photoTime>this.playTime-8) { //3秒区间内才触发拍照,避免拉动滚动条
-							if(this.photoHistoryList.indexOf(i)<0){ //不存在拍照历史则拍照
+							if(this.photoHistoryList.indexOf(i)<0 && (this.sectionItem.rebuild > 0 || this.sectionItem.learning == 0)){ //不存在拍照历史则拍照
 								//启动拍照
 								//暂停
 								polyvPlayerContext.exitFullScreen();