From 8992c6b7a3555747e1d5eaeee6d655c13fecf7d3 Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Wed, 20 Mar 2024 16:27:17 +0800
Subject: [PATCH] 修复缩略图传参的问题

---
 plugins/qrcode/cQrCode.scss |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/plugins/qrcode/cQrCode.scss b/plugins/qrcode/cQrCode.scss
index 0abfe35..383b994 100644
--- a/plugins/qrcode/cQrCode.scss
+++ b/plugins/qrcode/cQrCode.scss
@@ -6,10 +6,21 @@
 @import "../../common/sassMixin";
 
 .c-qr-code {
+    font-size: 0;
     text-align: center;
     taro-canvas-core {
         display: inline-block;
         width: auto;
         height: auto;
+        canvas {
+            width: auto !important;
+            height: auto !important;
+            max-width: 100%;
+        }
+    }
+    .at-button {
+        display: block;
+        width: 100%;
+        margin-top: 18px;
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1