优化贺报下载与分享

This commit is contained in:
xuxingjun
2024-12-18 15:32:45 +08:00
parent 373cefdfda
commit 001541e38e

View File

@@ -144,12 +144,14 @@ export default {
})
},
downLoadImagesFunc() {
this.downLoadJin = true
console.log('66666666666666');
if(this.downLoadJin == false) {
this.domToImage(this.$refs.generateImg)
this.downLoadJin = true
}
setTimeout(() => {
this.downLoadJin = false
}, 5000);
this.domToImage(this.$refs.generateImg)
},
close() {
this.$emit('child-colse', '1')
@@ -250,14 +252,14 @@ img {
}
.shareImg {
border-radius: 12px;
width: 42%;
width: 35%;
height: 50px;
border: none !important;
}
.downLoad {
border-radius: 12px;
width: 42%;
height: 53px;
width: 35%;
height: 49px;
background: linear-gradient(to right, #f26e43, #ac0209) !important;
/*设置按钮为渐变颜色*/
color: #fff;