he2802 4 лет назад
Родитель
Сommit
068d2da611
1 измененных файлов с 1 добавлено и 12 удалено
  1. 1 12
      pages2/class/detail.vue

+ 1 - 12
pages2/class/detail.vue

@@ -600,6 +600,7 @@ export default {
 			var polyvPlayerContext = this.selectComponent('#playerVideo');
 			if (polyvPlayerContext != null) {
 				let PlayCurrentTime = polyvPlayerContext.getVideoPlayDuration();
+				console.log(PlayCurrentTime,996)
 				this.studyDuration = PlayCurrentTime;
 				if (this.currentTime < PlayCurrentTime) {
 					this.playTime += PlayCurrentTime - this.currentTime;
@@ -622,18 +623,6 @@ export default {
 			}
 		},
 		onStateChange(newstate, oldstate) {
-			setTimeout(()=>{
-				this.photoPopup = true;
-					uni.authorize({
-					     scope: 'scope.camera',
-					     success() {
-					        
-					     }
-					 })    
-					 
-					 console.log(9999119)
-			},5000) 
-			console.log(newstate, 6989);
 			if (newstate.detail.newstate == 'playing') {
 				if (this.needSeek) {   
 					var polyvPlayerContext = this.selectComponent('#playerVideo');