| 
					
				 | 
			
			
				@@ -20,10 +20,15 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   created(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     EventBus.$on('preview', this.handlePreview); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    EventBus.$on('playVideo', this.handleVideoPlay); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    handleVideoPlay(e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      document.querySelectorAll('video').forEach(video => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if(e.target !== video && !video.paused) video.pause(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     handlePreview(url){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      console.log('preview'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const { data } = this.$store.state.pages; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const { pages, main } = data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       const { id = 'main' } = this.$route.params; 
			 |