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