mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue