From f5a6ea91d2c1bf41730620809d447cd328bb427f Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Thu, 16 Jun 2022 09:54:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=BE=E5=A4=A7=E4=BA=8C=E7=BB=B4=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/portal/course/Detail.vue | 8 ++++---- src/views/portal/course/Micro.vue | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/portal/course/Detail.vue b/src/views/portal/course/Detail.vue index 72ce79af..71b52607 100644 --- a/src/views/portal/course/Detail.vue +++ b/src/views/portal/course/Detail.vue @@ -240,8 +240,8 @@ export default { }, crateQrcode(){ this.qr = new QRCode('qrcode', { - width: 80, - height: 80, // 高度 + width: 150, + height: 150, // 高度 text: this.qrcode // 二维码内容 }); }, @@ -465,8 +465,8 @@ export default { vertical-align:bottom; } .qrcode{ - width: 80px; - height: 80px; + width: 150px; + height: 150px; display: inline-block; margin: 1px; img { diff --git a/src/views/portal/course/Micro.vue b/src/views/portal/course/Micro.vue index 314f3405..6844ccb2 100644 --- a/src/views/portal/course/Micro.vue +++ b/src/views/portal/course/Micro.vue @@ -531,8 +531,8 @@ export default { }, crateQrcode(){ this.qr = new QRCode('qrcode', { - width: 80, - height: 80, // 高度 + width: 150, + height: 150, // 高度 text: this.qrcode // 二维码内容 // render: 'canvas' // 设置渲染方式(有两种方式 table和canvas,默认是canvas) // background: '#f0f'