Skip to content

Commit 3fe744d

Browse files
committed
delete QRCode notice
1 parent 7431c0f commit 3fe744d

File tree

3 files changed

+5
-20
lines changed

3 files changed

+5
-20
lines changed

i18n.json

-6
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@
2626
"fr": "QR code",
2727
"fa": "کیوآر کد"
2828
},
29-
"QRNotice": {
30-
"cn": "扫一扫用手机玩",
31-
"en": "Scan QR code to play with a mobile phone",
32-
"fr": "Numérisez le code QR pour jouer avec un téléphone mobile",
33-
"fa": "اسکن کیوآر کد برای بازی در تلفن همراه"
34-
},
3529
"titleCenter": {
3630
"cn": "俄罗斯方块<br />TETRIS",
3731
"en": "TETRIS",

src/components/guide/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ export default class Guide extends React.Component {
7676
src={this.state.QRCode}
7777
alt={i18n.QRCode[lan]}
7878
/>
79-
<span>{ i18n.QRNotice[lan] }</span>
8079
</div>
8180
) : null }
8281
</div>

src/components/guide/index.less

+5-13
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,15 @@
4141
&.qr{
4242
left: auto;
4343
top: 5%;
44-
width: 150px;
45-
height:190px;
46-
opacity: .45;
44+
width: 250px;
45+
height:250px;
46+
opacity: .5;
4747
text-align: right;
4848
cursor: none;
49-
span{
50-
display: none;
51-
text-align: center;
52-
line-height: 40px;
53-
}
5449
&:hover{
5550
img{
56-
width: 150px;
57-
height: 150px;
58-
}
59-
span{
60-
display: block;
51+
width: 100%;
52+
height: 100%;
6153
}
6254
}
6355
img{

0 commit comments

Comments
 (0)