Kaynağa Gözat

[商户海报][修改]重叠问题

tags/江西版6.1.0
luqc 6 yıl önce
ebeveyn
işleme
fa657fd7e0
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      pages/canvas/index.js

+ 1
- 1
pages/canvas/index.js Dosyayı Görüntüle

@@ -189,7 +189,7 @@ Page({
let metrics;
if(i==0){
metrics = 35;
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){
let word = that.data.data.merchantVoList[i - 1].merchantName;
let metrics = (ctx.measureText(word).width) * scale;


Yükleniyor…
İptal
Kaydet