| | |
| | | if (this.isFullScreen) { |
| | | const clientX = document.documentElement.clientWidth || document.body.clientWidth |
| | | const clientY = document.documentElement.clientHeight || document.body.clientHeight |
| | | this.fullScreenPanoStyle = `width: 100%; height: 100%; z-index: 100; ` |
| | | this.fullScreenStyle = `width: ${clientX - 40}px; height: ${clientY - 120}px; margin:20px; position: fixed; top: 80px; left: 0;z-index: 100;background-color: #fff;overflow: hidden;` |
| | | if (this.currentView === '720') { |
| | | this.fullScreenStyle = `width: ${clientX - 40}px; height: ${clientY - 120}px; margin:20px; position: fixed; top: 80px; left: 0;z-index: 100;background-color: #fff;overflow: hidden;` |
| | | this.fullScreenPanoStyle = `width: 100%; height: 100%; z-index: 100; ` |
| | | } else if(this.currentView === 'model'){ |
| | | this.fullScreenModelStyle = `width: ${clientX - 40}px; height: ${clientY - 120}px; margin:20px; position: fixed; top: 80px; left: 0;z-index: 100;background-color: #fff;overflow: hidden;` |
| | | } |