| | |
| | | } |
| | | } |
| | | }, |
| | | |
| | | |
| | | methods: { |
| | | //resize |
| | | mousedown(e) { |
| | |
| | | }, |
| | | //resize end |
| | | closeFrame: function () { |
| | | debugger |
| | | this.$store.dispatch('desktop/closeFrame', this.data); |
| | | this.refreshDock(); |
| | | //this.refreshDock(); |
| | | this.$store.commit('desktop/highlight') |
| | | |
| | | }, |
| | | changeFullScreen: function () { |
| | | this.fullScreen = !this.fullScreen; |
| | |
| | | alt: this.data.title, |
| | | type: "3", |
| | | screenshot: shotSrc |
| | | }); |
| | | }).catch(e=>{ |
| | | console.log(e); |
| | | this.$store.commit('desktop/addMinDock', { |
| | | id: this.data.id, |
| | | src: this.data.icon, |
| | | alt: this.data.title, |
| | | type: "3", |
| | | screenshot: '' |
| | | }); |
| | | }); |
| | | return false; |
| | |
| | | } |
| | | |
| | | .d-frame .d-frame-title { |
| | | /* min-width: 378px; */ |
| | | height: 30px; |
| | | background-color: #e0e0e0; |
| | | border-radius: 4px 4px 0 0; |