diff --git a/yudao-ui-app/App.vue b/yudao-ui-app/App.vue index 72690a77d..8d3bbc918 100644 --- a/yudao-ui-app/App.vue +++ b/yudao-ui-app/App.vue @@ -186,7 +186,7 @@ if (this.$store.getters.isLogin) { this.setRefreshToken() } - }, 60000) + }, 600000) }, // 是否扫码跳转 isQRCode() { diff --git a/yudao-ui-app/components/paymentMember/index.vue b/yudao-ui-app/components/paymentMember/index.vue index 2badafc4e..122525432 100644 --- a/yudao-ui-app/components/paymentMember/index.vue +++ b/yudao-ui-app/components/paymentMember/index.vue @@ -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 { diff --git a/yudao-ui-app/pages/users/user_spread_code/index.vue b/yudao-ui-app/pages/users/user_spread_code/index.vue index 57614afea..77abdba74 100644 --- a/yudao-ui-app/pages/users/user_spread_code/index.vue +++ b/yudao-ui-app/pages/users/user_spread_code/index.vue @@ -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 })