Commit 1d20b08dd5b04dde1645f2848229f8a9ce356b2d
1 parent
217cc6ae
小程序分享的文字覆盖的bug修复
Showing
1 changed file
with
3 additions
and
3 deletions
pages/goods/goodsInfo/goodsInfo.js
... | ... | @@ -3773,7 +3773,7 @@ Page({ |
3773 | 3773 | context.setFillStyle("black"); |
3774 | 3774 | context.setFontSize(21.3 * unit) |
3775 | 3775 | th.draw_Text(context, th.data.data.goods_name, |
3776 | - 38 * unit, 180 * unit, 20 * unit, 300*unit, unit); | |
3776 | + 38 * unit, 170 * unit, 20 * unit, 300*unit, unit); | |
3777 | 3777 | //------ 产品的价格 ----- |
3778 | 3778 | var pri0 = th.data.prom_act.addmoney; |
3779 | 3779 | var integral=th.data.prom_act.integral; |
... | ... | @@ -3784,12 +3784,12 @@ Page({ |
3784 | 3784 | |
3785 | 3785 | if(!pri0 && !integral){ text="0积分";} |
3786 | 3786 | context.setFillStyle("red"); |
3787 | - context.fillText(text, 38 * unit, 215 * unit); | |
3787 | + context.fillText(text, 38 * unit, 235 * unit); | |
3788 | 3788 | |
3789 | 3789 | } |
3790 | 3790 | |
3791 | 3791 | //---中间大图--- |
3792 | - context.drawImage(th.data.share_goods_img, 68 * unit, 242 * unit, 410 * unit, 410 * unit); | |
3792 | + context.drawImage(th.data.share_goods_img, 70 * unit, 250 * unit, 408 * unit, 408 * unit); | |
3793 | 3793 | //-------大图后面就不一样了----------- |
3794 | 3794 | switch (type) { |
3795 | 3795 | case 0: //普通商品的展示 | ... | ... |