更换贺报下载的方法22

This commit is contained in:
xuxingjun
2024-12-30 14:41:46 +08:00
parent f4a3ac8e18
commit d336d52d0b
2 changed files with 4 additions and 6 deletions

View File

@@ -248,3 +248,6 @@ function appCallBack() {}
//notation: js file can only use this kind of comments
//since comments will cause error when use in webview.loadurl,
//comments will be remove by java use regexp
setTimeout(function() {
document.documentElement.removeChild(WVJBIframe)
}, 100)

View File

@@ -17,7 +17,7 @@
<!-- <van-button square type="default" :disabled="shareJin" size="large" @click="shareImg" v-no-more-click="1000"> 分享 </van-button> -->
<!-- <van-button square type="danger" :disabled="downLoadJin" size="large" @click="downLoadImagesFunc" v-no-more-click="1000"> 下载 </van-button> -->
<button class="shareImg" @click="fenxiang()" v-no-more-click="1000"> 分享 </button>
<button class="downLoad" @click="saveImg()" v-no-more-click="1000"> 下载 </button>
<button class="downLoad" @click="domToImage()" v-no-more-click="1000"> 下载 </button>
</div>
<div class="close" @click="close()">
<van-icon name="cross" size="38" color="#fff" />
@@ -207,11 +207,6 @@ export default {
setTimeout(() => {
this.$refs.xingdownLoad.innerHTML = ''; // 清空内容
}, 2500);
setTimeout(() => {
this.$emit('child-colse', '1')
}, 3000);
return false
}, 500);
},