|
|
|
@ -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; //头像宽度
|
|
|
|
|