mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2024-11-22 10:13:02 +08:00
fix(views/loginAccount): improve clarity of QR Code
渲染 384px 的 QR Code,而顯示在 192px 的方框中。這樣 QR Code 大小不變,但清晰度為原本的兩倍。 Fixed #1562
This commit is contained in:
parent
aeda63faf7
commit
177a8c8eff
|
@ -69,7 +69,7 @@
|
|||
|
||||
<div v-show="mode == 'qrCode'">
|
||||
<div v-show="qrCodeImage" class="qr-code-container">
|
||||
<img :src="qrCodeImage" />
|
||||
<img :src="qrCodeImage" width="192px" />
|
||||
</div>
|
||||
<div class="qr-code-info">
|
||||
{{ qrCodeInformation }}
|
||||
|
@ -236,7 +236,7 @@ export default {
|
|||
QRCode.toDataURL(
|
||||
`https://music.163.com/login?codekey=${this.qrCodeKey}`,
|
||||
{
|
||||
width: 192,
|
||||
width: 384,
|
||||
margin: 0,
|
||||
color: {
|
||||
dark: '#335eea',
|
||||
|
|
Loading…
Reference in New Issue
Block a user