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 1/2] =?UTF-8?q?=E6=94=BE=E5=A4=A7=E4=BA=8C=E7=BB=B4?= =?UTF-8?q?=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' From 71230bf79cc6e1c103f15d90e6dd4c8504b49184 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Thu, 16 Jun 2022 10:04:37 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E4=BA=8C=E7=BB=B4?= =?UTF-8?q?=E7=A0=81=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/portal/course/Detail.vue | 1 + src/views/portal/course/Micro.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/src/views/portal/course/Detail.vue b/src/views/portal/course/Detail.vue index 71b52607..e0b379cf 100644 --- a/src/views/portal/course/Detail.vue +++ b/src/views/portal/course/Detail.vue @@ -244,6 +244,7 @@ export default { height: 150, // 高度 text: this.qrcode // 二维码内容 }); + this.qr._el.title = ''; }, showCommentsTotal(total){ this.commentsTtoal=total; diff --git a/src/views/portal/course/Micro.vue b/src/views/portal/course/Micro.vue index 6844ccb2..e8460052 100644 --- a/src/views/portal/course/Micro.vue +++ b/src/views/portal/course/Micro.vue @@ -538,6 +538,7 @@ export default { // background: '#f0f' // foreground: '#ff0' }); + this.qr._el.title = ''; }, ...mapActions({ getResOwnerTree:'resOwner/getResOwnerTree',