| | |
| | | this.fullScreen = !this.fullScreen; |
| | | }, |
| | | frameClick: function () { |
| | | debugger |
| | | this.$store.commit('desktop/refreshFrame', this.data); |
| | | }, |
| | | minFrame (data,e) { |
| | | //e.stopPropagation() |
| | | //找到当前的iframe |
| | | let curIframe = Array.from(document.querySelectorAll('iframe')).find(iframe => iframe.src.indexOf(data.url) >= 0); |
| | | //保存当前应用快照 |
| | |
| | | type: "3", |
| | | screenshot: shotSrc |
| | | }); |
| | | }) |
| | | |
| | | }); |
| | | return false; |
| | | //this.refreshDock(); |
| | | }, |
| | | refreshDock: function () { |
| | |
| | | top: 0; |
| | | right: 0; |
| | | height: 30px; |
| | | z-index: 2; |
| | | } |
| | | |
| | | .d-frame-title-operation i { |
| | |
| | | width: 46px; |
| | | text-align: center; |
| | | vertical-align: middle; |
| | | cursor: pointer; |
| | | } |
| | | |
| | | .d-frame-title-operation i:hover{ |
| | | background-color: #c7cacf; |
| | | } |