-
Notifications
You must be signed in to change notification settings - Fork 0
/
scheme.html
478 lines (416 loc) · 12.1 KB
/
scheme.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
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>登录学习</title>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/lalasou/[email protected]/qrcode.js"></script>
<style>
.wx {
font-size: 60px;
color: red
}
body {
width: 100%;
height: 100%
}
* {
margin: 0;
padding: 0
}
body {
background-color: #020024
}
.word1 {
font-size: 50px;
text-align: center;
color: gold;
padding-top: 50px;
letter-spacing: 5px;
text-shadow: 2px 4px 9px rgba(255, 255, 255, 0.7)
}
.word2 {
font-size: 22px;
text-align: center;
color: #FFC0CB;
padding-top: 15px;
letter-spacing: 5px;
text-shadow: 2px 4px 9px rgba(255, 255, 255, 0.7)
}
.word {
font-size: 50px;
text-align: center;
color: gold;
padding-top: 50px;
letter-spacing: 5px;
text-shadow: 2px 4px 9px rgba(255, 255, 255, 0.7)
}
.tree {
width: 200px;
height: 300px;
margin: 80px auto 0 auto;
position: relative
}
.star {
width: 50px;
height: 50px;
position: absolute;
background-color: #fff;
border-radius: 50%;
top: -25px;
z-index: 1000;
left: 50%;
transform: translateX(-50%);
animation: starLight 1.5s ease infinite alternate
}
.star-in {
position: absolute;
left: 50%;
top: 50%;
border-right: 100px solid transparent;
border-bottom: 70px solid gold;
border-left: 100px solid transparent;
transform: translateX(-50%)translateY(-50%)rotate(35deg)scale(0.14)
}
.star-in:before {
border-bottom: 80px solid gold;
border-left: 30px solid transparent;
border-right: 30px solid transparent;
position: absolute;
top: -45px;
left: -65px;
content: '';
transform: rotate(-35deg)
}
.star-in:after {
border-bottom: 70px solid gold;
border-left: 100px solid transparent;
border-right: 100px solid transparent;
position: absolute;
top: 3px;
left: -105px;
content: '';
transform: rotate(-70deg)
}
@keyframes starLight {
0% {
background: radial-gradient(ellipse at center, gold 0%,rgba(255, 240, 158, 0.5)42%, rgba(255, 242, 173, 0.2)58%, rgba(255, 255, 255, 0.1)100%)
}
25% {
background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5)40%, rgba(255, 242, 173, 0.2)60%, rgba(255, 255, 255, 0.1)100%)
}
50% {
background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5)38%, rgba(255, 242, 173, 0.2)62%, rgba(255, 255, 255, 0.1)100%)
}
75% {
background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5)36%, rgba(255, 242, 173, 0.2)64%, rgba(255, 255, 255, 0.1)100%)
}
100% {
background: radial-gradient(ellipse at center, gold 0%, rgba(255, 240, 158, 0.5)34%, rgba(255, 242, 173, 0.2)66%, rgba(255, 255, 255, 0.1)100%)
}
}
.leaf {
position: absolute;
left: 50%;
top: 3%;
margin-left: -30px;
background-color: rgba(14, 110, 14);
width: 60px;
height: 60px;
border-radius: 0 10px 35px 10px;
transform: rotate(45deg);
box-shadow: 2px 7px 2px rgba(43, 43, 43, 0.2)
}
.edge {
position: absolute;
left: 0;
bottom: 0;
background-color: rgba(14, 110, 14);
width: 25px;
height: 30px;
border-radius: 0 10px 35px 10px;
transform: translateY(50%)translateX(0)
}
.edge.right {
position: absolute;
left: unset;
bottom: unset;
top: 0;
right: 0;
background-color: rgba(14, 110, 14);
width: 25px;
height: 30px;
border-radius: 0 10px 35px 10px;
transform: translateY(0)translateX(50%)
}
.leaf:nth-child(even) {
background-color: #0f880f
}
.leaf:nth-child(even).edge {
background-color: #0f880f
}
.leaf:nth-child(1) {
z-index: 100;
transform: rotate(45deg)scale(0.8)
}
.leaf:nth-child(2) {
z-index: 99;
top: 15%;
transform: rotate(45deg)scale(1.3)
}
.leaf:nth-child(3) {
z-index: 98;
top: 28%;
transform: rotate(45deg)scale(1.6)
}
.leaf:nth-child(4) {
z-index: 97;
top: 41%;
transform: rotate(45deg)scale(1.9)
}
.leaf:nth-child(5) {
z-index: 96;
top: 54%;
transform: rotate(45deg)scale(2.2)
}
.trunk {
width: 25px;
height: 45px;
border-radius: 0 0 3px 3px;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: 20px;
z-index: 1;
box-shadow: 0 0 10px 5px rgb(19, 19, 19);
background: linear-gradient(0deg, #6d411b 0%, #5a341d 64%)
}
.ball {
width: 20px;
height: 20px;
background: #f00;
box-shadow: -1px-1px 6px inset#600, 1px 1px 8px inset#ffc9c9;
border-radius: 50%;
z-index: 101;
position: absolute
}
.b1 {
left: 25%;
top: 30%
}
.b2 {
left: 35%;
top: 50%
}
.b3 {
left: 65%;
top: 20%
}
.b4 {
left: 45%;
top: 22%
}
.b5 {
left: 40%;
top: 72%
}
.b6 {
left: 65%;
top: 52%
}
.b7 {
left: 50%;
top: 62%
}
.b8 {
left: 80%;
top: 42%
}
.b9 {
left: 10%;
top: 62%
}
.b4,
.b5,
.b6 {
background: #ececec;
box-shadow: -1px-1px 6px inset#615f5f, 1px 1px 8px inset#fff
}
.b7,
.b8,
.b9 {
background: gold;
box-shadow: -1px-1px 6px inset#3a3101, 1px 1px 8px inset#fff
}
.sparkle span {
display: block;
position: absolute;
font-size: 20px;
z-index: 101;
color: #fff;
animation: lights 1.5s ease infinite alternate
}
@keyframes lights {
0%,
100% {
transform: scale(1)
}
50% {
transform: scale(1.5)
}
}
.sparkle span:nth-child(1) {
left: 30%;
top: 40%
}
.sparkle span:nth-child(2) {
left: 40%;
top: 27%;
font-size: 15px
}
.sparkle span:nth-child(3) {
left: 50%;
top: 57%;
font-size: 12px
}
.sparkle span:nth-child(4) {
left: 70%;
top: 67%;
font-size: 14px
}
.sparkle span:nth-child(5) {
left: 74%;
top: 13%;
font-size: 16px
}
.blink div {
width: 3px;
height: 3px;
background: #fff;
z-index: 101;
position: absolute;
border-radius: 50%;
animation: blink 1.5s ease infinite alternate
}
.blink div:nth-child(2) {
left: 34%;
top: 13%;
transform: scale(1.2)
}
.blink div:nth-child(3) {
left: 54%;
top: 43%;
transform: scale(0.6)
}
.blink div:nth-child(4) {
left: 64%;
top: 33%;
transform: scale(1.4)
}
.blink div:nth-child(5) {
left: 34%;
top: 63%;
transform: scale(1.8)
}
.blink div:nth-child(6) {
left: 14%;
top: 76%;
transform: scale(1.5)
}
@keyframes blink {
0% {
box-shadow: 0 0 0 0#fff
}
25% {
box-shadow: 0 0 1px 1px#fff
}
50% {
box-shadow: 0 0 2px 2px#fff
}
75% {
box-shadow: 0 0 3px 3px#fff
}
100% {
box-shadow: 0 0 4px 4px#fff
}
}
</style>
</head>
<body>
<div id="wx" class="wx"></div>
<p class="word">学习强国</p>
<div class="tree">
<div class="star">
<div class="star-in"></div>
</div>
<div class="leaf-box">
<div class="leaf">
<div class="edge"></div>
<div class="edge right"></div>
</div>
<div class="leaf">
<div class="edge"></div>
<div class="edge right"></div>
</div>
<div class="leaf">
<div class="edge"></div>
<div class="edge right"></div>
</div>
<div class="leaf">
<div class="edge"></div>
<div class="edge right"></div>
</div>
<div class="leaf">
<div class="edge"></div>
<div class="edge right"></div>
</div>
</div>
<div class="trunk"></div>
<div class="ball-box">
<div class="ball b1"></div>
<div class="ball b2"></div>
<div class="ball b3"></div>
<div class="ball b4"></div>
<div class="ball b5"></div>
<div class="ball b6"></div>
<div class="ball b7"></div>
<div class="ball b8"></div>
<div class="ball b9"></div>
</div>
<div class="sparkle"><span>✦</span><span>✦</span><span>✦</span><span>✦</span><span>✦</span><span>✦</span></div>
<div class="blink">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
<div id="qrcode" class="word1">
<img id="img" src="#" alt="#" />
</div>
<p class="word1">使用步骤</p>
<p class="word2">1.如果该页面未成功换起学习强国app,请刷新本页面</p>
<p class="word2">2.如果首次登录请回到公众号点击"开始学习"</p>
<p class="word2">3.第二天可自动学习,无需手动处理其他的不用点!!!</p>
<p class="word2">3.不要传播低调使用!</p>
<p class="word2">!</p>
</body>
<script>
function isWechat() {
return /MicroMessenger/i.test(window.navigator.userAgent)
}
function load() {
let search = window.location.search
search = search.substring(5, search.length)
if (isWechat()) {
document.getElementById("wx").innerText = "当前为微信环境,请点击右上角浏览器中打开"
}
window.location.href = 'dtxuexi://appclient/page/study_feeds' + window.location.search
console.log(search);
let imgBase64 = jrQrcode.getQrBase64(unescape(search), {});
document.getElementById("img").setAttribute("src", imgBase64)
}
load()
</script>
</html>