fix(views/loginAccount): improve clarity of QR Code

渲染 384px 的 QR Code,而顯示在 192px 的方框中。這樣 QR Code 大小不變,但清晰度為原本的兩倍。

Fixed #1562
master
pan93412 3 years ago
parent aeda63faf7
commit 177a8c8eff

@ -69,7 +69,7 @@
<div v-show="mode == 'qrCode'"> <div v-show="mode == 'qrCode'">
<div v-show="qrCodeImage" class="qr-code-container"> <div v-show="qrCodeImage" class="qr-code-container">
<img :src="qrCodeImage" /> <img :src="qrCodeImage" width="192px" />
</div> </div>
<div class="qr-code-info"> <div class="qr-code-info">
{{ qrCodeInformation }} {{ qrCodeInformation }}
@ -236,7 +236,7 @@ export default {
QRCode.toDataURL( QRCode.toDataURL(
`https://music.163.com/login?codekey=${this.qrCodeKey}`, `https://music.163.com/login?codekey=${this.qrCodeKey}`,
{ {
width: 192, width: 384,
margin: 0, margin: 0,
color: { color: {
dark: '#335eea', dark: '#335eea',

Loading…
Cancel
Save