From 7b2f328b9eed45e57afa037e1eea5c06fe636fc2 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期二, 26 八月 2025 15:48:12 +0800
Subject: [PATCH] 点击二维码弹出大二维码

---
 src/views/home/index.vue |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/views/home/index.vue b/src/views/home/index.vue
index f6bb2d8..1b2b643 100644
--- a/src/views/home/index.vue
+++ b/src/views/home/index.vue
@@ -6,6 +6,7 @@
                 <div class="userCode">透析号:{{patientInfo.patientInfo.patientHemoCode}} </div>
                 <div class="userQRcode">
                     <img
+                        @click="showerwima = true"
                         style=" width: 60px;height: 60px;margin-left: 8%; margin-top: 20px;"
                         referrerpolicy="no-referrer"
                         :src="patientInfo.patientInfo.patientQrcodeUrl"
@@ -124,6 +125,16 @@
             <van-tabbar-item name="xuanjiao" icon="smile-o">宣教</van-tabbar-item>
             <van-tabbar-item name="my" icon="manager">我的</van-tabbar-item>
         </van-tabbar>
+        <van-popup v-model:show="showerwima">
+            <div class="imgcla">
+                <img
+                    preview="1"
+                    style=" width: 350px;height: 350px;"
+                    referrerpolicy="no-referrer"
+                    :src="patientInfo.patientInfo.patientQrcodeUrl"
+                />
+            </div>
+        </van-popup>
     </div>
 </template>
   <script lang="ts" setup>
@@ -140,6 +151,7 @@
     const router=useRouter()
     const userInfo = userInfoStore()
     const active=ref('home')
+    const showerwima=ref(false)
     const tabChang=(index:any)=>{
         if (index==='home'){
             router.push('/')

--
Gitblit v1.8.0