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