mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 01:36:43 +08:00
更换贺报下载的方法23
This commit is contained in:
@@ -193,7 +193,7 @@ function appCallBack() {}
|
|||||||
document.documentElement.appendChild(WVJBIframe)
|
document.documentElement.appendChild(WVJBIframe)
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
document.documentElement.removeChild(WVJBIframe)
|
document.documentElement.removeChild(WVJBIframe)
|
||||||
}, 0)
|
}, 1000)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -248,6 +248,6 @@ function appCallBack() {}
|
|||||||
//notation: js file can only use this kind of comments
|
//notation: js file can only use this kind of comments
|
||||||
//since comments will cause error when use in webview.loadurl,
|
//since comments will cause error when use in webview.loadurl,
|
||||||
//comments will be remove by java use regexp
|
//comments will be remove by java use regexp
|
||||||
setTimeout(function() {
|
// setTimeout(function() {
|
||||||
document.documentElement.removeChild(WVJBIframe)
|
// document.documentElement.removeChild(WVJBIframe)
|
||||||
}, 100)
|
// }, 3000)
|
||||||
|
|||||||
@@ -111,10 +111,9 @@ export default {
|
|||||||
}, 'image/png')
|
}, 'image/png')
|
||||||
})
|
})
|
||||||
|
|
||||||
EWebBridge.webCallAppInJs('bridge', {
|
setTimeout(() => {
|
||||||
flag: '',
|
document.documentElement.removeChild(this.$refs.xingdownLoad)
|
||||||
extra: {}
|
}, 3000);
|
||||||
})
|
|
||||||
},
|
},
|
||||||
// 生成图片并下载
|
// 生成图片并下载
|
||||||
domToImage() {
|
domToImage() {
|
||||||
@@ -204,9 +203,14 @@ export default {
|
|||||||
name: '',
|
name: '',
|
||||||
url: ''
|
url: ''
|
||||||
});
|
});
|
||||||
|
// setTimeout(() => {
|
||||||
|
// document.documentElement.removeChild(WVJBIframe)
|
||||||
|
// }, 2500);
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$refs.xingdownLoad.innerHTML = ''; // 清空内容
|
this.close()
|
||||||
}, 2500);
|
}, 3000);
|
||||||
|
|
||||||
return false
|
return false
|
||||||
}, 500);
|
}, 500);
|
||||||
},
|
},
|
||||||
@@ -230,7 +234,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
this.$refs.xingdownLoad.innerHTML = ''; // 清空内容
|
// this.$refs.xingdownLoad.innerHTML = ''; // 清空内容
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$emit('child-colse', '1')
|
this.$emit('child-colse', '1')
|
||||||
}, 200);
|
}, 200);
|
||||||
|
|||||||
Reference in New Issue
Block a user