diff --git a/src/views/portal/course/Detail.vue b/src/views/portal/course/Detail.vue index 72ce79af..e0b379cf 100644 --- a/src/views/portal/course/Detail.vue +++ b/src/views/portal/course/Detail.vue @@ -240,10 +240,11 @@ export default { }, crateQrcode(){ this.qr = new QRCode('qrcode', { - width: 80, - height: 80, // 高度 + width: 150, + height: 150, // 高度 text: this.qrcode // 二维码内容 }); + this.qr._el.title = ''; }, showCommentsTotal(total){ this.commentsTtoal=total; @@ -465,8 +466,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..e8460052 100644 --- a/src/views/portal/course/Micro.vue +++ b/src/views/portal/course/Micro.vue @@ -531,13 +531,14 @@ 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' // foreground: '#ff0' }); + this.qr._el.title = ''; }, ...mapActions({ getResOwnerTree:'resOwner/getResOwnerTree',