Jelajahi Sumber

二维码更新为福瑞科技公众号

guhongwei 5 tahun lalu
induk
melakukan
8b4bdfd4fd
1 mengubah file dengan 5 tambahan dan 5 penghapusan
  1. 5 5
      src/layout/index/erweima.vue

+ 5 - 5
src/layout/index/erweima.vue

@@ -12,10 +12,10 @@
         </el-col>
       </el-col>
     </el-row>
-    <el-dialog title="本站二维码" :visible.sync="dialog" center append-to-body width="30%">
+    <el-dialog title="二维码" :visible.sync="dialog" center append-to-body width="30%">
       <el-row>
         <el-col :span="24" style="text-align:center">
-          <img :src="url" style="zoom:2" />
+          <img :src="url" />
         </el-col>
       </el-row>
     </el-dialog>
@@ -58,7 +58,7 @@ export default {
         }
       } else if (window.sidebar) {
         //firfox等浏览器;
-        window.sidebar.addPanel(title, url, '');
+        window.sidebar.addPanel(title, url, '../../assets/erweima.jpg');
       } else {
         alert('您的浏览器不支持,请按 Ctrl+D 手动收藏!');
       }
@@ -67,8 +67,8 @@ export default {
       this.dialog = true;
     },
     async initQrcode() {
-      let url = window.location.href;
-      this.url = await QRCode.toDataURL(url);
+      // let url = window.location.href;
+      // this.url = await QRCode.toDataURL(url);
     },
   },
 };