From 27cb44f097587b7cde3623a737032060caa35059 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=93=E5=B9=B3=E8=89=BA?= <52643018@qq.com> Date: Sat, 17 Jul 2021 16:48:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=95=86=E5=93=81=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E7=94=9F=E6=88=90=E6=B5=B7=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/goodsDetail/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/goodsDetail/index.vue b/pages/goodsDetail/index.vue index 96f8e42..26065e9 100644 --- a/pages/goodsDetail/index.vue +++ b/pages/goodsDetail/index.vue @@ -305,8 +305,8 @@ //绘制价格 context.setFontSize(40); context.setFillStyle('#FF0000'); - context.setTextAlign('center'); - context.fillText(price,65, 366); + context.setTextAlign('left'); + context.fillText(price,6, 366); if(title.length <= 11){ context.setFontSize(20);