|
|
|
@ -157,7 +157,7 @@ |
|
|
|
}; |
|
|
|
}, |
|
|
|
onLoad(options) { |
|
|
|
this.getQR(); |
|
|
|
// this.getQR(); |
|
|
|
this.timer = setTimeout(() => { |
|
|
|
this.showMedal = false |
|
|
|
this.showLayer = false |
|
|
|
@ -344,8 +344,7 @@ |
|
|
|
image.src = '/static/images/share_bg.jpg' |
|
|
|
// 图片对象 |
|
|
|
const imageQR = canvas.createImage() |
|
|
|
console.log(this.imageQR) |
|
|
|
imageQR.src = this.imageQR |
|
|
|
imageQR.src = '/static/images/qrCode.jpg' |
|
|
|
image.onload = () => { |
|
|
|
// 将图片绘制到 canvas 上 |
|
|
|
context.drawImage(image, 0, 0, 350, 450) |
|
|
|
|