|
@@ -5,6 +5,9 @@
|
|
|
import krpanoVideo from "@/components/krpanoVideo/index.vue";
|
|
|
import {getStorage} from '@/utils/localStorage';
|
|
|
import { MessageBox } from 'mint-ui';
|
|
|
+ import {
|
|
|
+ Toast
|
|
|
+ } from 'mint-ui';
|
|
|
var requestId = "";
|
|
|
const util = require('@/utils/util.js').default;
|
|
|
import commonPageMethod from '@/mixins/commonPageMethod.js';
|
|
@@ -66,6 +69,7 @@
|
|
|
bgMusic:'',
|
|
|
redBox:'',
|
|
|
bili: 2/3,
|
|
|
+ instance:null,
|
|
|
}
|
|
|
},
|
|
|
beforeDestroy() {
|
|
@@ -121,10 +125,17 @@
|
|
|
},
|
|
|
async clipImgHandle(){
|
|
|
console.warn("***clipImgHandle1***");
|
|
|
+ this.instance = Toast({
|
|
|
+ message: '正在截图,请稍后',
|
|
|
+ duration:-1,
|
|
|
+ });
|
|
|
this.bottomLeftX = this.left;
|
|
|
this.bottomLeftY = this.screenHeight - this.top - this.height;
|
|
|
this.$refs.krpanoVideo.makescreenshot();
|
|
|
},
|
|
|
+ closeToast(){
|
|
|
+ this.instance && this.instance.close();
|
|
|
+ },
|
|
|
navbarBackClk() {
|
|
|
|
|
|
},
|