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