Compare commits
2 Commits
e44f1addb5
...
9ccba3d554
Author | SHA1 | Date |
---|---|---|
TianYu | 9ccba3d554 | |
TianYu | 989fec4ebc |
|
@ -186,7 +186,7 @@
|
|||
if (this.$store.getters.isLogin) {
|
||||
this.setRefreshToken()
|
||||
}
|
||||
}, 60000)
|
||||
}, 600000)
|
||||
},
|
||||
// 是否扫码跳转
|
||||
isQRCode() {
|
||||
|
|
|
@ -216,7 +216,7 @@
|
|||
width: 100%;
|
||||
border-radius: 16rpx 16rpx 0 0;
|
||||
background-color: #fff;
|
||||
padding-bottom: 4%;
|
||||
padding-bottom: 100rpx;
|
||||
z-index: 99;
|
||||
transition: all 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
|
||||
transform: translate3d(0, 100%, 0);
|
||||
|
@ -256,7 +256,7 @@
|
|||
}
|
||||
|
||||
.payment .item .left {
|
||||
width: 610rpx;
|
||||
width: 600rpx;
|
||||
}
|
||||
|
||||
.payment .item .left .text {
|
||||
|
|
|
@ -65,14 +65,20 @@
|
|||
},
|
||||
onReady() {},
|
||||
methods: {
|
||||
downImage() {
|
||||
async downImage() {
|
||||
const that = this
|
||||
uni.showLoading({
|
||||
title: '生成海报中',
|
||||
mask: true
|
||||
});
|
||||
that.isHideBtn = true
|
||||
htmlToImage.toJpeg(document.getElementById('poster-wrap'), {
|
||||
for(let i = 0; i<3; i++){
|
||||
await htmlToImage.toPng(document.getElementById('poster-wrap'), {
|
||||
quality: 0.95,
|
||||
cacheBust: true
|
||||
});
|
||||
}
|
||||
htmlToImage.toPng(document.getElementById('poster-wrap'), {
|
||||
quality: 0.95,
|
||||
cacheBust: true
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue