Commit e68220e1 authored by 和慭琛's avatar 和慭琛

bug fix

parent 70d4026c
...@@ -257,7 +257,7 @@ ...@@ -257,7 +257,7 @@
.topView{ .topView{
background-color: #FFFFFF; background-color: #FAFAFA;
width: 100%; width: 100%;
height: 96rpx; height: 96rpx;
display: flex; display: flex;
......
...@@ -363,14 +363,11 @@ ...@@ -363,14 +363,11 @@
this.canvas.setFillStyle('#f2f2f2') this.canvas.setFillStyle('#f2f2f2')
let h = 1 let h = 1
let txtHeight = 36 let txtHeight = 36
// '经度' +
// '维度' + this.canvas.fillText( '经度: ' + this.longitude, 20, canvasHeight - txtHeight * h++);
// '地址' + this.canvas.fillText( '维度: ' + this.latitude, 20, canvasHeight - txtHeight * h++);
// '时间' + this.canvas.fillText( '地址: ' + this.address, 20, canvasHeight - txtHeight * h++);
this.canvas.fillText(this.longitude, 20, canvasHeight - txtHeight * h++); this.canvas.fillText( '时间: ' +this.date, 20, canvasHeight - txtHeight * h++);
this.canvas.fillText(this.latitude, 20, canvasHeight - txtHeight * h++);
this.canvas.fillText(this.address, 20, canvasHeight - txtHeight * h++);
this.canvas.fillText(this.date, 20, canvasHeight - txtHeight * h++);
//加入 水印图片 //加入 水印图片
this.canvas.drawImage(this.markPath, canvasWidth / 2 - 200, canvasHeight / 2 - 50, 400, 100) this.canvas.drawImage(this.markPath, canvasWidth / 2 - 200, canvasHeight / 2 - 50, 400, 100)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment