mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 07:26:44 +08:00
优化贺报下载与分享
This commit is contained in:
@@ -144,12 +144,14 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
downLoadImagesFunc() {
|
downLoadImagesFunc() {
|
||||||
this.downLoadJin = true
|
if(this.downLoadJin == false) {
|
||||||
console.log('66666666666666');
|
this.domToImage(this.$refs.generateImg)
|
||||||
|
this.downLoadJin = true
|
||||||
|
}
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.downLoadJin = false
|
this.downLoadJin = false
|
||||||
}, 5000);
|
}, 5000);
|
||||||
this.domToImage(this.$refs.generateImg)
|
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
this.$emit('child-colse', '1')
|
this.$emit('child-colse', '1')
|
||||||
@@ -250,14 +252,14 @@ img {
|
|||||||
}
|
}
|
||||||
.shareImg {
|
.shareImg {
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
width: 42%;
|
width: 35%;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
border: none !important;
|
border: none !important;
|
||||||
}
|
}
|
||||||
.downLoad {
|
.downLoad {
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
width: 42%;
|
width: 35%;
|
||||||
height: 53px;
|
height: 49px;
|
||||||
background: linear-gradient(to right, #f26e43, #ac0209) !important;
|
background: linear-gradient(to right, #f26e43, #ac0209) !important;
|
||||||
/*设置按钮为渐变颜色*/
|
/*设置按钮为渐变颜色*/
|
||||||
color: #fff;
|
color: #fff;
|
||||||
|
|||||||
Reference in New Issue
Block a user