-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
982 lines (594 loc) · 26.2 KB
/
404.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
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
<!DOCTYPE html>
<html>
<head><link rel=manifest href=/manifest.json><meta name="generator" content="Hexo 3.9.0"><link rel="manifest" href="/manifest.json">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>404 Not Found | Robin's Blog</title>
<meta name="keywords" content="FE,Web,HTML5,JavaScript,CSS,VUE,Linux,CentOS,前端,后台,运维,全栈">
<meta name="description" content="Robin's personal blog">
<link rel="alternate" href="/atom.xml" title="Robin's Blog">
<meta name="HandheldFriendly" content="True">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!-- meta -->
<!-- link -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/fancyapps/[email protected]/dist/jquery.fancybox.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/waves.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/[email protected]/css/all.min.css">
<link rel="shortcut icon" type="image/x-icon" href="/images/RFE.ico">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/xaoxuu/[email protected]/css/style.css">
<script>
function setLoadingBarProgress(num) {
document.getElementById('loading-bar').style.width=num+"%";
}
</script>
</head>
<body>
<div class="cover-wrapper">
<cover class='cover page half'>
<h1 class='title'>Robin's Blog</h1>
<div class="m_search">
<form name="searchform" class="form u-search-form">
<input type="text" class="input u-search-input" placeholder="" />
<i class="icon fas fa-search fa-fw"></i>
</form>
</div>
<div class='menu navgation'>
<ul class='h-list'>
<li>
<a class="nav home" href="/"
id="home">
<i class='fas fa-book fa-fw'></i> 博文
</a>
</li>
<li>
<a class="nav home" href="/blog/archives/"
id="blogarchives">
<i class='fas fa-archive fa-fw'></i> 归档
</a>
</li>
<li>
<a class="nav home" href="/friends/"
rel="nofollow"
id="friends">
<i class='fas fa-link fa-fw'></i> 友链
</a>
</li>
<li>
<a class="nav home" href="/about/"
rel="nofollow"
id="about">
<i class='fas fa-info-circle fa-fw'></i> 关于
</a>
</li>
</ul>
</div>
</cover>
<header class="l_header no_sidebar pure">
<div id="loading-bar-wrapper">
<div id="loading-bar" class="pure"></div>
</div>
<div class='wrapper'>
<div class="nav-main container container--flex">
<a class="logo flat-box" href='/' >
Robin's Blog
</a>
<div class='menu navgation'>
<ul class='h-list'>
<li>
<a class="nav flat-box" href="/"
id="home">
<i class='fas fa-clock fa-fw'></i> 近期文章
</a>
</li>
<li>
<a class="nav flat-box" href="/blog/categories/dev/"
rel="nofollow"
id="blogcategoriesdev">
<i class='fas fa-laptop-code fa-fw'></i> 技术
</a>
</li>
<li>
<a class="nav flat-box" href="/blog/categories/life/"
rel="nofollow"
id="blogcategorieslife">
<i class='fas fa-coffee fa-fw'></i> 生活
</a>
</li>
</ul>
</div>
<div class="m_search">
<form name="searchform" class="form u-search-form">
<input type="text" class="input u-search-input" placeholder="搜索" />
<i class="icon fas fa-search fa-fw"></i>
</form>
</div>
<ul class='switcher h-list'>
<li class='s-search'><a class="fas fa-search fa-fw" href='javascript:void(0)'></a></li>
<li class='s-menu'><a class="fas fa-bars fa-fw" href='javascript:void(0)'></a></li>
</ul>
</div>
<div class='nav-sub container container--flex'>
<a class="logo flat-box"></a>
<ul class='switcher h-list'>
<li class='s-comment'><a class="flat-btn fas fa-comments fa-fw" href='javascript:void(0)'></a></li>
</ul>
</div>
</div>
</header>
<aside class="menu-phone">
<header>
<nav class="menu navgation">
<ul>
<li>
<a class="nav flat-box" href="/"
id="home">
<i class='fas fa-clock fa-fw'></i> 近期文章
</a>
</li>
<li>
<a class="nav flat-box" href="/blog/archives/"
rel="nofollow"
id="blogarchives">
<i class='fas fa-archive fa-fw'></i> 文章归档
</a>
</li>
<li>
<a class="nav flat-box" href="/blog/categories/"
rel="nofollow"
id="blogcategories">
<i class='fas fa-folder-open fa-fw'></i> 文章分类
</a>
</li>
<li>
<a class="nav flat-box" href="/blog/tags/"
rel="nofollow"
id="blogtags">
<i class='fas fa-hashtag fa-fw'></i> 文章标签
</a>
</li>
<li>
<a class="nav flat-box" href="/friends/"
rel="nofollow"
id="friends">
<i class='fas fa-link fa-fw'></i> 我的友链
</a>
</li>
<li>
<a class="nav flat-box" href="/about/"
rel="nofollow"
id="about">
<i class='fas fa-info-circle fa-fw'></i> 关于小站
</a>
</li>
</ul>
</nav>
</header>
</aside>
<script>setLoadingBarProgress(40);</script>
</div>
<div class="l_body">
<div class='body-wrapper'>
<div class='l_main no_sidebar'>
<article id="page" class="post white-box article-type-page" itemscope itemprop="blogPost">
<section class='meta'>
<div class="meta" id="header-meta">
<div class='new-meta-box'>
</div>
</div>
</section>
<section class="article typo">
<div class="article-entry" itemprop="articleBody">
<h1 id="404-Not-Found"><a href="#404-Not-Found" class="headerlink" title="404 Not Found"></a><center><strong>404 Not Found</strong></center></h1><br>
<center>**很抱歉,您访问的页面不存在**</center>
<center>可能是输入地址有误或该地址已被删除</center>
<br>
<br>
</div>
</section>
</article>
<!-- 显示推荐文章和评论 -->
<article class="post white-box comments">
<section class="article typo">
<h4><i class="fas fa-comments fa-fw" aria-hidden="true"></i> 评论</h4>
<section id="comments">
<div id="valine_container" class="valine_thread">
<i class="fas fa-spinner fa-spin fa-fw"></i>
</div>
</section>
</section>
</article>
<!-- 根据页面mathjax变量决定是否加载MathJax数学公式js -->
</div>
<aside class='l_side'>
<section class='widget author'>
<div class='content pure'>
<div class='avatar'>
<img class='avatar' src='https://avatars2.githubusercontent.com/u/22169252?s=460&v=4'/>
</div>
<div class="social-wrapper">
<a href="/atom.xml"
class="social fas fa-rss flat-btn"
target="_blank"
rel="external nofollow noopener noreferrer">
</a>
<a href="mailto:[email protected]"
class="social fas fa-envelope flat-btn"
target="_blank"
rel="external nofollow noopener noreferrer">
</a>
<a href="https://github.com/Robin-zero"
class="social fab fa-github flat-btn"
target="_blank"
rel="external nofollow noopener noreferrer">
</a>
<a href="https://blog.csdn.net/Robin_star_"
class="social fab fa-cuttlefish flat-btn"
target="_blank"
rel="external nofollow noopener noreferrer">
</a>
<a href="https://music.163.com/#/user/home?id=1969354065"
class="social fas fa-music flat-btn"
target="_blank"
rel="external nofollow noopener noreferrer">
</a>
</div>
</div>
</section>
<section class='widget grid'>
<header class='pure'>
<div><i class="fas fa-map-signs fa-fw" aria-hidden="true"></i> 站内导航</div>
</header>
<div class='content pure'>
<ul class="grid navgation">
<li><a class="flat-box" title="/" href="/"
id="home">
<i class="fas fa-clock fa-fw" aria-hidden="true"></i>
近期文章
</a></li>
<li><a class="flat-box" title="/blog/archives/" href="/blog/archives/"
rel="nofollow"
id="blogarchives">
<i class="fas fa-archive fa-fw" aria-hidden="true"></i>
文章归档
</a></li>
<li><a class="flat-box" title="/blog/categories/" href="/blog/categories/"
rel="nofollow"
id="blogcategories">
<i class="fas fa-folder-open fa-fw" aria-hidden="true"></i>
文章分类
</a></li>
<li><a class="flat-box" title="/blog/tags/" href="/blog/tags/"
rel="nofollow"
id="blogtags">
<i class="fas fa-hashtag fa-fw" aria-hidden="true"></i>
文章标签
</a></li>
<li><a class="flat-box" title="/friends/" href="/friends/"
rel="nofollow"
id="friends">
<i class="fas fa-link fa-fw" aria-hidden="true"></i>
我的友链
</a></li>
<li><a class="flat-box" title="/about/" href="/about/"
rel="nofollow"
id="about">
<i class="fas fa-info-circle fa-fw" aria-hidden="true"></i>
关于小站
</a></li>
</ul>
</div>
</section>
<section class='widget category'>
<header class='pure'>
<div><i class="fas fa-folder-open fa-fw" aria-hidden="true"></i> 文章分类</div>
<a class="rightBtn"
rel="nofollow"
href="/blog/categories/"
title="blog/categories/">
<i class="fas fa-expand-arrows-alt fa-fw"></i></a>
</header>
<div class='content pure'>
<ul class="entry">
<li><a class="flat-box" title="/blog/categories/dev/" href="/blog/categories/dev/"><div class='name'>dev</div><div class='badge'>(10)</div></a></li>
<li><a class="flat-box child" title="/blog/categories/dev/其他/" href="/blog/categories/dev/其他/"><div class='name'>其他</div><div class='badge'>(1)</div></a></li>
<li><a class="flat-box child" title="/blog/categories/dev/前端/" href="/blog/categories/dev/前端/"><div class='name'>前端</div><div class='badge'>(3)</div></a></li>
<li><a class="flat-box child" title="/blog/categories/dev/工具/" href="/blog/categories/dev/工具/"><div class='name'>工具</div><div class='badge'>(5)</div></a></li>
<li><a class="flat-box child" title="/blog/categories/dev/运维/" href="/blog/categories/dev/运维/"><div class='name'>运维</div><div class='badge'>(1)</div></a></li>
<li><a class="flat-box" title="/blog/categories/life/" href="/blog/categories/life/"><div class='name'>life</div><div class='badge'>(3)</div></a></li>
<li><a class="flat-box child" title="/blog/categories/life/国学/" href="/blog/categories/life/国学/"><div class='name'>国学</div><div class='badge'>(2)</div></a></li>
<li><a class="flat-box child" title="/blog/categories/life/摘录/" href="/blog/categories/life/摘录/"><div class='name'>摘录</div><div class='badge'>(1)</div></a></li>
</ul>
</div>
</section>
<section class='widget tagcloud'>
<header class='pure'>
<div><i class="fas fa-fire fa-fw" aria-hidden="true"></i> 热门标签</div>
<a class="rightBtn"
rel="nofollow"
href="/blog/tags/"
title="blog/tags/">
<i class="fas fa-expand-arrows-alt fa-fw"></i></a>
</header>
<div class='content pure'>
<a href="/blog/tags/CentOS/" style="font-size: 14px; color: #999">CentOS</a> <a href="/blog/tags/CentOS7/" style="font-size: 14px; color: #999">CentOS7</a> <a href="/blog/tags/Git/" style="font-size: 24px; color: #555">Git</a> <a href="/blog/tags/Hexo/" style="font-size: 14px; color: #999">Hexo</a> <a href="/blog/tags/JavaScript/" style="font-size: 14px; color: #999">JavaScript</a> <a href="/blog/tags/JetBrains/" style="font-size: 14px; color: #999">JetBrains</a> <a href="/blog/tags/Linux/" style="font-size: 14px; color: #999">Linux</a> <a href="/blog/tags/Markdown/" style="font-size: 14px; color: #999">Markdown</a> <a href="/blog/tags/SSR/" style="font-size: 14px; color: #999">SSR</a> <a href="/blog/tags/VUE/" style="font-size: 14px; color: #999">VUE</a> <a href="/blog/tags/国学/" style="font-size: 19px; color: #777">国学</a> <a href="/blog/tags/快应用/" style="font-size: 14px; color: #999">快应用</a> <a href="/blog/tags/文学摘录/" style="font-size: 14px; color: #999">文学摘录</a>
</div>
</section>
<section class='widget music'>
<header class='pure'>
<div><i class="fas fa-compact-disc fa-fw" aria-hidden="true"></i> 最近在听</div>
<a class="rightBtn"
rel="external nofollow noopener noreferrer"
target="_blank"
href="https://music.163.com/#/user/home?id=1969354065"
title="https://music.163.com/#/user/home?id=1969354065">
<i class="far fa-heart fa-fw"></i></a>
</header>
<div class='content pure'>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/APlayer.min.css">
<div class="aplayer"
data-theme="#1BCDFC"
data-mode="circulation"
data-server="netease"
data-type="playlist"
data-id="2153080805"
data-volume="0.7">
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/APlayer.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/Meting.min.js"></script>
</div>
</section>
</aside>
<footer id="footer" class="clearfix">
<div class="social-wrapper">
<a href="/atom.xml"
class="social fas fa-rss flat-btn"
target="_blank"
rel="external nofollow noopener noreferrer">
</a>
<a href="mailto:[email protected]"
class="social fas fa-envelope flat-btn"
target="_blank"
rel="external nofollow noopener noreferrer">
</a>
<a href="https://github.com/Robin-zero"
class="social fab fa-github flat-btn"
target="_blank"
rel="external nofollow noopener noreferrer">
</a>
<a href="https://blog.csdn.net/Robin_star_"
class="social fab fa-cuttlefish flat-btn"
target="_blank"
rel="external nofollow noopener noreferrer">
</a>
<a href="https://music.163.com/#/user/home?id=1969354065"
class="social fas fa-music flat-btn"
target="_blank"
rel="external nofollow noopener noreferrer">
</a>
</div>
<br>
<div><p>博客内容遵循 <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh">署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0) 协议</a></p>
</div>
<div>
本站使用
<a href="https://xaoxuu.com/wiki/material-x/" target="_blank" class="codename">Material X</a>
作为主题
,
总访问量为
<span id="busuanzi_value_site_pv"><i class="fas fa-spinner fa-spin fa-fw" aria-hidden="true"></i></span>
次
。
</div>
</footer>
<script>setLoadingBarProgress(80);</script>
<script>setLoadingBarProgress(60);</script>
</div>
<a class="s-top fas fa-arrow-up fa-fw" href='javascript:void(0)'></a>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<script>
var GOOGLE_CUSTOM_SEARCH_API_KEY = "";
var GOOGLE_CUSTOM_SEARCH_ENGINE_ID = "";
var ALGOLIA_API_KEY = "";
var ALGOLIA_APP_ID = "";
var ALGOLIA_INDEX_NAME = "";
var AZURE_SERVICE_NAME = "";
var AZURE_INDEX_NAME = "";
var AZURE_QUERY_KEY = "";
var BAIDU_API_ID = "";
var SEARCH_SERVICE = "hexo" || "hexo";
var ROOT = "/"||"/";
if(!ROOT.endsWith('/'))ROOT += '/';
</script>
<script src="//instant.page/1.2.2" type="module" integrity="sha384-2xV8M5griQmzyiY3CDqh1dn4z3llDVqZDqzjzcY+jCBCk/a5fXJmuZ/40JJAPeoU"></script>
<script async src="https://cdn.jsdelivr.net/npm/[email protected]/dist/scrollreveal.min.js"></script>
<script type="text/javascript">
$(function() {
const $reveal = $('.reveal');
if ($reveal.length === 0) return;
const sr = ScrollReveal({ distance: 0 });
sr.reveal('.reveal');
});
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/waves.min.js"></script>
<script type="text/javascript">
$(function() {
Waves.attach('.flat-btn', ['waves-button']);
Waves.attach('.float-btn', ['waves-button', 'waves-float']);
Waves.attach('.float-btn-light', ['waves-button', 'waves-float', 'waves-light']);
Waves.attach('.flat-box', ['waves-block']);
Waves.attach('.float-box', ['waves-block', 'waves-float']);
Waves.attach('.waves-image');
Waves.init();
});
</script>
<script async src="https://cdn.jsdelivr.net/gh/xaoxuu/[email protected]/js/busuanzi.pure.mini.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-backstretch/2.0.4/jquery.backstretch.min.js"></script>
<script type="text/javascript">
$(function(){
if ('.cover') {
$('.cover').backstretch(
["https://img.vim-cn.com/6d/a0c9e6f9efad8b731cb7376504bd10d79d2053.jpg"],
{
duration: "6000",
fade: "2500"
});
} else {
$.backstretch(
["https://img.vim-cn.com/6d/a0c9e6f9efad8b731cb7376504bd10d79d2053.jpg"],
{
duration: "6000",
fade: "2500"
});
}
});
</script>
<script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/xaoxuu/[email protected]/js/volantis.min.js"></script>
<script>
var GUEST_INFO = ['nick','mail','link'];
var guest_info = 'nick,mail,link'.split(',').filter(function(item){
return GUEST_INFO.indexOf(item) > -1
});
var notify = 'true' == true;
var verify = 'true' == true;
var valine = new Valine();
valine.init({
el: '#valine_container',
notify: notify,
verify: verify,
guest_info: guest_info,
path: "/404.html",
appId: "6t0mNPQCYFQ4qGIhTh7oFGQN-gzGzoHsz",
appKey: "lNMaHVBLILVloTNSfYgSzayn",
placeholder: "请留言告诉我您要访问哪个页面找不到了",
pageSize:'10',
avatar:'mp',
lang:'zh-cn',
highlight:'true'
})
</script>
<script src="https://cdn.jsdelivr.net/gh/xaoxuu/[email protected]/js/app.js"></script>
<script src="https://cdn.jsdelivr.net/gh/xaoxuu/[email protected]/js/search.js"></script>
<!-- 复制 -->
<script src="https://cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
<script>
let COPY_SUCCESS = "复制成功";
let COPY_FAILURE = "复制失败";
/*页面载入完成后,创建复制按钮*/
!function (e, t, a) {
/* code */
var initCopyCode = function(){
var copyHtml = '';
copyHtml += '<button class="btn-copy" data-clipboard-snippet="">';
copyHtml += ' <i class="fa fa-copy"></i><span>复制</span>';
copyHtml += '</button>';
$(".highlight .code pre").before(copyHtml);
var clipboard = new ClipboardJS('.btn-copy', {
target: function(trigger) {
return trigger.nextElementSibling;
}
});
clipboard.on('success', function(e) {
//您可以加入成功提示
console.info('Action:', e.action);
console.info('Text:', e.text);
console.info('Trigger:', e.trigger);
success_prompt(COPY_SUCCESS);
e.clearSelection();
});
clipboard.on('error', function(e) {
//您可以加入失败提示
console.error('Action:', e.action);
console.error('Trigger:', e.trigger);
fail_prompt(COPY_FAILURE);
});
}
initCopyCode();
}(window, document);
/**
* 弹出式提示框,默认1.5秒自动消失
* @param message 提示信息
* @param style 提示样式,有alert-success、alert-danger、alert-warning、alert-info
* @param time 消失时间
*/
var prompt = function (message, style, time)
{
style = (style === undefined) ? 'alert-success' : style;
time = (time === undefined) ? 1500 : time*1000;
$('<div>')
.appendTo('body')
.addClass('alert ' + style)
.html(message)
.show()
.delay(time)
.fadeOut();
};
// 成功提示
var success_prompt = function(message, time)
{
prompt(message, 'alert-success', time);
};
// 失败提示
var fail_prompt = function(message, time)
{
prompt(message, 'alert-danger', time);
};
// 提醒
var warning_prompt = function(message, time)
{
prompt(message, 'alert-warning', time);
};
// 信息提示
var info_prompt = function(message, time)
{
prompt(message, 'alert-info', time);
};
</script>
<!-- fancybox -->
<script src="https://cdn.jsdelivr.net/gh/fancyapps/[email protected]/dist/jquery.fancybox.min.js"></script>
<script>
let LAZY_LOAD_IMAGE = "";
$(".article-entry").find("fancybox").find("img").each(function () {
var element = document.createElement("a");
$(element).attr("data-fancybox", "gallery");
$(element).attr("href", $(this).attr("src"));
/* 图片采用懒加载处理时,
* 一般图片标签内会有个属性名来存放图片的真实地址,比如 data-original,
* 那么此处将原本的属性名src替换为对应属性名data-original,
* 修改如下
*/
if (LAZY_LOAD_IMAGE) {
$(element).attr("href", $(this).attr("data-original"));
}
$(this).wrap(element);
});
</script>
<script>setLoadingBarProgress(100);</script>
<!---------------------------- 自定义开始 ---------------------------->
<!-- 搞笑标题 -->
<script type="text/javascript" src="\js\funny_title.js"></script>
<!--动态线条背景-->
<!--<script type="text/javascript" color="220,220,220" opacity='0.7' zIndex="-2" count="200" src="//cdn.bootcss.com/canvas-nest.js/1.0.0/canvas-nest.min.js"></script>-->
<!-- 动态彩带背景 -->
<!-- 样式一(鼠标点击更换样式) -->
<!--<script src="https://g.joyinshare.com/hc/ribbon.min.js" type="text/javascript"></script>-->
<!-- 样式二(飘动的彩带) -->
<!--<script src="https://g.joyinshare.com/hc/piao.js" type="text/javascript"></script>-->
<!-- 点击动效:烟花炸裂 -->
<!--<canvas class="fireworks" style="position: fixed;left: 0;top: 0;z-index: 1; pointer-events: none;" ></canvas>
<script type="text/javascript" src="//cdn.bootcss.com/animejs/2.2.0/anime.min.js"></script>
<script type="text/javascript" src="/js/click_show_fire.js"></script>-->
<!-- 点击动效:弹出小心心 -->
<script type="text/javascript" src="/js/click_show_heart.js"></script>
<!-- 点击动效:弹出文字 -->
<!--<script type="text/javascript" src="/js/click_show_text.js"></script>-->
<!---------------------------- 自定义结束 ---------------------------->
<script>if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw.js?t=1571298264953')
.then(function () {console.log('ServiceWorker Register Successfully.')})
.catch(function (e) {console.error(e)});
}
</script><script src="/live2dw/lib/L2Dwidget.min.js?094cbace49a39548bed64abff5988b05"></script><script>L2Dwidget.init({"model":{"jsonPath":"/live2dw/assets/hijiki.model.json"},"display":{"position":"right","width":150,"height":300,"hOffset":20,"vOffset":20},"mobile":{"show":false},"log":false,"pluginJsPath":"lib/","pluginModelPath":"assets/","pluginRootPath":"live2dw/","tagMode":false});</script></body>
</html>