|
@@ -188,7 +188,7 @@ Page({ |
|
|
for (let i = 0; i < that.data.data.merchantVoList.length;i++){ |
|
|
for (let i = 0; i < that.data.data.merchantVoList.length;i++){ |
|
|
let metrics; |
|
|
let metrics; |
|
|
if(i==0){ |
|
|
if(i==0){ |
|
|
metrics = 35; |
|
|
|
|
|
|
|
|
metrics = 30; |
|
|
that.drawNormalText(ctx, that.data.data.merchantVoList[i].merchantName+"、", metrics, 375 * scale, 14 * scale, "#000", "left", "middle", scale); |
|
|
that.drawNormalText(ctx, that.data.data.merchantVoList[i].merchantName+"、", metrics, 375 * scale, 14 * scale, "#000", "left", "middle", scale); |
|
|
}else if(i<=2){ |
|
|
}else if(i<=2){ |
|
|
let word = that.data.data.merchantVoList[i - 1].merchantName; |
|
|
let word = that.data.data.merchantVoList[i - 1].merchantName; |
|
@@ -197,7 +197,7 @@ Page({ |
|
|
if(i==2){ |
|
|
if(i==2){ |
|
|
that.drawNormalText(ctx,''+that.data.data.merchantVoList[i].merchantName+"..", metrics, 375 * scale, 14 * scale, "#000", "left", "middle", scale); |
|
|
that.drawNormalText(ctx,''+that.data.data.merchantVoList[i].merchantName+"..", metrics, 375 * scale, 14 * scale, "#000", "left", "middle", scale); |
|
|
}else{ |
|
|
}else{ |
|
|
that.drawNormalText(ctx,''+that.data.data.merchantVoList[i].merchantName+"、", metrics, 375 * scale, 14 * scale, "#000", "left", "middle", scale); |
|
|
|
|
|
|
|
|
that.drawNormalText(ctx,''+that.data.data.merchantVoList[i].merchantName+"、", metrics+20, 375 * scale, 14 * scale, "#000", "left", "middle", scale); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|