소스 검색

no message

linwenxin 3 주 전
부모
커밋
4ac13af745
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/packageGoods/pages/detail.vue

+ 2 - 2
src/packageGoods/pages/detail.vue

@@ -1061,7 +1061,7 @@ export default {
       // 提示
       ctx.setFontSize(12)
       ctx.setFillStyle('#FE781F')
-      ctx.fillText('打开微信扫描识别查看商品', 78, 500)
+      ctx.fillText('打开微信扫描识别查看商品', 78, 520)
 
       // 图片
       if (img.indexOf('https://zf-mall-test.oss-cn-shenzhen.aliyuncs.com') >= 0) {
@@ -1084,7 +1084,7 @@ export default {
       const codeRes = await toBase64src(codeUrl)
 
       ctx.drawImage(imgRes, 20, 20, 260, 260)
-      ctx.drawImage(codeRes, 110, 404, 80, 80)
+      ctx.drawImage(codeRes, 90, 404, 100, 100)
 
       ctx.draw()
       setTimeout(() => {