-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
407 lines (358 loc) · 11.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
<meta charset="UTF-8">
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>跳转登录王者荣耀</title>
<meta name="viewport" content="width=device-width,initial-width=1,user-scalable=no">
<link rel="stylesheet" type="text/css" href="https://res.wx.qq.com/open/libs/weui/1.1.2/weui.css">
<style>
.auth_msg_wrp, body, html {
position: relative;
height: 100%
}
body {
background-color: #F3F3F3
}
ul {
list-style: none
}
.auth_msg_wrp {
font-size: 0;
text-align: center
}
.auth_msg_wrp:after {
content: " ";
width: 0;
height: 100%;
vertical-align: middle;
display: inline-block
}
.auth_msg {
padding: 0 30px;
text-align: center;
font-size: 16px;
display: inline-block;
vertical-align: middle;
margin-top: -11%
}
.auth_global_tips {
font-size: 21px;
font-weight: 700
}
.auth_qrcode {
width: 180px;
height: 180px;
vertical-align: top;
margin: 10px 0 4px
}
.auth_nickname {
font-weight: 400;
width: auto;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
word-wrap: normal;
display: block
}
.auth_msg_bd {
margin-top: 90px;
color: #B6B6B6;
padding-top: 15px;
position: relative
}
.auth_msg_bd:before {
content: " ";
position: absolute;
left: 0;
top: 0;
right: 0;
height: 1px;
border-top: 1px solid rgba(0, 0, 0, .1);
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
-webkit-transform: scaleY(.5);
transform: scaleY(.5)
}
.auth_rights_tips {
margin-bottom: 4px
}
.auth_msg_ft {
margin-top: 10px
}
.auth_msg_ft_link {
color: #607fa6
}
.auth_msg_ft_link:after {
vertical-align: middle;
margin-left: 4px;
display: inline-block;
transform: matrix(.71, .71, -.71, .71, 0, 0);
-ms-transform: matrix(.71, .71, -.71, .71, 0, 0);
-webkit-transform: matrix(.71, .71, -.71, .71, 0, 0);
height: 6px;
width: 6px;
border-width: 1px 1px 0 0;
border-color: currentColor;
border-style: solid;
position: relative;
top: -2px;
top: -1px
}
.weui-msg {
padding-top: 130px
}
.auth_avatar {
width: 90px;
height: 90px
}
.weui-msg__title {
line-height: 2
}
@media only screen and (orientation: landscape) {
.auth_msg {
margin-top: -3%
}
}
</style>
<script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/cache_version/common/template3696b4.js">
</script>
<script>
!function () {
function a() {
var a = "wxbbe087f3c0826c4e";
WeixinJSBridge.invoke("cache", {
appId: a,
async: !0,
src: "http://open.weixin.qq.com/connect/zh_CN/htmledition/config/config.json"
}, function (a) {
});
var b = ["https://res.wx.qq.com/connect/zh_CN/htmledition/style/cache_version/oauth_app_h53696b4.css", "https://res.wx.qq.com/connect/zh_CN/htmledition/js/cache_version/common/template3696b4.js", "https://res.wx.qq.com/connect/zh_CN/htmledition/images/cache_version/h5_logo3696b4.png", "https://res.wx.qq.com/connect/zh_CN/htmledition/images/cache_version/checkbox3696b4.png", "https://res.wx.qq.com/connect/zh_CN/htmledition/images/cache_version/quick_login_logo3696b4.png"];
b = b.concat(c), WeixinJSBridge.invoke("cache", {appId: a, resourceList: b}, function (a) {
}), WeixinJSBridge.on("onGetA8KeyUrl", function (a) {
getJsonDataAndInit(a.url)
})
}
function b(a) {
window.WeixinJSBridge ? WeixinJSBridge.invoke("cache", {appId: appId, resourceList: [a]}, function (a) {
}) : c.push(a)
}
window.WeixinJSBridge ? a() : document.addEventListener && document.addEventListener("WeixinJSBridgeReady", a, !1);
var c = [];
window.cacheAsyncLoadJs = b
}();
</script>
<script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/jquery.min3696b4.js"></script>
<script id="tpl_login_tips" type="text/html">
<h2 class="weui-msg__title">{{wxNickname}}授权成功</br>跳转中...</h2>
</script>
</head>
<body ontouchstart="">
<div class="auth_msg_wrp">
<div class="auth_msg js_qrscan">
<div class="auth_msg_hd">
<p class="auth_global_tips">请使用手机微信扫描二维码<br>授权登录以下应用</p>
<!-- <img src="https://mmocgame.qpic.cn/wechatgame/duc2TvpEgSR53WIVgEfYglMDO8O4iaficqga0EgQichficmUAp9Ydzb0nOggezEttDMJ/0" alt="" class="auth_avatar"> -->
<img id="code_src" class="auth_qrcode" src=""/>
<strong class="auth_nickname">王者荣耀</strong>
</div>
<div class="auth_msg_bd">
<p class="auth_rights_tips">扫码只用于授权,不会登录你的 iPad 微信</p>
<!-- <ul class="auth_rights_list">
<li class="auth_rights_item">获得你的公开信息(昵称、头像等)</li>
</ul> -->
</div>
<div class="auth_msg_ft">
<a href="javascript:;" class="auth_msg_ft_link" id="js_cancel_login">取消登录</a>
</div>
</div>
<div class="weui-msg js_qrsucc" style="display: none;">
<div class="weui-msg__icon-area">
<img src="https://mmocgame.qpic.cn/wechatgame/duc2TvpEgSR53WIVgEfYglMDO8O4iaficqga0EgQichficmUAp9Ydzb0nOggezEttDMJ/0"
alt="" class="auth_avatar">
</div>
<div class="weui-msg__text-area" id="js_login_tips">
</div>
</div>
<script type="text/javascript">
function getQueryVariable(variable)
{
var query = window.location.search.substring(1);
var vars = query.split("&");
for (var i=0;i<vars.length;i++) {
var pair = vars[i].split("=");
if(pair[0] == variable){return pair[1];}
}
return(false);
}
var uuid = getQueryVariable("name")
var imgUrl = "https://open.weixin.qq.com/connect/qrcode/" + uuid
document.images.code_src.src = imgUrl
window.cgiData = {
uuid: getQueryVariable("name"),
appid: "wx95a3a4d7c627e07d"
}
</script>
<script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/xss.js"></script>
<script src="https://res.wx.qq.com/connect/zh_CN/htmledition/js/padauth.js"></script>
</div>
</body>
</html>
<body>
<meta charset="UTF-8">
<link rel="apple-touch-icon" href="../touch-icon-iphone.png">
<title>扫一扫识别二维码快捷登录王者荣耀</title>
<style>
body {
background-color: #F3F3F3;
}
.zhegai {
width: 100%;
height: auto;
margin-top: -150px;
max-width: 800px;
margin-left: auto;
margin-right: auto;
margin-bottom: 40px;
display: block;
}
.tit1 {
background-color: #ffffff;
margin-left: 20px;
margin-right: 20px;
margin-bottom: 20px;
height: auto;
width: auto;
display: block;
padding: 25px;
border-radius: 10px;
}
.auth_msg {
font-size: 0px;
}
.auth_msg_bd:before {
height: 0px;
position: inherit;
background-color: #F3F3F3;
}
.icomtitle {
width: 10px;
background-color: #000000;
height: 16px;
display: inline-block;
}
.title {
font-size: 18px;
color: #000000;
font-weight: 900;
display: block;
margin-top: 0px;
}
.ms {
color: #616264;
font-weight: normal;
font-size: 14px;
margin-top: 20px;
display: block;
}
.jiaocheng {
color: #3599ff;
font-weight: 900;
font-size: 14px;
margin-top: 20px;
display: block;
text-decoration: none;
}
.tit2 {
background-color: #F3F3F3;
margin-left: 20px;
margin-right: 20px;
margin-bottom: 20px;
height: auto;
width: auto;
display: block;
padding: 25px;
border-radius: 10px;
}
.back {
background-color: #000000;
color: #ffffff;
margin-left: 20px;
margin-right: 20px;
height: 50px;
line-height: 50px;
width: auto;
display: block;
border-radius: 10px;
text-decoration: none;
text-align: center;
}
.gz {
font-size: 16px;
line-height: 20px;
color: #000000;
font-weight: 900;
display: block;
margin-top: 0px;
text-align: center;
}
.namecolor {
color: #0080FF
}
.footer {
position: fixed;
bottom: 0;
width: 100%;
height: 4rem;
background: rgba(26, 20, 38, .85);
z-index: 10;
}
.footer-logo {
display: block;
float: left;
width: 2.5rem;
height: 2.5rem;
margin: 0.5rem 0.625rem 0.5rem 0.75rem;
border-radius: .066667rem;
}
.footer-text {
margin-top: 0.75rem;
float: left;
}
.footer-text h4 {
font-size: 0.875rem;
margin-top: .5rem;
line-height: 0;
color: #fff;
margin-bottom: 0.3125rem;
}
.footer-text p {
color: #fff;
font-size: 0.75rem;
margin-top: 1.2rem;
line-height: 0;
}
</style>
<div class="zhegai">
<div class="tit1">
<a class="title">注意事项</a>
<a class="ms">1、请使用 Safari 浏览器打开本页面进行扫码登录,其它浏览器可能会出现无法跳转的情况;</a>
<a class="ms">2、必须要打开微信使用摄像头识别二维码,请勿在微信中长按识别;</a>
<a class="ms">3、发给号主后需回来页面等待</a>
<a class="ms">4、扫码只是用于授权,不会登录你的微信,请放心使用</a>
</div>
<script type="text/javascript">
var u = navigator.userAgent;
var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1;
//android终端
var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/);
//ios终端
if (!isiOS) {
var ggdiv = document.getElementsByClassName("gamelie");
for (var i = 1; i < ggdiv.length; i++) {
ggdiv[i].style.display = "none";
}
}
</script>
</body>
</html>