|
|
@ -104,9 +104,9 @@
|
|
|
|
// 0.76
|
|
|
|
// 0.76
|
|
|
|
var ctx = uni.createCanvasContext('mycanvas', this)
|
|
|
|
var ctx = uni.createCanvasContext('mycanvas', this)
|
|
|
|
ctx.fillStyle = '#FFFFFF'
|
|
|
|
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()
|
|
|
|
ctx.save()
|
|
|
|
// 绘制圆角二维码
|
|
|
|
// 绘制圆角二维码
|
|
|
|
// let avatar_width = 60; //头像宽度
|
|
|
|
// let avatar_width = 60; //头像宽度
|
|
|
|