-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
702 lines (669 loc) · 69.5 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
<!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0" name="viewport"><script async src="https://www.googletagmanager.com/gtag/js?id=G-4RBSV11VTH"></script><script>function gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],gtag("js",new Date),gtag("config","G-4RBSV11VTH")</script><title>页面未找到 | 叶泯希·杂七杂八的🐕窝</title><link rel="icon" type="image/x-icon, image/vnd.microsoft.icon" href="/favicon.ico"><link rel="stylesheet" href="https://at.alicdn.com/t/font_1911880_c1nvbyezg17.css"><link href="https://unpkg.com/@fortawesome/fontawesome-free/css/all.min.css" rel="stylesheet"><link href="/js/swiper/[email protected]" rel="stylesheet"><link rel="stylesheet" href="/css/animate.min.css"><link rel="stylesheet" href="/css/style.css"><link href="https://unpkg.com/@fancyapps/[email protected]/dist/fancybox/fancybox.css" rel="stylesheet"><link rel="stylesheet" href="/js/shareJs/share.min.css"><style>@media (max-width:992px){#waifu{display:none}}</style><script defer src="//cdn.bootcss.com/pace/1.0.2/pace.min.js"></script><link href="//cdn.bootcss.com/pace/1.0.2/themes/pink/pace-theme-flash.css" rel="stylesheet"><script src="https://unpkg.com/[email protected]/dist/jquery.min.js"></script><script src="https://unpkg.com/[email protected]/dist/vue.min.js"></script><meta name="keywords" content="叶泯希,yeminxi,博客,blog,Hexo,叶泯希博客,yeminxiblog,叶泯,yemin,叶泯博客,yeminblog,泯希,minxi,泯希博客,minxiblog"><meta name="description" content="叶泯希的个人博客,yeminxiblog,feedId:70413010788728832+userId:77748655747846144"><meta name="google-site-verification" content="3ZuWaT9VtyIMszQjBZEm6YNAKoYMcZJJMhBfze3Z4qs"><meta name="baidu-site-verification" content="codeva-mWL2UQNIMt"><link href="/css/custom.css" rel="stylesheet"><link href="/css/music.min.css" rel="stylesheet"><script defer data-pjax src="/js/jz.min.js"></script><script src="/js/snow.min.js"></script><script src="/js/random.js"></script><script defer src="https://um.ymxapi.us.kg/script.js" data-website-id="94bf7542-99b2-4de5-8e97-ac02cb9e3930"></script><script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script><script>LA.init({id:"3KG3Xy9FoNMxUetz",ck:"3KG3Xy9FoNMxUetz"})</script><meta name="generator" content="Hexo 7.3.0"><link rel="alternate" href="/atom.xml" title="叶泯希·杂七杂八的🐕窝" type="application/atom+xml"></head><div class="preloader_8" id="loader"><div class="container"><div class="item item-1"></div><div class="item item-2"></div><div class="item item-3"></div><div class="item item-4"></div></div></div><script>var endLoading=function(){document.body.style.overflow="auto",document.getElementById("loader").classList.add("loaded")};window.addEventListener("DOMContentLoaded",endLoading)</script><body><script defer>let isDark = JSON.parse(localStorage.getItem('dark')) || JSON.parse('false');
if (isDark) {
$(document.body).addClass('darkModel');
}</script><script>function loadScript(src, cb) {
return new Promise(resolve => {
setTimeout(function () {
var HEAD = document.getElementsByTagName("head")[0] || document.documentElement;
var script = document.createElement("script");
script.setAttribute("type", "text/javascript");
if (cb) {
if (JSON.stringify(cb)) {
for (let p in cb) {
if (p == "onload") {
script[p] = () => {
cb[p]()
resolve()
}
} else {
script[p] = cb[p]
script.onload = resolve
}
}
} else {
script.onload = () => {
cb()
resolve()
};
}
} else {
script.onload = resolve
}
script.setAttribute("src", src);
HEAD.appendChild(script);
});
});
}
//https://github.com/filamentgroup/loadCSS
var loadCSS = function (src) {
return new Promise(resolve => {
setTimeout(function () {
var link = document.createElement('link');
link.rel = "stylesheet";
link.href = src;
link.onload = resolve;
document.getElementsByTagName("head")[0].appendChild(link);
});
});
};</script><script src="/js/swiper/swiper.min.js"></script><script src="/js/swiper/vue-awesome-swiper.js"></script><script src="/js/swiper/swiper.animate1.0.3.min.js"></script><script>Vue.use(window.VueAwesomeSwiper)</script><script src="/js/vue-typed-js/index.js"></script><script src="/js/vue-seamless-scroll/index.js"></script><script src="https://unpkg.com/[email protected]"></script><div id="safearea"><main class="main" id="pjax-container"><header class="header no-img-top" id="navHeader" style="position:fixed;left:0;top:0;z-index:10;width:100%"><div class="header-content"><div class="bars"><div id="appDrawer" class="sidebar-image"><div class="drawer-box-icon"><i class="fas fa-bars" aria-hidden="true" @click="showDialogDrawer"></i></div><transition name="fade"><div class="drawer-box_mask" v-cloak style="display:none" v-show="visible" @click.self="cancelDialogDrawer"></div></transition><div class="drawer-box" :class="{'active': visible}"><div class="drawer-box-head bg-color"><img class="drawer-box-head_logo lazyload placeholder" src="/images/avatar.webp" class="lazyload placeholder" data-srcset="/images/avatar.webp" srcset="https://pic1.zhimg.com/v2-cd38920285d125be80b3eb504052c550_b.webp" alt="logo"><h3 class="drawer-box-head_title">叶泯希·杂七杂八的🐕窝</h3><h5 class="drawer-box-head_desc">叶泯希的个人博客,yeminxiblog</h5></div><div class="drawer-box-content"><ul class="drawer-box-content_menu"><li class="drawer-box-content_item" style="position:relative"><a target="_blank" rel="noopener" href="https://ymx.us.kg/" class="drawer-menu-item-link"><i class="fas fa-book" aria-hidden="true"></i> <span class="name">首页</span></a></li><li class="drawer-box-content_item" style="position:relative"><a href="/" class="drawer-menu-item-link"><i class="fas fa-home" aria-hidden="true"></i> <span class="name">首页</span></a></li><li class="drawer-box-content_item" style="position:relative"><a target="_blank" rel="noopener" href="https://www.travellings.cn/go.html" class="drawer-menu-item-link"><i class="fas fa-subway" aria-hidden="true"></i> <span class="name">开往</span></a></li><li class="drawer-box-content_item" style="position:relative"><a target="_blank" rel="noopener" href="https://storeweb.cn/s/2238" class="drawer-menu-item-link"><i class="iconfont icon-method-draw-image" aria-hidden="true"></i> <span class="name">虫洞</span></a></li><li class="drawer-box-content_item" style="position:relative"><a href="javascript:toRandomPost()" class="drawer-menu-item-link"><i class="iconfont icon-suijishushengcheng" aria-hidden="true"></i> <span class="name">随机</span></a></li><li class="drawer-box-content_item" style="position:relative"><a href="/links" class="drawer-menu-item-link"><i class="iconfont icon-pengyouquan" aria-hidden="true"></i> <span class="name">友链</span></a></li><li class="drawer-box-content_item" style="position:relative"><a href="/comments" class="drawer-menu-item-link"><i class="iconfont icon-liuyanban" aria-hidden="true"></i> <span class="name">留言</span></a></li><li class="drawer-box-content_item" style="position:relative"><a href="javascript:;" class="drawer-menu-item-link has-children" @click="openOrCloseMenu(7)"><span><i class="iconfont iconfont icon-shijianxian"></i> <span class="name">文章</span></span><i class="fas fa-chevron-left arrow" :class="{'icon-rotate': isOpen(7)}" aria-hidden="true"></i></a><ul class="drawer-sub-menu" v-if="isOpen(7)"><li><a href="/archives"><i class="fas fa-archive" style="margin-top:-20px"></i> <span>归档</span></a></li><li><a href="/tags"><i class="fas fa-tags" style="margin-top:-20px"></i> <span>标签</span></a></li><li><a href="/categories"><i class="fas fa-bookmark" style="margin-top:-20px"></i> <span>分类</span></a></li></ul></li><li class="drawer-box-content_item" style="position:relative"><a href="javascript:;" class="drawer-menu-item-link has-children" @click="openOrCloseMenu(8)"><span><i class="iconfont icon-yule"></i> <span class="name">我的</span></span><i class="fas fa-chevron-left arrow" :class="{'icon-rotate': isOpen(8)}" aria-hidden="true"></i></a><ul class="drawer-sub-menu" v-if="isOpen(8)"><li><a href="/bangumis"><i class="iconfont icon-fanju1" style="margin-top:-20px"></i> <span>追番</span></a></li><li><a href="/cinemas"><i class="iconfont icon-dianying" style="margin-top:-20px"></i> <span>追剧</span></a></li><li><a href="/music"><i class="iconfont icon-a-discbox" style="margin-top:-20px"></i> <span>音乐</span></a></li><li><a href="/gallery"><i class="iconfont icon-tuku" style="margin-top:-20px"></i> <span>图库</span></a></li></ul></li><li class="drawer-box-content_item" style="position:relative"><a href="javascript:;" class="drawer-menu-item-link has-children" @click="openOrCloseMenu(9)"><span><i class="iconfont icon-gengduo"></i> <span class="name">更多</span></span><i class="fas fa-chevron-left arrow" :class="{'icon-rotate': isOpen(9)}" aria-hidden="true"></i></a><ul class="drawer-sub-menu" v-if="isOpen(9)"><li><a href="/about"><i class="iconfont icon-guanyuwo" style="margin-top:-20px"></i> <span>关于我</span></a></li><li><a href="/wang"><i class="iconfont icon-dog" style="margin-top:-20px"></i> <span>汪汪汪~</span></a></li><li><a target="_blank" rel="noopener" href="https://pic.ymxapi.us.kg/"><i class="iconfont icon-tuku" style="margin-top:-20px"></i> <span>我的图床</span></a></li></ul></li><li class="drawer-box-content_item" style="position:relative"><a href="javascript:;" class="drawer-menu-item-link has-children" @click="openOrCloseMenu(10)"><span><i class="fas fa-link"></i> <span class="name">镜像</span></span><i class="fas fa-chevron-left arrow" :class="{'icon-rotate': isOpen(10)}" aria-hidden="true"></i></a><ul class="drawer-sub-menu" v-if="isOpen(10)"><li><a href="https://yeminxi.github.io/"><i class="iconfont icon-github" style="margin-top:-20px"></i> <span>GitHub 主站</span></a></li><li><a target="_blank" rel="noopener" href="https://ymxblog.us.kg/"><i class="fas fa-registered" style="margin-top:-20px"></i> <span>Vercel 主站二</span></a></li><li><a target="_blank" rel="noopener" href="https://cf.ymxblog.us.kg/"><i class="iconfont icon-cloudflare" style="margin-top:-20px"></i> <span>Cloud 镜像站</span></a></li></ul></li></ul></div></div></div><script>var body = document.body || document.documentElement || window;
var vm = new Vue({
el: '#appDrawer',
data: {
visible: false,
top: 0,
openArr: [],
},
computed: {
},
mounted() {
},
methods: {
isOpen(index) {
if (this.openArr.includes(index)) {
return true;
} else {
return false;
}
},
openOrCloseMenu(curIndex) {
const index = this.openArr.indexOf(curIndex);
if (index !== -1) {
this.openArr.splice(index, 1);
} else {
this.openArr.push(curIndex);
}
},
showDialogDrawer() {
this.visible = true;
// 防止页面滚动,只能让弹框滚动
this.top = $(document).scrollTop()
body.style.cssText = 'width: 100%; height: 100%;overflow: hidden;';
},
cancelDialogDrawer() {
this.visible = false;
body.removeAttribute('style');
$(document).scrollTop(this.top)
}
},
created() {}
})</script></div><div class="blog-title" id="author-avatar"><div class="avatar"><img src="/images/avatar.webp" class="lazyload placeholder" data-srcset="/images/avatar.webp" srcset="https://pic1.zhimg.com/v2-cd38920285d125be80b3eb504052c550_b.webp" alt="logo"></div><a href="/" class="logo">叶泯希·杂七杂八的🐕窝</a></div><nav class="navbar"><ul class="menu"><li class="menu-item" style="position:relative"><a target="_blank" rel="noopener" href="https://ymx.us.kg/" class="menu-item-link" title="首页"><i class="fas fa-book" aria-hidden="true"></i> <span class="name">首页</span></a></li><li class="menu-item" style="position:relative"><a href="/" class="menu-item-link" title="首页"><i class="fas fa-home" aria-hidden="true"></i> <span class="name">首页</span></a></li><li class="menu-item" style="position:relative"><a target="_blank" rel="noopener" href="https://www.travellings.cn/go.html" class="menu-item-link" title="开往"><i class="fas fa-subway" aria-hidden="true"></i> <span class="name">开往</span></a></li><li class="menu-item" style="position:relative"><a target="_blank" rel="noopener" href="https://storeweb.cn/s/2238" class="menu-item-link" title="虫洞"><i class="iconfont icon-method-draw-image" aria-hidden="true"></i> <span class="name">虫洞</span></a></li><li class="menu-item" style="position:relative"><a href="javascript:toRandomPost()" class="menu-item-link" title="随机"><i class="iconfont icon-suijishushengcheng" aria-hidden="true"></i> <span class="name">随机</span></a></li><li class="menu-item" style="position:relative"><a href="/links" class="menu-item-link" title="友链"><i class="iconfont icon-pengyouquan" aria-hidden="true"></i> <span class="name">友链</span></a></li><li class="menu-item" style="position:relative"><a href="/comments" class="menu-item-link" title="留言"><i class="iconfont icon-liuyanban" aria-hidden="true"></i> <span class="name">留言</span></a></li><li class="menu-item" style="position:relative"><a href="javascript:;" class="menu-item-link" title="文章"><i class="iconfont iconfont icon-shijianxian"></i> <span class="name">文章</span><i class="fas fa-chevron-down arrow" aria-hidden="true"></i></a><ul class="sub-menu"><li><a href="/archives"><i class="fas fa-archive" style="margin-top:-20px"></i> <span>归档</span></a></li><li><a href="/tags"><i class="fas fa-tags" style="margin-top:-20px"></i> <span>标签</span></a></li><li><a href="/categories"><i class="fas fa-bookmark" style="margin-top:-20px"></i> <span>分类</span></a></li></ul></li><li class="menu-item" style="position:relative"><a href="javascript:;" class="menu-item-link" title="我的"><i class="iconfont icon-yule"></i> <span class="name">我的</span><i class="fas fa-chevron-down arrow" aria-hidden="true"></i></a><ul class="sub-menu"><li><a href="/bangumis"><i class="iconfont icon-fanju1" style="margin-top:-20px"></i> <span>追番</span></a></li><li><a href="/cinemas"><i class="iconfont icon-dianying" style="margin-top:-20px"></i> <span>追剧</span></a></li><li><a href="/music"><i class="iconfont icon-a-discbox" style="margin-top:-20px"></i> <span>音乐</span></a></li><li><a href="/gallery"><i class="iconfont icon-tuku" style="margin-top:-20px"></i> <span>图库</span></a></li></ul></li><li class="menu-item" style="position:relative"><a href="javascript:;" class="menu-item-link" title="更多"><i class="iconfont icon-gengduo"></i> <span class="name">更多</span><i class="fas fa-chevron-down arrow" aria-hidden="true"></i></a><ul class="sub-menu"><li><a href="/about"><i class="iconfont icon-guanyuwo" style="margin-top:-20px"></i> <span>关于我</span></a></li><li><a href="/wang"><i class="iconfont icon-dog" style="margin-top:-20px"></i> <span>汪汪汪~</span></a></li><li><a target="_blank" rel="noopener" href="https://pic.ymxapi.us.kg/"><i class="iconfont icon-tuku" style="margin-top:-20px"></i> <span>我的图床</span></a></li></ul></li><li class="menu-item" style="position:relative"><a href="javascript:;" class="menu-item-link" title="镜像"><i class="fas fa-link"></i> <span class="name">镜像</span><i class="fas fa-chevron-down arrow" aria-hidden="true"></i></a><ul class="sub-menu"><li><a href="https://yeminxi.github.io/"><i class="iconfont icon-github" style="margin-top:-20px"></i> <span>GitHub 主站</span></a></li><li><a target="_blank" rel="noopener" href="https://ymxblog.us.kg/"><i class="fas fa-registered" style="margin-top:-20px"></i> <span>Vercel 主站二</span></a></li><li><a target="_blank" rel="noopener" href="https://cf.ymxblog.us.kg/"><i class="iconfont icon-cloudflare" style="margin-top:-20px"></i> <span>Cloud 镜像站</span></a></li></ul></li></ul><div id="appSearch"><div class="search" @click="showDialog()"><i class="fas fa-search" aria-hidden="true"></i></div><transition name="fade"><div class="message-box_wrapper" style="display:none" v-cloak v-show="dialogVisible" @click.self="cancelDialogVisible()"><div class="message-box animated bounceInDown"><h2><span><i class="fas fa-search" aria-hidden="true"></i> <span class="title">本地搜索</span></span><i class="fas fa-times close" pointer style="float:right" aria-hidden="true" @click.self="cancelDialogVisible()"></i></h2><form class="site-search-form"><input type="text" placeholder="请输入关键字" id="local-search-input" @click="getSearchFile()" class="st-search-input" v-model="searchInput"></form><div class="result-wrapper"><div id="local-search-result" class="local-search-result-cls"></div></div></div></div></transition></div><script src="/js/local_search.js"></script><script>var body = document.body || document.documentElement || window;
var vm = new Vue({
el: '#appSearch',
data: {
dialogVisible: false,
searchInput: '',
top: 0,
},
computed: {
},
mounted() {
window.addEventListener('pjax:complete', () => {
this.cancelDialogVisible();
})
},
methods: {
showDialog() {
this.dialogVisible = true;
// 防止页面滚动,只能让弹框滚动
this.top = $(document).scrollTop()
body.style.cssText = 'overflow: hidden;';
},
getSearchFile() {
if (!this.searchInput) {
getSearchFile("/search.xml");
}
},
cancelDialogVisible() {
this.dialogVisible = false;
body.removeAttribute('style');
$(document).scrollTop(this.top)
},
},
created() {}
})</script></nav></div></header><div class="bg-dark-floor" style="position:fixed;left:0;top:0;width:100%;height:100%;z-index:-1"></div><div class="post-detail-content post-row" style="padding-top:60px"><div class="main-content"><article class="post post-detail"><div class="post-content"><iframe src="//cdn.dnpw.org/404/v1/demo.html" frameborder="0" scrolling="no" width="100%" height="800"></iframe><p class="p center large">可能是输入地址有误或该地址已被删除</p><span class="btn center large"><a class="button" href="/" title="返回首页"><i class="fa fa-home"></i> 返回首页</a></span></div><div class="post-tags-categories"></div></article><div class="post-nav"></div></div><aside id="l_side"><section class="widget side_blogger"><div class="content"><a class="avatar flat-box rectangle" href="/about/"><img src="/images/avatar.webp"></a><div class="text"><h2>叶泯希</h2><p>意义是自己赐予的</p><p><span id="jinrishici-sentence">叶泯希·杂七杂八的🐕窝</span></p><script src="https://sdk.jinrishici.com/v2/browser/jinrishici.js" charset="utf-8"></script></div><div class="social-wrapper"><a href="https://space.bilibili.com/489178597" class="social iconfont icon-bilibili-1 flat-btn" target="_blank" rel="external nofollow noopener noreferrer"></a><a href="mailto:[email protected]" class="social iconfont icon-a-Deliverydisongfasongzhifeiji flat-btn" target="_blank" rel="external nofollow noopener noreferrer"></a><a href="https://github.com/yeminxi" class="social iconfont icon-github1 flat-btn" target="_blank" rel="external nofollow noopener noreferrer"></a><a href="/atom.xml" class="social iconfont icon-RSS flat-btn" target="_blank" rel="external nofollow noopener noreferrer"></a></div></div></section><div class="layout_sticky"><section class="widget side_category"><header><a href="/categories/"><i class="fas fa-folder-open fa-fw" aria-hidden="true"></i> <span class="name">文章分类</span></a></header><div class="content"><ul class="entry navigation"><li><a class="flat-box" title="/categories/%E5%8D%9A%E5%AE%A2/" href="/categories/%E5%8D%9A%E5%AE%A2/" id="categoriesE58D9AE5AEA2"><div class="name">博客</div><div class="badge">(2)</div></a></li><li><a class="flat-box" title="/categories/%E6%8A%98%E8%85%BE/" href="/categories/%E6%8A%98%E8%85%BE/" id="categoriesE68A98E885BE"><div class="name">折腾</div><div class="badge">(3)</div></a></li><li><a class="flat-box" title="/categories/%E6%91%84%E5%BD%B1/" href="/categories/%E6%91%84%E5%BD%B1/" id="categoriesE69184E5BDB1"><div class="name">摄影</div><div class="badge">(20)</div></a></li><li><a class="flat-box" title="/categories/%E6%97%A5%E5%B8%B8/" href="/categories/%E6%97%A5%E5%B8%B8/" id="categoriesE697A5E5B8B8"><div class="name">日常</div><div class="badge">(4)</div></a></li><li><a class="flat-box" title="/categories/%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%8A%80%E6%9C%AF%E4%B8%8E%E5%BA%94%E7%94%A8/" href="/categories/%E6%9C%8D%E5%8A%A1%E5%99%A8%E6%8A%80%E6%9C%AF%E4%B8%8E%E5%BA%94%E7%94%A8/" id="categoriesE69C8DE58AA1E599A8E68A80E69CAFE4B88EE5BA94E794A8"><div class="name">服务器技术与应用</div><div class="badge">(8)</div></a></li><li><a class="flat-box" title="/categories/%E6%AF%95%E4%B8%9A%E8%AE%BE%E8%AE%A1/" href="/categories/%E6%AF%95%E4%B8%9A%E8%AE%BE%E8%AE%A1/" id="categoriesE6AF95E4B89AE8AEBEE8AEA1"><div class="name">毕业设计</div><div class="badge">(4)</div></a></li></ul></div></section><section class="widget side_tagcloud"><header><a href="/tags/"><i class="fas fa-tags fa-fw" aria-hidden="true"></i> <span class="name">热门标签</span></a></header><div class="content"><a href="/tags/Aiven/" style="font-size:14px;color:#999">Aiven</a> <a href="/tags/Apache/" style="font-size:14px;color:#999">Apache</a> <a href="/tags/CentOS/" style="font-size:21.14px;color:#686868">CentOS</a> <a href="/tags/DHCP/" style="font-size:14px;color:#999">DHCP</a> <a href="/tags/DNS/" style="font-size:14px;color:#999">DNS</a> <a href="/tags/FTP/" style="font-size:14px;color:#999">FTP</a> <a href="/tags/Hexo/" style="font-size:18.29px;color:#7c7c7c">Hexo</a> <a href="/tags/Linux/" style="font-size:21.14px;color:#686868">Linux</a> <a href="/tags/MySql/" style="font-size:18.29px;color:#7c7c7c">MySql</a> <a href="/tags/Node/" style="font-size:14px;color:#999">Node</a> <a href="/tags/PHP/" style="font-size:18.29px;color:#7c7c7c">PHP</a> <a href="/tags/SSH/" style="font-size:14px;color:#999">SSH</a> <a href="/tags/Samba/" style="font-size:14px;color:#999">Samba</a> <a href="/tags/Solitude/" style="font-size:15.43px;color:#8f8f8f">Solitude</a> <a href="/tags/Umami/" style="font-size:14px;color:#999">Umami</a> <a href="/tags/VMware/" style="font-size:14px;color:#999">VMware</a> <a href="/tags/Vercel/" style="font-size:15.43px;color:#8f8f8f">Vercel</a> <a href="/tags/mariadb/" style="font-size:14px;color:#999">mariadb</a> <a href="/tags/%E4%B8%81%E8%BE%BE%E5%B0%94%E6%95%88%E5%BA%94/" style="font-size:15.43px;color:#8f8f8f">丁达尔效应</a> <a href="/tags/%E4%B8%8E%E5%A5%BD%E5%8F%8B/" style="font-size:18.29px;color:#7c7c7c">与好友</a> <a href="/tags/%E4%B9%A1%E9%87%8E%E7%94%B0%E9%97%B4/" style="font-size:15.43px;color:#8f8f8f">乡野田间</a> <a href="/tags/%E4%B9%B1%E6%8B%8D/" style="font-size:24px;color:#555">乱拍</a> <a href="/tags/%E4%BA%91/" style="font-size:22.57px;color:#5f5f5f">云</a> <a href="/tags/%E4%BA%A4%E9%80%9A/" style="font-size:14px;color:#999">交通</a> <a href="/tags/%E4%BB%8A%E5%A4%A9%E7%9A%84%E5%A4%A9%E7%A9%BA%E7%89%B9%E5%88%AB%E7%BE%8E/" style="font-size:18.29px;color:#7c7c7c">今天的天空特别美</a> <a href="/tags/%E5%86%9C%E6%9D%91%E7%94%9F%E6%B4%BB/" style="font-size:14px;color:#999">农村生活</a> <a href="/tags/%E5%8D%9A%E5%AE%A2%E6%8A%98%E8%85%BE/" style="font-size:15.43px;color:#8f8f8f">博客折腾</a> <a href="/tags/%E5%8F%88%E5%88%B0%E4%BA%86%E6%8B%8D%E4%BA%91%E7%9A%84%E5%A4%8F%E5%A4%A9/" style="font-size:14px;color:#999">又到了拍云的夏天</a> <a href="/tags/%E5%8F%91%E5%91%86/" style="font-size:14px;color:#999">发呆</a> <a href="/tags/%E5%9B%8D/" style="font-size:14px;color:#999">囍</a> <a href="/tags/%E5%A4%8F%E6%97%A5%E6%99%9A%E9%A3%8E/" style="font-size:14px;color:#999">夏日晚风</a> <a href="/tags/%E5%A4%A7%E5%B1%B1%E9%87%8C%E7%9A%84%E5%91%B3%E9%81%93/" style="font-size:14px;color:#999">大山里的味道</a> <a href="/tags/%E5%A5%87%E5%A6%99%E8%83%BD%E5%8A%9B%E6%AD%8C/" style="font-size:14px;color:#999">奇妙能力歌</a> <a href="/tags/%E5%AD%A6%E6%A0%A1/" style="font-size:14px;color:#999">学校</a> <a href="/tags/%E5%AE%89%E5%85%A8/" style="font-size:14px;color:#999">安全</a> <a href="/tags/%E5%AE%B6%E4%B9%A1%E7%9A%84%E5%A4%A9%E7%A9%BA/" style="font-size:14px;color:#999">家乡的天空</a> <a href="/tags/%E5%B0%8F%E5%85%AC%E4%B8%BB/" style="font-size:14px;color:#999">小公主</a> <a href="/tags/%E5%B1%B1%E6%A5%82%E6%A0%91%E4%B9%8B%E6%81%8B/" style="font-size:14px;color:#999">山楂树之恋</a> <a href="/tags/%E5%B9%B4%E8%BD%AE/" style="font-size:14px;color:#999">年轮</a> <a href="/tags/%E5%BB%B6%E6%97%B6%E6%91%84%E5%BD%B1/" style="font-size:15.43px;color:#8f8f8f">延时摄影</a> <a href="/tags/%E5%BC%80%E5%8F%91%E8%AF%AD%E8%A8%80/" style="font-size:18.29px;color:#7c7c7c">开发语言</a> <a href="/tags/%E6%83%B3%E6%8A%8A%E6%99%9A%E9%9C%9E%E5%88%86%E4%BA%AB%E7%BB%99%E4%BD%A0/" style="font-size:14px;color:#999">想把晚霞分享给你</a> <a href="/tags/%E6%88%91%E6%80%95%E6%9D%A5%E8%80%85%E4%B8%8D%E6%98%AF%E4%BD%A0/" style="font-size:14px;color:#999">我怕来者不是你</a> <a href="/tags/%E6%92%92%E9%87%8E/" style="font-size:14px;color:#999">撒野</a> <a href="/tags/%E6%95%B0%E6%8D%AE%E5%BA%93/" style="font-size:19.71px;color:#727272">数据库</a> <a href="/tags/%E6%96%87%E6%A1%A3/" style="font-size:14px;color:#999">文档</a> <a href="/tags/%E6%97%A5%E5%87%BA/" style="font-size:14px;color:#999">日出</a> <a href="/tags/%E6%99%9A%E4%B8%8A/" style="font-size:14px;color:#999">晚上</a> <a href="/tags/%E6%99%9A%E9%9C%9E/" style="font-size:19.71px;color:#727272">晚霞</a> <a href="/tags/%E6%9C%8D%E5%8A%A1%E5%99%A8/" style="font-size:21.14px;color:#686868">服务器</a> <a href="/tags/%E6%A1%8C%E7%90%83/" style="font-size:14px;color:#999">桌球</a> <a href="/tags/%E6%AF%8F%E4%B8%80%E5%B8%A7%E9%83%BD%E6%98%AF%E7%83%AD%E7%88%B1/" style="font-size:14px;color:#999">每一帧都是热爱</a> <a href="/tags/%E6%B2%BB%E6%84%88%E7%B3%BB%E9%A3%8E%E6%99%AF/" style="font-size:15.43px;color:#8f8f8f">治愈系风景</a> <a href="/tags/%E6%B5%B7/" style="font-size:15.43px;color:#8f8f8f">海</a> <a href="/tags/%E7%88%AC%E5%B1%B1/" style="font-size:16.86px;color:#868686">爬山</a> <a href="/tags/%E7%8E%A9/" style="font-size:18.29px;color:#7c7c7c">玩</a> <a href="/tags/%E7%99%BD%E5%B1%B1%E8%8C%B6/" style="font-size:14px;color:#999">白山茶</a> <a href="/tags/%E7%9B%B8%E6%9C%BA%E5%96%9C%E6%AC%A2%E7%9A%84%E9%95%9C%E5%A4%B4%E5%89%8D%E7%9A%84%E6%AF%8F%E4%B8%80%E4%B8%AA%E6%95%85%E4%BA%8B/" style="font-size:14px;color:#999">相机喜欢的镜头前的每一个故事</a> <a href="/tags/%E7%BD%91%E7%BB%9C/" style="font-size:16.86px;color:#868686">网络</a> <a href="/tags/%E7%BD%91%E7%BB%9C%E5%8D%8F%E8%AE%AE/" style="font-size:14px;color:#999">网络协议</a> <a href="/tags/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/" style="font-size:14px;color:#999">网络安全</a> <a href="/tags/%E8%90%BD%E6%97%A5%E4%BD%99%E6%99%96%E6%99%9A%E9%9C%9E%E4%B8%80%E6%8A%B9%E5%A4%95%E9%98%B3%E7%BE%8E%E5%A6%82%E7%94%BB/" style="font-size:14px;color:#999">落日余晖晚霞一抹夕阳美如画</a> <a href="/tags/%E8%AF%AD%E6%B3%95/" style="font-size:14px;color:#999">语法</a> <a href="/tags/%E8%B5%B7%E9%A3%8E%E4%BA%86/" style="font-size:14px;color:#999">起风了</a> <a href="/tags/%E8%B7%8C%E8%90%BD%E6%9A%AE%E8%89%B2/" style="font-size:14px;color:#999">跌落暮色</a> <a href="/tags/%E8%BF%90%E7%BB%B4/" style="font-size:16.86px;color:#868686">运维</a> <a href="/tags/%E8%BF%99%E4%B8%AA%E5%A4%8F%E5%A4%A9/" style="font-size:15.43px;color:#8f8f8f">这个夏天</a> <a href="/tags/%E9%92%93%E9%B1%BC/" style="font-size:14px;color:#999">钓鱼</a> <a href="/tags/%E9%9A%8F%E6%89%8B%E6%8B%8D%E5%A4%A9%E7%A9%BA/" style="font-size:15.43px;color:#8f8f8f">随手拍天空</a> <a href="/tags/%E9%9A%8F%E6%8B%8D/" style="font-size:14px;color:#999">随拍</a> <a href="/tags/%E9%9F%B3%E9%9F%B3%E4%B8%8D%E4%BC%9A%E5%98%A4/" style="font-size:14px;color:#999">音音不会嘤</a> <a href="/tags/%E9%A3%8E%E5%90%B9%E4%B8%80%E4%B8%8B/" style="font-size:14px;color:#999">风吹一下</a></div></section><section class="widget side_recent_post"><header><a href="/tags/"><i class="fas fa-book fa-fw" aria-hidden="true"></i> <span class="name">最新文章</span></a></header><div class="content"><div class="aside-list"><div class="aside-list-item"><div class="post-img-box"><a href="/posts/2d1e8e7a.html" class="post-img" style="background-size:cover;background-position:center center"><img class="lazyload lazyload placeholder" style="width:100%;height:100%;object-fit:cover" data-src="https://pic.ymxapi.us.kg/file/1733666432773_40.webp" class="lazyload placeholder" data-srcset="https://pic.ymxapi.us.kg/file/1733666432773_40.webp" srcset="https://pic1.zhimg.com/v2-cd38920285d125be80b3eb504052c550_b.webp" alt=""></a></div><div class="post-date-title"><div><span class="post-date">12-08</span></div><a class="post-title" href="/posts/2d1e8e7a.html">2024.11.24</a></div></div><div class="aside-list-item"><div class="post-img-box"><a href="/posts/63e1fc9e.html" class="post-img" style="background-size:cover;background-position:center center"><img class="lazyload lazyload placeholder" style="width:100%;height:100%;object-fit:cover" data-src="https://pic.ymxapi.us.kg/file/1733307643383_39.webp" class="lazyload placeholder" data-srcset="https://pic.ymxapi.us.kg/file/1733307643383_39.webp" srcset="https://pic1.zhimg.com/v2-cd38920285d125be80b3eb504052c550_b.webp" alt=""></a></div><div class="post-date-title"><div><span class="post-date">12-04</span></div><a class="post-title" href="/posts/63e1fc9e.html">他乡纵有当头月,不及家乡一盏灯</a></div></div><div class="aside-list-item"><div class="post-img-box"><a href="/posts/f4576f3d.html" class="post-img" style="background-size:cover;background-position:center center"><img class="lazyload lazyload placeholder" style="width:100%;height:100%;object-fit:cover" data-src="https://pic.ymxapi.us.kg/file/1732946119727_38.webp" class="lazyload placeholder" data-srcset="https://pic.ymxapi.us.kg/file/1732946119727_38.webp" srcset="https://pic1.zhimg.com/v2-cd38920285d125be80b3eb504052c550_b.webp" alt=""></a></div><div class="post-date-title"><div><span class="post-date">11-30</span></div><a class="post-title" href="/posts/f4576f3d.html">Vercel+Aiven 自建Umami统计</a></div></div><div class="aside-list-item"><div class="post-img-box"><a href="/posts/dca7dbdb.html" class="post-img" style="background-size:cover;background-position:center center"><img class="lazyload lazyload placeholder" style="width:100%;height:100%;object-fit:cover" data-src="https://pic.ymxapi.us.kg/file/1732688217878_37.webp" class="lazyload placeholder" data-srcset="https://pic.ymxapi.us.kg/file/1732688217878_37.webp" srcset="https://pic1.zhimg.com/v2-cd38920285d125be80b3eb504052c550_b.webp" alt=""></a></div><div class="post-date-title"><div><span class="post-date">11-25</span></div><a class="post-title" href="/posts/dca7dbdb.html">侧边栏——Solitude主题</a></div></div><div class="aside-list-item"><div class="post-img-box"><a href="/posts/efc9bbdc.html" class="post-img" style="background-size:cover;background-position:center center"><img class="lazyload lazyload placeholder" style="width:100%;height:100%;object-fit:cover" data-src="https://pic.ymxapi.us.kg/file/1732688227484_36.webp" class="lazyload placeholder" data-srcset="https://pic.ymxapi.us.kg/file/1732688227484_36.webp" srcset="https://pic1.zhimg.com/v2-cd38920285d125be80b3eb504052c550_b.webp" alt=""></a></div><div class="post-date-title"><div><span class="post-date">11-24</span></div><a class="post-title" href="/posts/efc9bbdc.html">弹幕留言板——Solitude主题</a></div></div></div></div></section><section class="widget side_archives"><header><a style="color:red" href="/archives/"><i class="fas fa-archive fa-fw" aria-hidden="true"></i><span class="name">归档</span></a></header><div class="content"><ul class="card-archive-list"><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/12/"><span class="card-archive-list-date">十二月 2024</span><span class="card-archive-list-count">2</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/11/"><span class="card-archive-list-date">十一月 2024</span><span class="card-archive-list-count">7</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/10/"><span class="card-archive-list-date">十月 2024</span><span class="card-archive-list-count">2</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/09/"><span class="card-archive-list-date">九月 2024</span><span class="card-archive-list-count">2</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/08/"><span class="card-archive-list-date">八月 2024</span><span class="card-archive-list-count">1</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/07/"><span class="card-archive-list-date">七月 2024</span><span class="card-archive-list-count">14</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/06/"><span class="card-archive-list-date">六月 2024</span><span class="card-archive-list-count">2</span></a></li><li class="card-archive-list-item"><a class="card-archive-list-link" href="/archives/2024/05/"><span class="card-archive-list-date">五月 2024</span><span class="card-archive-list-count">13</span></a></li></ul></div></section><section class="widget side_webinfo"><header><i class="fas fa-chart-line fa-fw" aria-hidden="true"></i> <span class="name">站点信息</span></header><div class="content"><div class="webinfo"><div class="webinfo-item"><div>文章数目:</div><div>43 篇</div></div><div class="webinfo-item"><div>已运行时间:</div><div id="webinfo-runtime-count" publish_date="03/24/2020 21:34:09"></div></div><script>var BirthDay=new Date(new Date("2024/05/12")),today=new Date,timeold=today.getTime()-BirthDay.getTime(),daysold=Math.floor(timeold/864e5);document.getElementById("webinfo-runtime-count").innerHTML=daysold+" 天"</script><div class="webinfo-item"><div>本站总字数:</div><div>19.9k 字</div></div><div class="webinfo-item"><div>本站访客数:</div><div><span id="busuanzi_value_site_uv"><i class="fas fa-fan fa-spin fa-fw" aria-hidden="true"></i></span> 人</div></div><div class="webinfo-item"><div>本站总访问量:</div><div><span id="busuanzi_value_site_pv"><i class="fas fa-fan fa-spin fa-fw" aria-hidden="true"></i></span> 次</div></div><div class="webinfo-item"><div>最后活动时间:</div><div id="last-update" style="display:none">Mon Dec 09 2024 10:17:11 GMT+0000 (Coordinated Universal Time)</div><div id="last-update-show">2024-12-09 日</div></div><script>function timeago(e){var t=864e5,s=(new Date).getTime()-e;if(!(s<0)){var n=s/6e4,a=s/36e5,r=s/t,l=s/6048e5,u=s/2592e6;if(1<=u&&u<=3)result=" "+parseInt(u)+" 月前";else if(1<=l&&l<=3)result=" "+parseInt(l)+" 周前";else if(1<=r&&r<=6)result=" "+parseInt(r)+" 天前";else if(1<=a&&a<=23)result=" "+parseInt(a)+" 小时前";else if(1<=n&&n<=59)result=" "+parseInt(n)+" 分钟前";else if(0<=s&&s<=6e4)result="刚刚";else{var g=new Date;g.setTime(e);var i=g.getFullYear(),o=g.getMonth()+1<10?"0"+(g.getMonth()+1):g.getMonth()+1,d=g.getDate()<10?"0"+g.getDate():g.getDate();g.getHours()<10?g.getHours():g.getHours(),g.getMinutes()<10?g.getMinutes():g.getMinutes(),g.getSeconds()<10?g.getSeconds():g.getSeconds();result=i+"-"+o+"-"+d}return result}}var lastUpDate=document.getElementById("last-update").innerHTML;try{document.getElementById("last-update-show").innerHTML=timeago(new Date(lastUpDate))}catch(e){document.getElementById("last-update-show").innerHTML="2024-12-09 日"}</script></div></div></section><div class="widget testLove" id="testLove" style="order:-3;background:#fff"><header><a style="color:#d63130" href="/love"><i class="fas fa-heart fa-fw" aria-hidden="true"></i> <span class="name">恋爱墙</span></a></header><div class="content"><div style="text-align:center"><img src="https://cdnjson.com/images/2024/05/25/QQ2024051613081170bc0842435f9b3d.jpg" class="lazyload placeholder" data-srcset="https://cdnjson.com/images/2024/05/25/QQ2024051613081170bc0842435f9b3d.jpg" srcset="https://pic1.zhimg.com/v2-cd38920285d125be80b3eb504052c550_b.webp" style="width:50px;height:50px;vertical-align:-20px;border-radius:50%;margin-right:5px;margin-bottom:5px;-webkit-box-shadow:1px 1px 1px rgba(0,0,0,.1),1px 1px 1px rgba(0,0,0,.1),1px 1px 1px rgba(0,0,0,.1);box-shadow:1px 1px 1px rgba(0,0,0,.1),1px 1px 1px rgba(0,0,0,.1),1px 1px 1px rgba(0,0,0,.1);border:2px solid #fff"> <svg viewbox="0 0 1024 1024" style="margin-left:5px;margin-right:5px" version="1.0" width="15" height="15" class="my-face"><path d="M863.597631 513.574282l-271.33965-140.213484L729.783667 81.926656c3.583731-7.87141 7.167462-15.742819 7.167462-25.214109C736.887134 25.226908 708.345275.012799 672.635953.012799a63.611229 63.611229 0 0 0-39.293053 12.607055c-1.791866 1.59988-3.519736 3.19976-5.311602 3.19976L147.87531 418.925381a55.547834 55.547834 0 0 0-19.646527 47.356448c1.791866 17.278704 14.27093 33.021523 32.125591 42.492813l271.33965 141.749369L292.504463 945.221908c-12.479064 25.214109-1.791866 53.563983 23.166262 69.306802 10.751194 6.335525 23.230258 9.47129 35.709322 9.47129 16.062795 0 32.125591-4.735645 44.604655-15.742819l480.091993-403.297753a55.547834 55.547834 0 0 0 19.646526-47.228458 61.243407 61.243407 0 0 0-32.12559-44.156688z" fill="#515151"/></svg> <img src="https://cdnjson.com/images/2024/05/25/QQ20240516130803ca85880d71097308.jpg" class="lazyload placeholder" data-srcset="https://cdnjson.com/images/2024/05/25/QQ20240516130803ca85880d71097308.jpg" srcset="https://pic1.zhimg.com/v2-cd38920285d125be80b3eb504052c550_b.webp" style="width:50px;height:50px;vertical-align:-20px;border-radius:50%;margin-left:5px;margin-bottom:5px;-webkit-box-shadow:1px 1px 1px rgba(0,0,0,.1),1px 1px 1px rgba(0,0,0,.1),1px 1px 1px rgba(0,0,0,.1);box-shadow:1px 1px 1px rgba(0,0,0,.1),1px 1px 1px rgba(0,0,0,.1),1px 1px 1px rgba(0,0,0,.1);border:2px solid #fff"><br><span id="laq_time"></span></div><script defer data-pjax src="/js/laq.min.js"></script></div></div><div class="widget likeme" id="likeme" style="order:-2;background:#fff"><header><i class="fa-fw" aria-hidden="true"></i><span class="name"></span></header><div class="content"><link rel="stylesheet" href="https://unpkg.com/@5ime/[email protected]/static/css/likeme.css"><script src="https://unpkg.com/@5ime/[email protected]/static/js/likeme.js"></script><script>new limeMe({el:"#likeme",serverURL:"https://like.ymxapi.us.kg",color:"#ff4e6ae6"})</script></div></div><div class="widget zxpl" id="zxpl" style="order:2;background:#fff"><header><a style="color:#d63130" href="/"><i class="fa-solid fa-clock-rotate-left fa-fw" aria-hidden="true"></i> <span class="name">最新评论</span></a></header><div class="content"><div id="waline-recent"></div><script defer data-pjax type="module" src="/js/zxpl.min.js"></script></div></div></div></aside><script defer src="/js/wrapImage.js"></script></div><div id="appBgSwiper" style="position:fixed;left:0;top:0;width:100%;height:100%;z-index:-2" :style="{'background-color': bgColor ? bgColor : 'transparent'}"><transition-group tag="ul" :name="names"><li v-for="(image,index) in img" :key="index" v-show="index === mark" class="bg-swiper-box"><img :src="image" class="bg-swiper-img no-lazy"></li></transition-group></div><script>var vm = new Vue({
el: '#appBgSwiper',
data: {
names: '' || 'scale' || 'fade', // translate-fade fade
mark: 0,
img: [],
bgColor: '',
time: null
},
methods: { //添加方法
change(i, m) {
if (i > m) {
// this.names = 'fade';
} else if (i < m) {
// this.names = 'fade';
} else {
return;
}
this.mark = i;
},
prev() {
// this.names = 'fade';
this.mark--;
if (this.mark === -1) {
this.mark = 3;
return
}
},
next() {
// this.names = 'fade';
this.mark++;
if (this.mark === this.img.length) {
this.mark = 0;
return
}
},
autoPlay() {
// this.names = 'fade';
this.mark++;
if (this.mark === this.img.length) {
this.mark = 0;
return
}
},
play() {
let bgImgDelay = '' || '180000'
let delay = parseInt(bgImgDelay) || 180000;
this.time = setInterval(this.autoPlay, delay);
},
enter() {
clearInterval(this.time);
},
leave() {
this.play();
}
},
created() {
this.play()
},
beforeDestroy() {
clearInterval(this.time);
},
mounted() {
let prop = '' || '/images/bj.webp';
let isImg = prop.includes('.bmp') || prop.includes('.jpg') || prop.includes('.png') || prop.includes('.tif') || prop.includes('.gif') || prop.includes('.pcx') || prop.includes('.tga') || prop.includes('.exif') || prop.includes('.fpx') || prop.includes('.psd') || prop.includes('.cdr') || prop.includes('.pcd') || prop.includes('.dxf') || prop.includes('.ufo') || prop.includes('.eps') || prop.includes('.ai') || prop.includes('.raw') || prop.includes('.WMF') || prop.includes('.webp') || prop.includes('.jpeg') || prop.includes('http://') || prop.includes('https://')
if (isImg) {
let img = prop.split(',');
let configRoot = '/'
let arrImg = [];
img.forEach(el => {
var Expression = /http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w- .\/?%&=]*)?/;
var objExp = new RegExp(Expression);
if (objExp.test(el)) {
// http or https
arrImg.push(el);
} else {
// 非http or https开头
// 本地文件
let firstStr = el.charAt(0);
if (firstStr == '/') {
el = el.substr(1); // 删除第一个字符 '/',因为 configRoot最后一个字符为 /
}
el = configRoot + el;
arrImg.push(el);
}
})
this.img = arrImg;
} else {
this.bgColor = prop;
}
}
})</script><style>.bg-swiper-box{position:absolute;display:block;width:100%;height:100%}.bg-swiper-img{object-fit:cover;width:100%;height:100%}</style><script>function loadMermaid() {
if (document.getElementsByClassName('mermaid').length) {
if (window.mermaidJsLoad) mermaid.init()
else {
loadScript('https://unpkg.com/mermaid/dist/mermaid.min.js').then(() => {
window.mermaidJsLoad = true
mermaid.initialize({
theme: 'default',
})
if ('ture') {
mermaid.init();
}
})
}
}
};
document.addEventListener("DOMContentLoaded", function () {
loadMermaid();
})
document.addEventListener('pjax:complete', function () {
loadMermaid();
})</script></main></div><div id="j-fish-skip" style="position:relative;height:153px;width:auto"></div><script defer>var RENDERER = {
POINT_INTERVAL: 5,
FISH_COUNT: 3,
MAX_INTERVAL_COUNT: 50,
INIT_HEIGHT_RATE: .5,
THRESHOLD: 50,
FISH_COLOR: '',
init: function () {
this.setFishColor(); this.setParameters(), this.reconstructMethods(), this.setup(), this.bindEvent(), this.render()
},
setFishColor: function () {
let isDark = JSON.parse(localStorage.getItem('dark')) || JSON.parse('false');
if (isDark) {
this.FISH_COLOR = '#222'; // 暗黑色,有时间把这整成一个变量
} else {
this.FISH_COLOR = '' || 'rgba(0,0,0,0.5)';
}
},
setParameters: function () {
this.$window = $(window), this.$container = $("#j-fish-skip"), this.$canvas = $("<canvas />"), this.context = this.$canvas.appendTo(this.$container).get(0).getContext("2d"), this.points = [], this.fishes = [], this.watchIds = []
},
createSurfacePoints: function () {
var t = Math.round(this.width / this.POINT_INTERVAL);
this.pointInterval = this.width / (t - 1), this.points.push(new SURFACE_POINT(this, 0));
for (var i = 1; i < t; i++) {
var e = new SURFACE_POINT(this, i * this.pointInterval),
h = this.points[i - 1];
e.setPreviousPoint(h), h.setNextPoint(e), this.points.push(e)
}
},
reconstructMethods: function () {
this.watchWindowSize = this.watchWindowSize.bind(this), this.jdugeToStopResize = this.jdugeToStopResize.bind(this), this.startEpicenter = this.startEpicenter.bind(this), this.moveEpicenter = this.moveEpicenter.bind(this), this.reverseVertical = this.reverseVertical.bind(this), this.render = this.render.bind(this)
},
setup: function () {
this.points.length = 0, this.fishes.length = 0, this.watchIds.length = 0, this.intervalCount = this.MAX_INTERVAL_COUNT, this.width = this.$container.width(), this.height = this.$container.height(), this.fishCount = this.FISH_COUNT * this.width / 500 * this.height / 500, this.$canvas.attr({
width: this.width,
height: this.height
}), this.reverse = !1, this.fishes.push(new FISH(this)), this.createSurfacePoints()
},
watchWindowSize: function () {
this.clearTimer(), this.tmpWidth = this.$window.width(), this.tmpHeight = this.$window.height(), this.watchIds.push(setTimeout(this.jdugeToStopResize, this.WATCH_INTERVAL))
},
clearTimer: function () {
for (; this.watchIds.length > 0;) clearTimeout(this.watchIds.pop())
},
jdugeToStopResize: function () {
var t = this.$window.width(),
i = this.$window.height(),
e = t == this.tmpWidth && i == this.tmpHeight;
this.tmpWidth = t, this.tmpHeight = i, e && this.setup()
},
bindEvent: function () {
this.$window.on("resize", this.watchWindowSize), this.$container.on("mouseenter", this.startEpicenter), this.$container.on("mousemove", this.moveEpicenter)
},
getAxis: function (t) {
var i = this.$container.offset();
return {
x: t.clientX - i.left + this.$window.scrollLeft(),
y: t.clientY - i.top + this.$window.scrollTop()
}
},
startEpicenter: function (t) {
this.axis = this.getAxis(t)
},
moveEpicenter: function (t) {
var i = this.getAxis(t);
this.axis || (this.axis = i), this.generateEpicenter(i.x, i.y, i.y - this.axis.y), this.axis = i
},
generateEpicenter: function (t, i, e) {
if (!(i < this.height / 2 - this.THRESHOLD || i > this.height / 2 + this.THRESHOLD)) {
var h = Math.round(t / this.pointInterval);
h < 0 || h >= this.points.length || this.points[h].interfere(i, e)
}
},
reverseVertical: function () {
this.reverse = !this.reverse;
for (var t = 0, i = this.fishes.length; t < i; t++) this.fishes[t].reverseVertical()
},
controlStatus: function () {
for (var t = 0, i = this.points.length; t < i; t++) this.points[t].updateSelf();
for (t = 0, i = this.points.length; t < i; t++) this.points[t].updateNeighbors();
this.fishes.length < this.fishCount && 0 == --this.intervalCount && (this.intervalCount = this.MAX_INTERVAL_COUNT, this.fishes.push(new FISH(this)))
},
render: function () {
requestAnimationFrame(this.render), this.controlStatus(), this.context.clearRect(0, 0, this.width, this.height), this.context.fillStyle = this.FISH_COLOR;
for (var t = 0, i = this.fishes.length; t < i; t++) this.fishes[t].render(this.context);
this.context.save(), this.context.globalCompositeOperation = "xor", this.context.beginPath(), this.context.moveTo(0, this.reverse ? 0 : this.height);
for (t = 0, i = this.points.length; t < i; t++) this.points[t].render(this.context);
this.context.lineTo(this.width, this.reverse ? 0 : this.height), this.context.closePath(), this.context.fill(), this.context.restore()
}
},
SURFACE_POINT = function (t, i) {
this.renderer = t, this.x = i, this.init()
};
SURFACE_POINT.prototype = {
SPRING_CONSTANT: .03,
SPRING_FRICTION: .9,
WAVE_SPREAD: .3,
ACCELARATION_RATE: .01,
init: function () {
this.initHeight = this.renderer.height * this.renderer.INIT_HEIGHT_RATE, this.height = this.initHeight, this.fy = 0, this.force = {
previous: 0,
next: 0
}
},
setPreviousPoint: function (t) {
this.previous = t
},
setNextPoint: function (t) {
this.next = t
},
interfere: function (t, i) {
this.fy = this.renderer.height * this.ACCELARATION_RATE * (this.renderer.height - this.height - t >= 0 ? -1 : 1) * Math.abs(i)
},
updateSelf: function () {
this.fy += this.SPRING_CONSTANT * (this.initHeight - this.height), this.fy *= this.SPRING_FRICTION, this.height += this.fy
},
updateNeighbors: function () {
this.previous && (this.force.previous = this.WAVE_SPREAD * (this.height - this.previous.height)), this.next && (this.force.next = this.WAVE_SPREAD * (this.height - this.next.height))
},
render: function (t) {
this.previous && (this.previous.height += this.force.previous, this.previous.fy += this.force.previous), this.next && (this.next.height += this.force.next, this.next.fy += this.force.next), t.lineTo(this.x, this.renderer.height - this.height)
}
};
var FISH = function (t) {
this.renderer = t, this.init()
};
FISH.prototype = {
GRAVITY: .4,
init: function () {
this.direction = Math.random() < .5, this.x = this.direction ? this.renderer.width + this.renderer.THRESHOLD : -this.renderer.THRESHOLD, this.previousY = this.y, this.vx = this.getRandomValue(4, 10) * (this.direction ? -1 : 1), this.renderer.reverse ? (this.y = this.getRandomValue(1 * this.renderer.height / 10, 4 * this.renderer.height / 10), this.vy = this.getRandomValue(2, 5), this.ay = this.getRandomValue(.05, .2)) : (this.y = this.getRandomValue(6 * this.renderer.height / 10, 9 * this.renderer.height / 10), this.vy = this.getRandomValue(-5, -2), this.ay = this.getRandomValue(-.2, -.05)), this.isOut = !1, this.theta = 0, this.phi = 0
},
getRandomValue: function (t, i) {
return t + (i - t) * Math.random()
},
reverseVertical: function () {
this.isOut = !this.isOut, this.ay *= -1
},
controlStatus: function (t) {
this.previousY = this.y, this.x += this.vx, this.y += this.vy, this.vy += this.ay, this.renderer.reverse ? this.y > this.renderer.height * this.renderer.INIT_HEIGHT_RATE ? (this.vy -= this.GRAVITY, this.isOut = !0) : (this.isOut && (this.ay = this.getRandomValue(.05, .2)), this.isOut = !1) : this.y < this.renderer.height * this.renderer.INIT_HEIGHT_RATE ? (this.vy += this.GRAVITY, this.isOut = !0) : (this.isOut && (this.ay = this.getRandomValue(-.2, -.05)), this.isOut = !1), this.isOut || (this.theta += Math.PI / 20, this.theta %= 2 * Math.PI, this.phi += Math.PI / 30, this.phi %= 2 * Math.PI), this.renderer.generateEpicenter(this.x + (this.direction ? -1 : 1) * this.renderer.THRESHOLD, this.y, this.y - this.previousY), (this.vx > 0 && this.x > this.renderer.width + this.renderer.THRESHOLD || this.vx < 0 && this.x < -this.renderer.THRESHOLD) && this.init()
},
render: function (t) {
t.save(), t.translate(this.x, this.y), t.rotate(Math.PI + Math.atan2(this.vy, this.vx)), t.scale(1, this.direction ? 1 : -1), t.beginPath(), t.moveTo(-30, 0), t.bezierCurveTo(-20, 15, 15, 10, 40, 0), t.bezierCurveTo(15, -10, -20, -15, -30, 0), t.fill(), t.save(), t.translate(40, 0), t.scale(.9 + .2 * Math.sin(this.theta), 1), t.beginPath(), t.moveTo(0, 0), t.quadraticCurveTo(5, 10, 20, 8), t.quadraticCurveTo(12, 5, 10, 0), t.quadraticCurveTo(12, -5, 20, -8), t.quadraticCurveTo(5, -10, 0, 0), t.fill(), t.restore(), t.save(), t.translate(-3, 0), t.rotate((Math.PI / 3 + Math.PI / 10 * Math.sin(this.phi)) * (this.renderer.reverse ? -1 : 1)), t.beginPath(), this.renderer.reverse ? (t.moveTo(5, 0), t.bezierCurveTo(10, 10, 10, 30, 0, 40), t.bezierCurveTo(-12, 25, -8, 10, 0, 0)) : (t.moveTo(-5, 0), t.bezierCurveTo(-10, -10, -10, -30, 0, -40), t.bezierCurveTo(12, -25, 8, -10, 0, 0)), t.closePath(), t.fill(), t.restore(), t.restore(), this.controlStatus(t)
}
}, $(function () {
RENDERER.init()
$('.dark').click(function () {
setTimeout(() => {
RENDERER.setFishColor();
RENDERER.context.fill();
});
})
});</script><div class="footer bg-color"><div class="footer-main"><div class="link"><a target="_blank" rel="noopener" href="https://space.bilibili.com/489178597" class="social"><i class="iconfont icon-bilibili" aria-hidden="true"></i></a><a href="mailto:[email protected]" class="social"><i class="iconfont icon-a-Deliverydisongfasongzhifeiji" aria-hidden="true"></i></a><a target="_blank" rel="noopener" href="https://github.com/yeminxi" class="social"><i class="iconfont icon-github1" aria-hidden="true"></i></a><a href="/atom.xml" class="social"><i class="iconfont icon-RSS" aria-hidden="true"></i></a></div><div class="footer-copyright"><p>Copyright © 2024 - 2024 <a target="_blank" rel="noopener" href="https://github.com/yeminxi/">叶泯希</a></p></div><div class="footer-custom"></div><div><p><span id="runtime"></span><br><a target="_blank" rel="noopener" href="https://ymx.us.kg/" title="叶泯希的主页">个人主页</a></p></div><div><p><a href="https://blogscn.fun/" title="BLOGS·CN" target="_blank"><img src="https://photo.xiangming.site/img/blogscn.png" class="lazyload placeholder" data-srcset="https://photo.xiangming.site/img/blogscn.png" srcset="https://pic1.zhimg.com/v2-cd38920285d125be80b3eb504052c550_b.webp" alt="本站已加入BLOGS·CN" style="width:auto;height:20px"></a><a href="https://www.travellings.cn/go.html" title="开往-友链助力" target="_blank"><img src="https://www.travellings.cn/assets/logo.svg" class="lazyload placeholder" data-srcset="https://www.travellings.cn/assets/logo.svg" srcset="https://pic1.zhimg.com/v2-cd38920285d125be80b3eb504052c550_b.webp" alt="本站已加入开往-友链助力" style="width:auto;height:30px"></a></p></div><div><p><a target="_blank" title="51la网站统计" href="https://v6.51.la/land/3KG3Xy9FoNMxUetz"><img src="https://sdk.51.la/icon/4-5.png" class="lazyload placeholder" data-srcset="https://sdk.51.la/icon/4-5.png" srcset="https://pic1.zhimg.com/v2-cd38920285d125be80b3eb504052c550_b.webp"></a><a target="_blank" href="https://hexo.io/" title="博客框架为Hexo_v7.2.0"><img src="/images/fram.svg" class="lazyload placeholder" data-srcset="/images/fram.svg" srcset="https://pic1.zhimg.com/v2-cd38920285d125be80b3eb504052c550_b.webp"></a><a target="_blank" href="https://github.com/yuang01/hexo-theme-bamboo/" title="主题版本Bamboo_v3.0.9"><img src="/images/theme.svg" class="lazyload placeholder" data-srcset="/images/theme.svg" srcset="https://pic1.zhimg.com/v2-cd38920285d125be80b3eb504052c550_b.webp"></a><a target="_blank" href="https://icp.gov.moe/?keyword=20245120" title="萌ICP备20245120号"><img src="/images/meng.svg" class="lazyload placeholder" data-srcset="/images/meng.svg" srcset="https://pic1.zhimg.com/v2-cd38920285d125be80b3eb504052c550_b.webp"></a><a target="_blank" href="https://github.com/" title="本站项目由Github托管"><img src="/images/github.svg" class="lazyload placeholder" data-srcset="/images/github.svg" srcset="https://pic1.zhimg.com/v2-cd38920285d125be80b3eb504052c550_b.webp"></a><a target="_blank" href="http://creativecommons.org/licenses/by-nc-sa/4.0/" title="本站采用知识共享署名-非商业性使用-相同方式共享4.0国际许可协议进行许可"><img src="/images/4.svg" class="lazyload placeholder" data-srcset="/images/4.svg" srcset="https://pic1.zhimg.com/v2-cd38920285d125be80b3eb504052c550_b.webp"></a><br><script id="LA-DATA-WIDGET" crossorigin="anonymous" charset="UTF-8" src="https://v6-widget.51.la/v6/3KG3Xy9FoNMxUetz/quote.js?theme=#FFFFFF,#FFFFFF,#FFFFFF,#FFFFFF,#FFFFFF,#FFFFFF,12&f=12&display=1,0,1,0,1,0,1,1"></script></p></div></div></div><div class="dark" onclick="toggleDarkMode()"><div class="dark-content"><i class="fas" id="darkIcon" aria-hidden="true"></i></div></div><script defer>$(function() {
// 初始化暗黑模式状态
let isDark = JSON.parse(localStorage.getItem('dark')) || JSON.parse('false');
updateDarkModeIcon(isDark);
});
function toggleDarkMode() {
const isDark = $(document.body).hasClass('darkModel');
$(document.body).toggleClass('darkModel');
localStorage.setItem('dark', !isDark);
updateDarkModeIcon(!isDark);
}
function updateDarkModeIcon(isDark) {
const iconElement = document.getElementById('darkIcon');
if (isDark) {
iconElement.classList.remove('fa-moon');
iconElement.classList.add('fa-lightbulb');
} else {
iconElement.classList.remove('fa-lightbulb');
iconElement.classList.add('fa-moon');
}
}</script><div class="goTop top-btn-color" pointer><i class="fas fa-arrow-up" aria-hidden="true"></i></div><script defer src="/js/goTop.js"></script><link rel="stylesheet" href="/js/aplayer/[email protected]"><style>.aplayer .aplayer-lrc p{display:none;font-size:12px;font-weight:700;line-height:16px!important}.aplayer .aplayer-lrc p.aplayer-lrc-current{display:none;font-size:15px;color:#42b983}.aplayer.aplayer-fixed.aplayer-narrow .aplayer-body{left:-66px!important}.aplayer.aplayer-fixed.aplayer-narrow .aplayer-body:hover{left:0!important}</style><meting-js server="netease" type="playlist" id="4930421579" fixed="true" autoplay theme="#42b983" loop order="random" preload="none" volume="1" list-folded="true"></meting-js><script defer src="https://unpkg.com/[email protected]/dist/APlayer.min.js"></script><script defer src="https://unpkg.com/meting@2/dist/Meting.min.js"></script><script src="https://unpkg.com/@fancyapps/[email protected]/dist/fancybox/fancybox.umd.js"></script><script async>var _hmt=_hmt||[];!function(){var e=document.createElement("script");e.src="https://hm.baidu.com/hm.js?22a638c481b4daa8a64c6613c83d14d4";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()</script><script async>!function(){var t=document.createElement("script"),e=window.location.protocol.split(":")[0];t.src="https"===e?"https://zz.bdstatic.com/linksubmit/push.js":"http://push.zhanzhang.baidu.com/push.js";var s=document.getElementsByTagName("script")[0];s.parentNode.insertBefore(t,s)}()</script><script src="/js/utils/index.js"></script><script src="/js/app.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.18.2/tocbot.min.js"></script><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tocbot/4.18.2/tocbot.css"><script>var headerEl = 'h2, h3, h4', //headers
content = '.post-detail',//文章容器
idArr = {}; //标题数组以确定是否增加索引id
//add #id
var option = {
// Where to render the table of contents.
tocSelector: '.toc',
// Where to grab the headings to build the table of contents.
contentSelector: content,
// Which headings to grab inside of the contentSelector element.
headingSelector: headerEl,
scrollSmooth: true,
scrollSmoothOffset: -70,
// headingsOffset: -($(window).height() * 0.4 - 45),
headingsOffset: -($(window).height() * 0.4 - 70),
// positionFixedSelector: '.toc-main',
// positionFixedClass: 'is-position-fixed',
fixedSidebarOffset: 'auto',
activeLinkClass: 'is-active-link',
orderedList: true,
collapseDepth: 20,
// onClick: function (e) {},
}
if ($('.toc').length > 0) {
$(content).children(headerEl).each(function () {
//去除空格以及多余标点
var headerId = $(this).text().replace(/[\s|\~|`|\!|\@|\#|\$|\%|\^|\&|\*|\(|\)|\_|\+|\=|\||\|\[|\]|\{|\}|\;|\:|\"|\'|\,|\<|\.|\>|\/|\?|\:|\,|\。]/g, '');
headerId = headerId.toLowerCase();
if (idArr[headerId]) {
//id已经存在
$(this).attr('id', headerId + '-' + idArr[headerId]);
idArr[headerId]++;
}
else {
//id未存在
idArr[headerId] = 1;
$(this).attr('id', headerId);
}
});
document.addEventListener("DOMContentLoaded", function () {
tocbot.init(option);
mobileTocClick();
});
}
window.tocScrollFn = function () {
return bamboo.throttle(function () {
findHeadPosition();
}, 100)()
}
window.addEventListener('scroll', tocScrollFn);
const findHeadPosition = function (top) {
if ($('.toc-list').length <= 0) {
return false;
}
setTimeout(() => { // or DOMContentLoaded
autoScrollToc();
}, 0);
}
const autoScrollToc = function () {
const $activeItem = document.querySelector('.is-active-link');
const $cardToc = document.querySelector('.toc-content');
const activePosition = $activeItem.getBoundingClientRect().top
const sidebarScrollTop = $cardToc.scrollTop
if (activePosition > (document.documentElement.clientHeight - 100)) {
$cardToc.scrollTop = sidebarScrollTop + 150
}
if (activePosition < 150) {
$cardToc.scrollTop = sidebarScrollTop - 150
}
}
document.addEventListener('pjax:send', function () {
if ($('.toc').length) {
tocbot.destroy();
}
});
document.addEventListener('pjax:complete', function () {
if ($('.toc').length) {
tocbot.init(option);
mobileTocClick();
}
});
// 手机端toc按钮点击出现目录
const mobileTocClick = function () {
const $cardTocLayout = document.getElementsByClassName('side_toc')[0];
const $cardToc = $cardTocLayout.getElementsByClassName('toc-content')[0];
let right = '45px';
if (window.innerWidth >= 551 && window.innerWidth <= 992) {
right = '100px'
}
const mobileToc = {
open: () => {
$cardTocLayout.style.cssText = 'animation: toc-open .3s; opacity: 1; right: ' + right
},
close: () => {
$cardTocLayout.style.animation = 'toc-close .2s'
setTimeout(() => {
$cardTocLayout.style.cssText = "opacity:''; animation: ''; right: ''"
}, 100)
}
}
document.getElementById('toc-mobile-btn').addEventListener('click', () => {
if (window.getComputedStyle($cardTocLayout).getPropertyValue('opacity') === '0') mobileToc.open()
else mobileToc.close()
})
$cardToc.addEventListener('click', (e) => {
if (window.innerWidth < 992) { // 小于992px的时候
mobileToc.close()
}
})
}</script><style></style><script>let setHeaderClass = () => {
const nav = $('#navHeader');
const navTop = nav.outerHeight();
const winTop = $(window).scrollTop();
if(winTop > navTop) {
nav.addClass('header-bg-color');
}
else {
nav.removeClass('header-bg-color');
}
};
let scrollCollect = () => {
return bamboo.throttle(function (e) {
setHeaderClass();
}, 200)()
}
let initHeaderBg = () => {
setHeaderClass();
}
setHeaderClass();
window.addEventListener('scroll', scrollCollect);
document.addEventListener('pjax:send', function () {
window.removeEventListener('scroll', scrollCollect)
})
document.addEventListener('pjax:complete', function () {
window.addEventListener('scroll', scrollCollect);
setHeaderClass();
})</script><script>function loadIssuesJS(){0!=$(".post-detail").find(".issues-api").length&&loadScript("/js/issues/index.js")}$(function(){loadIssuesJS()}),document.addEventListener("pjax:complete",function(){"undefined"==typeof IssuesAPI&&loadIssuesJS()})</script><script>function loadPhotoOnlineJS(){0!=$(".post-detail").find(".getJsonPhoto-api").length&&loadScript("/js/getPhotoOnline/index.js")}$(function(){loadPhotoOnlineJS()}),document.addEventListener("pjax:complete",function(){"undefined"==typeof getPhotoJson&&loadPhotoOnlineJS()})</script><script>function loadTalkOnlineJS(){0!=$(".post-detail").find(".getJsonTalk-api").length&&(loadScript("https://cdnjs.cloudflare.com/ajax/libs/waterfall.js/1.0.2/waterfall.min.js"),loadScript("/js/getTalkOnline/index.js"))}$(function(){loadTalkOnlineJS()}),document.addEventListener("pjax:complete",function(){"undefined"==typeof getTalkJson&&loadTalkOnlineJS()})</script><script>function loadSiteOnlineJS(){0!=$(".post-detail").find(".getJsonSite-api").length&&loadScript("/js/getSiteOnline/index.js")}$(function(){loadSiteOnlineJS()}),document.addEventListener("pjax:complete",function(){"undefined"==typeof getSiteJson&&loadSiteOnlineJS()})</script><script src="/js/activate-power-mode.js"></script><script>POWERMODE.colorful=!0,POWERMODE.shake=!1,document.body.addEventListener("input",POWERMODE)</script><link rel="stylesheet" href="https://unpkg.com/v-plugs-ayu/lib/ayu.css"><script src="https://unpkg.com/v-plugs-ayu/lib/ayu.umd.min.js"></script><script src="/js/clipboard/clipboard.min.js"></script><div id="appCopy"></div><script data-pjax>var vm = new Vue({
el: '#appCopy',
data: {
},
computed: {
},
mounted() {
const that = this;
var copy = '复制';
/* code */
var initCopyCode = function () {
var copyHtml = '';
copyHtml += '<button class="btn-copy" data-clipboard-snippet="" style="position:absolute;top:0;right:0;z-index:1;">';
copyHtml += '<i class="fas fa-copy"></i><span>' + copy + '</span>';
copyHtml += '</button>';
$(".post-detail pre").not('.gutter pre').wrap("<div class='codeBox' style='position:relative;width:100%;'></div>")
$(".post-detail pre").not('.gutter pre').before(copyHtml);
new ClipboardJS('.btn-copy', {
target: function (trigger) {
return trigger.nextElementSibling;
}
});
}
initCopyCode();
$('.btn-copy').unbind('click').bind('click', function () {
doSomething();
})
$(document).unbind('keypress').bind('keypress', function (e) {
if (e.ctrlKey && e.keyCode == 67) {
doSomething();
}
})
function doSomething() {
that.$notify({
title: "成功",
content: "代码已复制,请遵守相关授权协议。",
type: 'success'
})
}
},
methods: {
},
created() { }
})</script><script defer src="https://unpkg.com/[email protected]/dist/lazyload.min.js"></script><script>window.lazyLoadOptions={elements_selector:".lazyload",threshold:0},window.addEventListener("LazyLoad::Initialized",function(n){window.lazyLoadInstance=n.detail.instance},!1),document.addEventListener("DOMContentLoaded",function(){lazyLoadInstance.update()}),document.addEventListener("pjax:complete",function(){lazyLoadInstance.update()})</script><script async src="/js/cursor/clicklove.js"></script><script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js" data-pjax></script><script>var bambooSwiperTag = {};
function load_swiper() {
if (!document.querySelectorAll(".post-swiper-container")[0]) return;
loadCSS("https://unpkg.com/swiper@6/swiper-bundle.min.css")
loadScript("https://unpkg.com/swiper@6/swiper-bundle.min.js").then(() => {
pjax_swiper();
});
}
load_swiper();
function pjax_swiper() {
bambooSwiperTag.swiper = new Swiper('.post-swiper-container', {
slidesPerView: 'auto',
spaceBetween: 8,
centeredSlides: true,
loop: true,
autoplay: true ? {
delay: 3000,
stopOnLastSlide: false,
disableOnInteraction: false,
} : false,
pagination: {
el: '.swiper-pagination',
clickable: true,
},
navigation: {
nextEl: '.swiper-button-next',
prevEl: '.swiper-button-prev',
},
on:{
init: function(){
swiperAnimateCache(this); //隐藏动画元素
swiperAnimate(this); //初始化完成开始动画
},
slideChangeTransitionEnd: function(){
swiperAnimate(this); //每个slide切换结束时也运行当前slide动画
//this.slides.eq(this.activeIndex).find('.ani').removeClass('ani'); 动画只展现一次,去除ani类名
}
}
});
}
document.addEventListener('pjax:complete', function () {
if (!document.querySelectorAll(".post-swiper-container")[0]) return;
if (typeof bambooSwiperTag.swiper === "undefined") {
load_swiper();
} else {
pjax_swiper();
}
});</script><script src="/js/[email protected]/index.js"></script><div class="pjax-animate"><div class="loading-circle"><div id="loader-circle"></div></div><script>window.ShowLoading=function(){$(".loading-circle").css("display","block")},window.HideLoading=function(){$(".loading-circle").css("display","none")}</script><script>document.addEventListener("pjax:complete",function(){window.HideLoading()}),document.addEventListener("pjax:send",function(){window.ShowLoading()}),document.addEventListener("pjax:error",function(){window.HideLoading()})</script></div><script>var pjax = new Pjax({
elements: 'a[href]:not([href^="#"]):not([href="javascript:void(0)"]):not([no-pjax])', // 拦截正常带链接的 a 标签
selectors: ["#pjax-container","title"], // 根据实际需要确认重载区域
cacheBust: false, // url 地址追加时间戳,用以避免浏览器缓存
timeout: 5000
});
document.addEventListener('pjax:send', function (e) {
try {
var currentUrl = window.location.pathname;
var targetUrl = e.triggerElement.href;
var banUrl = ["/love"];
if (banUrl[0] != "") {
banUrl.forEach(item => {
if(currentUrl.indexOf(item) != -1 || targetUrl.indexOf(item) != -1) {
window.location.href = targetUrl;
}
});
}
} catch (error) {}
$(window).unbind('resize');
$(window).unbind('scroll');
$(document).unbind('scroll');
$(document).unbind('click');
$('body').unbind('click');
})
document.addEventListener('pjax:complete', function () {
$('script[data-pjax], .pjax-reload script').each(function () {
$(this).parent().append($(this).remove());
});
});
document.addEventListener('pjax:error', function (e) {
window.location.href = e.triggerElement.href;
})
// 刷新不从顶部开始
document.addEventListener("DOMContentLoaded", function () {
history.scrollRestoration = 'auto';
})</script></body></html>