@@ -313,7 +313,8 @@
src: res.data.signImg,
success(res) {
var ctx = uni.createCanvasContext('handWriting')
- ctx.drawImage(res.path, 0, 0, 330, 244)
+ console.log(ctx)
+ ctx.drawImage(res.path, 0, 0, 340, 250)
ctx.save()
ctx.draw()
},
@@ -813,8 +814,8 @@
.handWriting {
background: #F9F9FB;
- width: 100%;
- height: 100%;
+ width: 340px;
+ height: 250px;
}
.handRight {