[fix]分享图片拉伸问题

main
huyuanxiang 2 years ago
parent 87529795fd
commit e9fc2bafb8

@ -104,9 +104,9 @@
// 0.76
var ctx = uni.createCanvasContext('mycanvas', this)
ctx.fillStyle = '#FFFFFF'
ctx.fillRect(0, 0, this.windowWidth - 30, 560)
ctx.fillRect(0, 0, this.windowWidth - 30, 500)
//
ctx.drawImage('/static/images/user/shop.png', 0, 0, this.windowWidth - 30, 560)
ctx.drawImage('/static/images/user/shop.png', 0, 0, this.windowWidth - 30, 500)
ctx.save()
//
// let avatar_width = 60; //

Loading…
Cancel
Save