q78kgblog 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/HexoSeoAutoPush.yml +36 -0
- package/404.html +933 -0
- package/BingSiteAuth.xml +4 -0
- package/CNAME +1 -0
- package/about/index.html +1096 -0
- package/archives/2022/06/index.html +942 -0
- package/archives/2022/index.html +942 -0
- package/archives/2023/02/index.html +942 -0
- package/archives/2023/04/index.html +942 -0
- package/archives/2023/05/index.html +942 -0
- package/archives/2023/08/index.html +942 -0
- package/archives/2023/09/index.html +942 -0
- package/archives/2023/index.html +942 -0
- package/archives/2024/01/index.html +942 -0
- package/archives/2024/02/index.html +942 -0
- package/archives/2024/index.html +942 -0
- package/archives/index.html +942 -0
- package/assets/css/APlayer.min.css +3 -0
- package/assets/douban-loading.gif +0 -0
- package/assets/js/APlayer.min.js +2 -0
- package/assets/js/Meting.min.js +1 -0
- package/atom.xml +311 -0
- package/baidusitemap.xml +43 -0
- package/bangumis/index.html +1247 -0
- package/bigpie/index.html +714 -0
- package/bing.json +1 -0
- package/categories/Hello-World/index.html +954 -0
- package/categories/Hexo/index.html +954 -0
- package/categories/index.html +710 -0
- package/categories//345/271/264/347/273/210/346/200/273/347/273/223/index.html +954 -0
- package/categories//346/201/260/351/245/255/index.html +954 -0
- package/categories//347/264/240/346/235/220/index.html +954 -0
- package/categories//351/227/262/350/201/212/346/235/202/350/260/210/index.html +954 -0
- package/content.json +1 -0
- package/css/404page.css +65 -0
- package/css/ariasakablog.css +5632 -0
- package/css/commentBarrage.css +111 -0
- package/css/danmaku.css +89 -0
- package/css/essay.css +306 -0
- package/css/iconfont.css +55 -0
- package/css/iconfont.ttf +0 -0
- package/css/iconfont.woff +0 -0
- package/css/iconfont.woff2 +0 -0
- package/css/index.css +7006 -0
- package/css/people.css +18 -0
- package/css/stylessimple.css +40 -0
- package/css/swiper.min.css +701 -0
- package/css/swiperstyle.css +567 -0
- package/css/var.css +0 -0
- package/essay/index.html +701 -0
- package/favicon.ico +0 -0
- package/fcircle/index.html +733 -0
- package/fontawesome/index.html +716 -0
- package/google.txt +10 -0
- package/googlebe706248808ee393.html +1 -0
- package/img/144.png +0 -0
- package/img/16.png +0 -0
- package/img/1666416625095-iPhone X.png +0 -0
- package/img/1666416702650-Macbook Pro 2016 (1).png +0 -0
- package/img/1666416764216-Nexus 9.png +0 -0
- package/img/180.png +0 -0
- package/img/192.png +0 -0
- package/img/20200904222157.png +0 -0
- package/img/20200924153652.png +0 -0
- package/img/256.png +0 -0
- package/img/36.png +0 -0
- package/img/48.png +0 -0
- package/img/512.png +0 -0
- package/img/72.png +0 -0
- package/img/72645310.jpg +0 -0
- package/img/8DSTSS20990281646044689944.PNG +0 -0
- package/img/96.png +0 -0
- package/img/O35HOG22090681654187900371.jpg +0 -0
- package/img/a.webp +0 -0
- package/img/ad.png +0 -0
- package/img/apple-touch-icon.png +0 -0
- package/img/avatar.jpg +0 -0
- package/img/buYgVO22990681624844309044.jpg +0 -0
- package/img/comment.png +0 -0
- package/img/favicon.ico +0 -0
- package/img/favicon.jpg +0 -0
- package/img/friend_404.gif +0 -0
- package/img/mqaizf23990681654186719414.jpeg +0 -0
- package/img/nyancat.gif +0 -0
- package/img/siteshot.png +0 -0
- package/img/uTools_1666416859497-iMac.png +0 -0
- package/img-col/index.html +802 -0
- package/index.html +1056 -0
- package/js/aplayersave.js +268 -0
- package/js/baiduhistory.js +76 -0
- package/js/bbtalk.js +11354 -0
- package/js/bbtalklunbo.js +78 -0
- package/js/browser.js +35 -0
- package/js/calendar.js +380 -0
- package/js/cate.js +22 -0
- package/js/commentBarrage.js +240 -0
- package/js/commentsCount.js +43 -0
- package/js/copy.js +23 -0
- package/js/countup.js +209 -0
- package/js/cursor.js +82 -0
- package/js/danmaku.js +106 -0
- package/js/day.js +199 -0
- package/js/dianzan.js +249 -0
- package/js/dis.js +255 -0
- package/js/dist/baiduhistory.dev.js +102 -0
- package/js/dist/bbtalk.dev.js +12876 -0
- package/js/dist/bbtalklunbo.dev.js +45 -0
- package/js/dist/calendar.dev.js +395 -0
- package/js/dist/fixbugpjax.dev.js +8 -0
- package/js/dist/gongnong.dev.js +565 -0
- package/js/dist/heimu.dev.js +19 -0
- package/js/dist/links.dev.js +13 -0
- package/js/dist/main.dev.js +845 -0
- package/js/dist/resizeTop.dev.js +50 -0
- package/js/dist/seo.dev.js +33 -0
- package/js/dist/twikoo.all.min.dev.js +1 -0
- package/js/fixbugpjax.js +7 -0
- package/js/fixed_card_widget.js +46 -0
- package/js/fps.js +58 -0
- package/js/gitalker.js +11 -0
- package/js/gsap.min.js +11 -0
- package/js/heimu.js +16 -0
- package/js/hide.show.js +17 -0
- package/js/jike.js +121 -0
- package/js/jikewater.js +60 -0
- package/js/languages.js +511 -0
- package/js/latest.js +49 -0
- package/js/local-search.js +476 -0
- package/js/lunar.js +1071 -0
- package/js/lyxTalk.js +12 -0
- package/js/main.js +783 -0
- package/js/nav.js +30 -0
- package/js/noie.js +3 -0
- package/js/owo.js +52 -0
- package/js/people.js +175 -0
- package/js/pikaday.js +109 -0
- package/js/random.js +1 -0
- package/js/randomFriend.js +95 -0
- package/js/resizeTop.js +43 -0
- package/js/rightmenu.js +335 -0
- package/js/sakura.js +164 -0
- package/js/search/algolia.js +155 -0
- package/js/search/local-search.js +188 -0
- package/js/settings.js +353 -0
- package/js/sitetime.js +25 -0
- package/js/smooth-scrolling.js +546 -0
- package/js/sw-toolbox.js +16 -0
- package/js/swiperinit.js +23 -0
- package/js/tw_cn.js +100 -0
- package/js/twikoo.all.min.js +2 -0
- package/js/utils.js +278 -0
- package/js/welcome.js +107 -0
- package/js/welcomeconsole.js +23 -0
- package/links/index.html +842 -0
- package/live2d-widget/LICENSE +674 -0
- package/live2d-widget/README.md +188 -0
- package/live2d-widget/assets/screenshot-1.png +0 -0
- package/live2d-widget/assets/screenshot-2.png +0 -0
- package/live2d-widget/assets/screenshot-3.png +0 -0
- package/live2d-widget/autoload.js +63 -0
- package/live2d-widget/demo/demo.html +34 -0
- package/live2d-widget/demo/login.html +271 -0
- package/live2d-widget/live2d.min.js +1 -0
- package/live2d-widget/package.json +31 -0
- package/live2d-widget/rollup.config.js +38 -0
- package/live2d-widget/src/index.js +178 -0
- package/live2d-widget/src/message.js +22 -0
- package/live2d-widget/src/model.js +75 -0
- package/live2d-widget/src/tools.js +78 -0
- package/live2d-widget/src/utils.js +5 -0
- package/live2d-widget/src/waifu-tips.js +3 -0
- package/live2d-widget/waifu-tips.js +5 -0
- package/live2d-widget/waifu-tips.json +255 -0
- package/live2d-widget/waifu.css +310 -0
- package/manifest.json +1 -0
- package/noie.html +69 -0
- package/othersite/index.html +779 -0
- package/owo.json +1 -0
- package/package.json +1 -0
- package/people.html +24 -0
- package/posts/164ef646/index.html +1027 -0
- package/posts/228c2ef8/index.html +1014 -0
- package/posts/4a17b156/index.html +1010 -0
- package/posts/6f3c565b/index.html +1013 -0
- package/posts/7da7c3f6/index.html +1070 -0
- package/posts/a9a6c1fb/index.html +1041 -0
- package/posts/c262e439/index.html +1002 -0
- package/posts/c81531cf/index.html +1080 -0
- package/posts/da2093a1/index.html +1022 -0
- package/posts/e54f7476/index.html +1052 -0
- package/projects.html +424 -0
- package/random.html +32 -0
- package/robots.txt +17 -0
- package/search.xml +309 -0
- package/sitemap.txt +62 -0
- package/sitemap.xml +488 -0
- package/sw.js +190 -0
- package/swReg.js +29 -0
- package/tags/AI/index.html +955 -0
- package/tags/Butterfly/index.html +955 -0
- package/tags/Cloudflare/index.html +955 -0
- package/tags/DiffSinger/index.html +955 -0
- package/tags/Hexo/index.html +955 -0
- package/tags/Next/index.html +955 -0
- package/tags/RAID/index.html +955 -0
- package/tags/VPS/index.html +955 -0
- package/tags/Vercel/index.html +955 -0
- package/tags/Workers/index.html +955 -0
- package/tags/hello-world/index.html +955 -0
- package/tags/index.html +710 -0
- package/tags//344/270/273/351/242/230/index.html +955 -0
- package/tags//344/272/221/346/234/215/345/212/241/345/231/250/index.html +955 -0
- package/tags//344/276/277/345/256/234/index.html +955 -0
- package/tags//345/206/231/344/275/234/index.html +955 -0
- package/tags//345/245/263/346/200/247/346/204/217/350/257/206/index.html +955 -0
- package/tags//345/255/246/344/271/240/index.html +955 -0
- package/tags//345/256/266/351/207/214/344/272/221/index.html +955 -0
- package/tags//345/271/264/347/273/210/346/200/273/347/273/223/index.html +955 -0
- package/tags//346/200/247/344/273/267/346/257/224/index.html +955 -0
- package/tags//346/212/230/350/205/276/index.html +955 -0
- package/tags//346/217/220/344/276/233/345/225/206/index.html +955 -0
- package/tags//346/227/245/345/270/270/index.html +955 -0
- package/tags//346/234/215/345/212/241/345/231/250/index.html +955 -0
- package/tags//346/265/252/346/275/256/index.html +955 -0
- package/tags//347/256/200/347/210/261/index.html +955 -0
- package/tags//350/207/252/345/212/250/346/240/207/346/263/250/index.html +955 -0
- package/tags//350/256/272/346/226/207/index.html +955 -0
- package/tags//350/260/267/346/255/214/347/277/273/350/257/221/index.html +955 -0
- package/tags//350/264/237/350/275/275/345/235/207/350/241/241/index.html +955 -0
- package/tags//351/207/221/345/217/245/index.html +955 -0
- package/tags//351/255/224/346/224/271/index.html +955 -0
@@ -0,0 +1,1014 @@
|
|
1
|
+
<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"><title>家里云折腾之路——如何把一台好好的浪潮NF5270M3玩坏 | 梦溯·镜影</title><meta name="keywords" content="浪潮,服务器,折腾,家里云,RAID"><meta name="author" content="Q78KG"><meta name="copyright" content="Q78KG"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta name="description" content="本文存在非常多的弱智操作,阅读时请丢掉你的脑子 每天,我都会在b站刷到一堆关于如何折腾NAS、开发板等硬件产品的视频。我那躁动的心啊。从某一天起,我就对拥有一台正经的家里云期待不已。而在把我们家的那台遥遥领先H6子路由卖出后,我终于能够有245大洋资金在小黄鱼上购入一台浪潮NF5270M3准系统。而这,也成了噩梦的开始。 折腾的开端 三天之后,我如期收到了服务器,于是迫不及待地把两颗10核20线">
|
2
|
+
<meta property="og:type" content="article">
|
3
|
+
<meta property="og:title" content="家里云折腾之路——如何把一台好好的浪潮NF5270M3玩坏">
|
4
|
+
<meta property="og:url" content="https://anjiurine.top/posts/228c2ef8/index.html">
|
5
|
+
<meta property="og:site_name" content="梦溯·镜影">
|
6
|
+
<meta property="og:description" content="本文存在非常多的弱智操作,阅读时请丢掉你的脑子 每天,我都会在b站刷到一堆关于如何折腾NAS、开发板等硬件产品的视频。我那躁动的心啊。从某一天起,我就对拥有一台正经的家里云期待不已。而在把我们家的那台遥遥领先H6子路由卖出后,我终于能够有245大洋资金在小黄鱼上购入一台浪潮NF5270M3准系统。而这,也成了噩梦的开始。 折腾的开端 三天之后,我如期收到了服务器,于是迫不及待地把两颗10核20线">
|
7
|
+
<meta property="og:locale" content="zh_CN">
|
8
|
+
<meta property="og:image" content="https://pximg.anjiurine.top/img-original/img/2020/02/24/00/00/10/79687052_p0.jpg">
|
9
|
+
<meta property="article:published_time" content="2024-02-08T16:00:00.000Z">
|
10
|
+
<meta property="article:modified_time" content="2024-03-20T12:24:55.358Z">
|
11
|
+
<meta property="article:author" content="Q78KG">
|
12
|
+
<meta property="article:tag" content="浪潮">
|
13
|
+
<meta property="article:tag" content="服务器">
|
14
|
+
<meta property="article:tag" content="折腾">
|
15
|
+
<meta property="article:tag" content="家里云">
|
16
|
+
<meta property="article:tag" content="RAID">
|
17
|
+
<meta name="twitter:card" content="summary">
|
18
|
+
<meta name="twitter:image" content="https://pximg.anjiurine.top/img-original/img/2020/02/24/00/00/10/79687052_p0.jpg"><link rel="shortcut icon" href="https://registry.npmmirror.com/q78kg-website-npm-cdn/latest/files/avatar-60x60.png"><link rel="canonical" href="https://anjiurine.top/posts/228c2ef8/"><link rel="preconnect" href="//jsd.anjiurine.top"><link rel="preconnect" href="//static.cloudflareinsights.com"><link rel="preconnect" href="//cdn.dusays.com"><link rel="manifest" href="/manifest.json"><link rel="apple-touch-icon" sizes="180x180" href="https://registry.npmmirror.com/q78kg-website-npm-cdn/latest/files/avatar.png"><link rel="icon" type="image/png" sizes="32x32" href="https://registry.npmmirror.com/q78kg-website-npm-cdn/latest/files/avatar.png"><link rel="icon" type="image/png" sizes="16x16" href="https://registry.npmmirror.com/q78kg-website-npm-cdn/latest/files/avatar.png"><link rel="mask-icon" href="/img/safari-pinned-tab.svg" color="#5bbad5"><link rel="stylesheet" href="/css/index.css"><link rel="stylesheet" href="https://jsd.anjiurine.top/npm/@fortawesome/fontawesome-free@6/css/all.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://jsd.anjiurine.top/npm/node-snackbar/dist/snackbar.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://jsd.anjiurine.top/npm/@fancyapps/ui/dist/fancybox.css" media="print" onload="this.media='all'"><script defer="defer" data-pjax="data-pjax" src="https://static.cloudflareinsights.com/beacon.min.js" data-cf-beacon="{"token": "87c9b7f9ab404af1a750443261226d3c"}"></script><script>const GLOBAL_CONFIG = {
|
19
|
+
root: '/',
|
20
|
+
algolia: undefined,
|
21
|
+
localSearch: {"path":"/search.xml","preload":true,"languages":{"hits_empty":"找不到您查询的内容:${query}"}},
|
22
|
+
translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"简","msgToSimplifiedChinese":"繁"},
|
23
|
+
noticeOutdate: {"limitDay":120,"position":"top","messagePrev":"距离上次更新已经过了","messageNext":"天,文章所描述的內容可能已经发生变化,请留意"},
|
24
|
+
highlight: {"plugin":"highlighjs","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":500},
|
25
|
+
copy: {
|
26
|
+
success: '复制成功',
|
27
|
+
error: '复制错误',
|
28
|
+
noSupport: '浏览器不支持'
|
29
|
+
},
|
30
|
+
relativeDate: {
|
31
|
+
homepage: false,
|
32
|
+
post: false
|
33
|
+
},
|
34
|
+
runtime: '天',
|
35
|
+
date_suffix: {
|
36
|
+
just: '刚刚',
|
37
|
+
min: '分钟前',
|
38
|
+
hour: '小时前',
|
39
|
+
day: '天前',
|
40
|
+
month: '个月前'
|
41
|
+
},
|
42
|
+
copyright: {"limitCount":50,"languages":{"author":"作者: Q78KG","link":"链接: ","source":"来源: 梦溯·镜影","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}},
|
43
|
+
lightbox: 'fancybox',
|
44
|
+
Snackbar: {"chs_to_cht":"你已切换为繁体","cht_to_chs":"你已切换为简体","day_to_night":"你已切换为深色模式","night_to_day":"你已切换为浅色模式","bgLight":"#49b1f5","bgDark":"#1f1f1f","position":"top-right"},
|
45
|
+
source: {
|
46
|
+
justifiedGallery: {
|
47
|
+
js: 'https://jsd.anjiurine.top/npm/flickr-justified-gallery@2/dist/fjGallery.min.js',
|
48
|
+
css: 'https://jsd.anjiurine.top/npm/flickr-justified-gallery@2/dist/fjGallery.min.css'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
isPhotoFigcaption: false,
|
52
|
+
islazyload: false,
|
53
|
+
isAnchor: false
|
54
|
+
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
|
55
|
+
title: '家里云折腾之路——如何把一台好好的浪潮NF5270M3玩坏',
|
56
|
+
isPost: true,
|
57
|
+
isHome: false,
|
58
|
+
isHighlightShrink: false,
|
59
|
+
isToc: true,
|
60
|
+
postUpdate: '2024-03-20 20:24:55'
|
61
|
+
}</script><noscript><style type="text/css">
|
62
|
+
#nav {
|
63
|
+
opacity: 1
|
64
|
+
}
|
65
|
+
.justified-gallery img {
|
66
|
+
opacity: 1
|
67
|
+
}
|
68
|
+
|
69
|
+
#recent-posts time,
|
70
|
+
#post-meta time {
|
71
|
+
display: inline !important
|
72
|
+
}
|
73
|
+
</style></noscript><script>(win=>{
|
74
|
+
win.saveToLocal = {
|
75
|
+
set: function setWithExpiry(key, value, ttl) {
|
76
|
+
if (ttl === 0) return
|
77
|
+
const now = new Date()
|
78
|
+
const expiryDay = ttl * 86400000
|
79
|
+
const item = {
|
80
|
+
value: value,
|
81
|
+
expiry: now.getTime() + expiryDay,
|
82
|
+
}
|
83
|
+
localStorage.setItem(key, JSON.stringify(item))
|
84
|
+
},
|
85
|
+
|
86
|
+
get: function getWithExpiry(key) {
|
87
|
+
const itemStr = localStorage.getItem(key)
|
88
|
+
|
89
|
+
if (!itemStr) {
|
90
|
+
return undefined
|
91
|
+
}
|
92
|
+
const item = JSON.parse(itemStr)
|
93
|
+
const now = new Date()
|
94
|
+
|
95
|
+
if (now.getTime() > item.expiry) {
|
96
|
+
localStorage.removeItem(key)
|
97
|
+
return undefined
|
98
|
+
}
|
99
|
+
return item.value
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
win.getScript = url => new Promise((resolve, reject) => {
|
104
|
+
const script = document.createElement('script')
|
105
|
+
script.src = url
|
106
|
+
script.async = true
|
107
|
+
script.onerror = reject
|
108
|
+
script.onload = script.onreadystatechange = function() {
|
109
|
+
const loadState = this.readyState
|
110
|
+
if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
|
111
|
+
script.onload = script.onreadystatechange = null
|
112
|
+
resolve()
|
113
|
+
}
|
114
|
+
document.head.appendChild(script)
|
115
|
+
})
|
116
|
+
|
117
|
+
win.activateDarkMode = function () {
|
118
|
+
document.documentElement.setAttribute('data-theme', 'dark')
|
119
|
+
if (document.querySelector('meta[name="theme-color"]') !== null) {
|
120
|
+
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
|
121
|
+
}
|
122
|
+
}
|
123
|
+
win.activateLightMode = function () {
|
124
|
+
document.documentElement.setAttribute('data-theme', 'light')
|
125
|
+
if (document.querySelector('meta[name="theme-color"]') !== null) {
|
126
|
+
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
|
127
|
+
}
|
128
|
+
}
|
129
|
+
const t = saveToLocal.get('theme')
|
130
|
+
|
131
|
+
const isDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches
|
132
|
+
const isLightMode = window.matchMedia('(prefers-color-scheme: light)').matches
|
133
|
+
const isNotSpecified = window.matchMedia('(prefers-color-scheme: no-preference)').matches
|
134
|
+
const hasNoSupport = !isDarkMode && !isLightMode && !isNotSpecified
|
135
|
+
|
136
|
+
if (t === undefined) {
|
137
|
+
if (isLightMode) activateLightMode()
|
138
|
+
else if (isDarkMode) activateDarkMode()
|
139
|
+
else if (isNotSpecified || hasNoSupport) {
|
140
|
+
const now = new Date()
|
141
|
+
const hour = now.getHours()
|
142
|
+
const isNight = hour <= 6 || hour >= 18
|
143
|
+
isNight ? activateDarkMode() : activateLightMode()
|
144
|
+
}
|
145
|
+
window.matchMedia('(prefers-color-scheme: dark)').addListener(function (e) {
|
146
|
+
if (saveToLocal.get('theme') === undefined) {
|
147
|
+
e.matches ? activateDarkMode() : activateLightMode()
|
148
|
+
}
|
149
|
+
})
|
150
|
+
} else if (t === 'light') activateLightMode()
|
151
|
+
else activateDarkMode()
|
152
|
+
|
153
|
+
const asideStatus = saveToLocal.get('aside-status')
|
154
|
+
if (asideStatus !== undefined) {
|
155
|
+
if (asideStatus === 'hide') {
|
156
|
+
document.documentElement.classList.add('hide-aside')
|
157
|
+
} else {
|
158
|
+
document.documentElement.classList.remove('hide-aside')
|
159
|
+
}
|
160
|
+
}
|
161
|
+
|
162
|
+
const detectApple = () => {
|
163
|
+
if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
|
164
|
+
document.documentElement.classList.add('apple')
|
165
|
+
}
|
166
|
+
}
|
167
|
+
detectApple()
|
168
|
+
})(window)</script><link rel="stylesheet" type="text/css" href="https://registry.npmmirror.com/js-heo/latest/files/mainColor/heoMainColor.css"><link rel="stylesheet" type="text/css" href="https://registry.npmmirror.com/js-heo/latest/files/404/404.css"><script async="" data-pjax="" src="/js/jikewater.js"></script><script async="" data-pjax="" src="/js/jike.js"></script><link rel="stylesheet" type="text/css" href="/css/essay.css"><link rel="stylesheet" type="text/css" href="/css/404page.css"><script src="/live2d-widget/autoload.js"></script><link rel="stylesheet" href="/css/ariasakablog.css"><link id="css" rel="stylesheet" href="/css/stylessimple.css"><link rel="stylesheet" href="/css/iconfont.css"><style>#article-container h1:before, h2:before, h3:before, h4:before, h5:before, h6:before { -webkit-animation: avatar_turn_around 3s linear infinite; -moz-animation: avatar_turn_around 3s linear infinite; -o-animation: avatar_turn_around 3s linear infinite; -ms-animation: avatar_turn_around 3s linear infinite; animation: avatar_turn_around 3s linear infinite; }</style><style id="barragesColor"></style><style id="settingStyle"></style><style id="yjjs"></style><style id="themeColor"></style><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+SC"><link rel="stylesheet" href="https://jsd.anjiurine.top/gh/Zfour/Butterfly-card-history/baiduhistory/css/main.css"><link rel="stylesheet" href="/css/commentBarrage.css"><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Serif+SC"><link rel="stylesheet" type="text/css" href="https://registry.npmmirror.com/node-snackbar/latest/files/dist/snackbar.min.css"><script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script><script>LA.init({id: "JnlSnWLD7XChjrlx",ck: "JnlSnWLD7XChjrlx"})</script><script src="https://sdk.51.la/perf/js-sdk-perf.min.js" crossorigin="anonymous"></script><script>new LingQue.Monitor().init({id:"JnnW6bt2WtyehVan"});</script><script src="/swReg.js"></script></head><body><span id="fps"></span><style id="grays"></style><script src="https://registry.npmmirror.com/prefetch-page/latest/files"></script><script>addEventListener('DOMContentLoaded', function () {prefetch({ threshold: 25, delay: 3000, limit: 10 ,customs: ['search.xml']})});requestIdleCallback(function () {prefetch({ threshold: 25, delay: 3000, limit: 10,customs: ['search.xml']})})</script><!-- hexo injector head_end start --><link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/Zfour/Butterfly-card-history/baiduhistory/css/main.css"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Swiper/5.4.5/css/swiper.min.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://registry.npmmirror.com/hexo-butterfly-swiper-lyx/latest/files/lib/swiperstyle.css" media="print" onload="this.media='all'"><link rel="stylesheet" href="https://registry.npmmirror.com/hexo-butterfly-tag-plugins-plus/latest/files/lib/assets/font-awesome-animation.min.css" media="defer" onload="this.media='all'"><link rel="stylesheet" href="https://registry.npmmirror.com/hexo-butterfly-tag-plugins-plus/latest/files/lib/tag_plugins.css" media="defer" onload="this.media='all'"><script src="https://registry.npmmirror.com/hexo-butterfly-tag-plugins-plus/latest/files/lib/assets/carousel-touch.js"></script><!-- hexo injector head_end end --><meta name="generator" content="Hexo 7.0.0"><link rel="alternate" href="/atom.xml" title="梦溯·镜影" type="application/atom+xml">
|
169
|
+
<div id="loading-box"><div class="loading-left-bg"></div><div class="loading-right-bg"></div><img src="/img/nyancat.gif" id="loadcat"></div><div id="web_bg"></div><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><hr><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fa fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);" rel="external nofollow noreferrer"><i class="fa-fw fa fa-newspaper"></i><span> 文章</span><!--i.fas.fa-chevron-down--></a><ul class="menus_item_child"><li><a class="site-page child" href="javascript:toRandomPost()" rel="external nofollow noreferrer"><i class="fa-fw fa fa-paper-plane"></i><span> 随便逛逛</span></a></li><li><a class="site-page child" href="/archives/"><i class="fa-fw fa fa-archive"></i><span> 归档</span></a></li><li><a class="site-page child" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></li><li><a class="site-page child" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);" rel="external nofollow noreferrer"><i class="fa-fw fa fa-sitemap"></i><span> 本站</span><!--i.fas.fa-chevron-down--></a><ul class="menus_item_child"><li><a class="site-page child" href="/links/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></li><li><a class="site-page child" href="/fcircle/"><i class="fa-fw fab fa-galactic-republic"></i><span> 朋友圈</span></a></li><li><a class="site-page child" href="/othersite/"><i class="fa-fw fa fa-tasks"></i><span> 分站</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);" rel="external nofollow noreferrer"><i class="fa-fw fa fa-briefcase"></i><span> 工具</span><!--i.fas.fa-chevron-down--></a><ul class="menus_item_child"><li><a class="site-page child" target="_blank" rel="noopener external nofollow noreferrer" href="https://pixiv.anjiurine.top/"><i class="fa-fw fa fa-book"></i><span> Pixiv镜像站</span></a></li><li><a class="site-page child" target="_blank" rel="noopener external nofollow noreferrer" href="https://api.anjiurine.top/"><i class="fa-fw fa fa-cube"></i><span> 公共API</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);" rel="external nofollow noreferrer"><i class="fa-fw fa-fw fas fa-address-card"></i><span> 我的</span><!--i.fas.fa-chevron-down--></a><ul class="menus_item_child"><li><a class="site-page child" href="/bangumis/"><i class="fa-fw fa-fw fas fa fa-film"></i><span> 追番</span></a></li><li><a class="site-page child" href="/about/"><i class="fa-fw fa fa-info-circle"></i><span> 关于我</span></a></li><li><a class="site-page child" href="/bigpie/"><i class="fa-fw fas fa-cheese"></i><span> 大饼</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);" rel="external nofollow noreferrer"><i class="fa-fw fas fa-link"></i><span> 线路</span><!--i.fas.fa-chevron-down--></a><ul class="menus_item_child"><li><a class="site-page child" href="https://anjiurine.top/"><span> 主站</span></a></li><li><a class="site-page child" target="_blank" rel="noopener external nofollow noreferrer" href="https://vercel.anjiurine.top/"><span> Vercel</span></a></li><li><a class="site-page child" target="_blank" rel="noopener external nofollow noreferrer" href="https://github.anjiurine.top/"><span> Github</span></a></li><li><a class="site-page child" target="_blank" rel="noopener external nofollow noreferrer" href="https://cf.anjiurine.top/"><span> Cloudflare</span></a></li></ul></div></div></div></div><div class="post" id="body-wrap"><header class="post-bg" id="page-header" style="background-image: url('https://pximg.anjiurine.top/img-original/img/2020/02/24/00/00/10/79687052_p0.jpg')"><nav id="nav"><span id="blog_name"><a id="site-name" href="/">梦溯·镜影</a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fa fa-home"></i><span> 首页</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);" rel="external nofollow noreferrer"><i class="fa-fw fa fa-newspaper"></i><span> 文章</span><!--i.fas.fa-chevron-down--></a><ul class="menus_item_child"><li><a class="site-page child" href="javascript:toRandomPost()" rel="external nofollow noreferrer"><i class="fa-fw fa fa-paper-plane"></i><span> 随便逛逛</span></a></li><li><a class="site-page child" href="/archives/"><i class="fa-fw fa fa-archive"></i><span> 归档</span></a></li><li><a class="site-page child" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></li><li><a class="site-page child" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);" rel="external nofollow noreferrer"><i class="fa-fw fa fa-sitemap"></i><span> 本站</span><!--i.fas.fa-chevron-down--></a><ul class="menus_item_child"><li><a class="site-page child" href="/links/"><i class="fa-fw fas fa-link"></i><span> 友链</span></a></li><li><a class="site-page child" href="/fcircle/"><i class="fa-fw fab fa-galactic-republic"></i><span> 朋友圈</span></a></li><li><a class="site-page child" href="/othersite/"><i class="fa-fw fa fa-tasks"></i><span> 分站</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);" rel="external nofollow noreferrer"><i class="fa-fw fa fa-briefcase"></i><span> 工具</span><!--i.fas.fa-chevron-down--></a><ul class="menus_item_child"><li><a class="site-page child" target="_blank" rel="noopener external nofollow noreferrer" href="https://pixiv.anjiurine.top/"><i class="fa-fw fa fa-book"></i><span> Pixiv镜像站</span></a></li><li><a class="site-page child" target="_blank" rel="noopener external nofollow noreferrer" href="https://api.anjiurine.top/"><i class="fa-fw fa fa-cube"></i><span> 公共API</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);" rel="external nofollow noreferrer"><i class="fa-fw fa-fw fas fa-address-card"></i><span> 我的</span><!--i.fas.fa-chevron-down--></a><ul class="menus_item_child"><li><a class="site-page child" href="/bangumis/"><i class="fa-fw fa-fw fas fa fa-film"></i><span> 追番</span></a></li><li><a class="site-page child" href="/about/"><i class="fa-fw fa fa-info-circle"></i><span> 关于我</span></a></li><li><a class="site-page child" href="/bigpie/"><i class="fa-fw fas fa-cheese"></i><span> 大饼</span></a></li></ul></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);" rel="external nofollow noreferrer"><i class="fa-fw fas fa-link"></i><span> 线路</span><!--i.fas.fa-chevron-down--></a><ul class="menus_item_child"><li><a class="site-page child" href="https://anjiurine.top/"><span> 主站</span></a></li><li><a class="site-page child" target="_blank" rel="noopener external nofollow noreferrer" href="https://vercel.anjiurine.top/"><span> Vercel</span></a></li><li><a class="site-page child" target="_blank" rel="noopener external nofollow noreferrer" href="https://github.anjiurine.top/"><span> Github</span></a></li><li><a class="site-page child" target="_blank" rel="noopener external nofollow noreferrer" href="https://cf.anjiurine.top/"><span> Cloudflare</span></a></li></ul></div></div><center id="name-container"><a id="page-name" href="javascript:rmf.scrollToTop()" rel="external nofollow noreferrer">PAGE_NAME</a></center></div><div id="toggleButtons"><div id="search-button"><a class="site-page social-icon search"><i class="fas fa-search fa-fw"></i><!--span=' '+_p('search.title')--></a></div><div id="randoms"><a class="site-page social-icon" href="javascript:toRandomPost()" rel="external nofollow noreferrer"><i class="fa fa-paper-plane"></i></a></div><div id="travellings"><a class="site-page social-icon" target="_blank" rel="noopener external nofollow noreferrer" href="https://travellings.link"><i class="fa fa-subway"></i></a></div><div id="toggle-menu"><a class="site-page"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="post-info"><h1 class="post-title">家里云折腾之路——如何把一台好好的浪潮NF5270M3玩坏</h1><div id="post-meta"><div class="meta-firstline"><span class="post-meta-date"><i class="far fa-calendar-alt fa-fw post-meta-icon"></i><span class="post-meta-label">发表于</span><time class="post-meta-date-created" datetime="2024-02-08T16:00:00.000Z" title="发表于 2024-02-09 00:00:00">2024-02-09</time><span class="post-meta-separator">|</span><i class="fas fa-history fa-fw post-meta-icon"></i><span class="post-meta-label">更新于</span><time class="post-meta-date-updated" datetime="2024-03-20T12:24:55.358Z" title="更新于 2024-03-20 20:24:55">2024-03-20</time></span><span class="post-meta-categories"><span class="post-meta-separator">|</span><i class="fas fa-inbox fa-fw post-meta-icon"></i><a class="post-meta-categories" href="/categories/%E9%97%B2%E8%81%8A%E6%9D%82%E8%B0%88/">闲聊杂谈</a></span></div><div class="meta-secondline"><span class="post-meta-separator">|</span><span class="post-meta-wordcount"><i class="far fa-file-word fa-fw post-meta-icon"></i><span class="post-meta-label">字数总计:</span><span class="word-count">742</span><span class="post-meta-separator">|</span><i class="far fa-clock fa-fw post-meta-icon"></i><span class="post-meta-label">阅读时长:</span><span>2分钟</span></span><span class="post-meta-separator">|</span><span id="" data-flag-title="家里云折腾之路——如何把一台好好的浪潮NF5270M3玩坏"><i class="far fa-eye fa-fw post-meta-icon"></i><span class="post-meta-label">阅读量:</span><span id="twikoo_visitors"></span></span><span class="post-meta-separator">|</span><span class="post-meta-commentcount"><i class="far fa-comments fa-fw post-meta-icon"></i><span class="post-meta-label">评论数:</span><a href="/posts/228c2ef8/#post-comment"><span id="twikoo-count"></span></a></span><span class="post-meta-separator">| <span class="post-meta-dianzan"><a class="dianzan" href="javascript:void(0)" rel="external nofollow noreferrer" onclick="dianzan()"><i class="fas fa-thumbs-up"></i></a><span class="post-meta-label"> 点赞:</span><span class="dianzan-count">0</span></span></span></div></div></div></header><main class="layout" id="content-inner"><div id="post"><article class="post-content" id="article-container"><p><strong>本文存在非常多的弱智操作,阅读时请丢掉你的脑子</strong></p>
|
170
|
+
<p>每天,我都会在b站刷到一堆关于如何折腾NAS、开发板等硬件产品的视频。我那躁动的心啊。从某一天起,我就对拥有一台正经的家里云期待不已。而在把我们家的那台遥遥领先H6子路由卖出后,我终于能够有245大洋资金在小黄鱼上购入一台浪潮NF5270M3准系统。而这,也成了噩梦的开始。</p>
|
171
|
+
<h2 id="折腾的开端"><a class="markdownIt-Anchor" href="#折腾的开端"></a> 折腾的开端</h2>
|
172
|
+
<p>三天之后,我如期收到了服务器,于是迫不及待地把两颗10核20线程CPU和两根大佬送的16G DDR3 ECC内存插上。再将硬盘插入硬盘槽,直接上电。这时我突然发现没有视频输出接口,只得买了vga转hdmi接口作罢。此时我开始按照说明书进入了BMC管理接口,看到固件版本还是2012年的,小手一贱点了升级,一直没反应,于是着急忙慌断电重启,从此管理口成功的被我玩废了。</p>
|
173
|
+
<p>又是两天后,接口到了,发现插上之后没有输出,便又去买了张14块的亮机卡。又是两天,亮机卡到了,进bios一看,好嘛,人家主板默认独显输出,难怪vga没信号,直接买亮机卡得了。</p>
|
174
|
+
<p>接着,一看,没有硬盘,一查才知道要搭配阵列卡。于是乎又去小黄鱼买了一张阵列卡。买卡的时候没看配置,结果买到了一张仅支持RAID0和RAID1的烂卡,好在装上了系统。然后又去买一张支持RAID6的。</p>
|
175
|
+
<h2 id="然后"><a class="markdownIt-Anchor" href="#然后"></a> 然后</h2>
|
176
|
+
<p>在等待阵列卡到的同时,我开始思考怎么将BMC救回来,通过浪潮的官网,发现BMC是可以被强制刷新的,于是乎便下载了工具。在刷新的过程中,需要查阅工具文档,但是因为工具文档年久失修,文不对题,然后我发现每个工具的压缩包内都有一个boot.bin文件,然后看到文档内需要刷新的固件也是.bin,就把boot.bin当作固件刷进去了。实际上,压缩包根目录那个没有后缀的约30m的文件才是固件,这时BMC就彻底被我刷废了。</p>
|
177
|
+
<h2 id="当阵列卡到了"><a class="markdownIt-Anchor" href="#当阵列卡到了"></a> 当阵列卡到了</h2>
|
178
|
+
<p>然后就开始装系统。浅浅组了个RAID6,在开机的时候,由于BMC被刷坏,风扇彻底失去控制,如同脱缰的波音747一样非常的喧嚣。我人在一片喧嚣之中给服务器装系统,系统装到一半报BMC错误,然后我不信邪的疯狂的重建启动盘,成功的刷废两个U盘。</p>
|
179
|
+
<h2 id="再然后"><a class="markdownIt-Anchor" href="#再然后"></a> 再然后</h2>
|
180
|
+
<p>阵列卡管理系统不知怎得原地爆炸,无法自检</p>
|
181
|
+
<h2 id="再再然后"><a class="markdownIt-Anchor" href="#再再然后"></a> 再再然后</h2>
|
182
|
+
<p>拆解机器,卖掉配件回收成本</p>
|
183
|
+
</article><div class="post-copyright"><div class="post-copyright__title"><span class="post-copyright-info"><h>家里云折腾之路——如何把一台好好的浪潮NF5270M3玩坏</h></span></div><div class="post-copyright__type"><span class="post-copyright-info"><a href="https://anjiurine.top/posts/228c2ef8/">https://anjiurine.top/posts/228c2ef8/</a></span></div><div class="post-copyright-m"><div class="post-copyright-m-info"><div class="post-copyright-a" style="display: inline-block;width: 120px"><h>作者</h><div class="post-copyright-cc-info"><h>Q78KG</h></div></div><div class="post-copyright-c" style="display: inline-block;width: 120px"><h>发布于</h><div class="post-copyright-cc-info"><h>2024-02-09</h></div></div><div class="post-copyright-u" style="display: inline-block;width: 120px"><h>更新于</h><div class="post-copyright-cc-info"><h>2024-03-20</h></div></div><div class="post-copyright-c" style="display: inline-block;width: 180px"><h>许可协议</h><div class="post-copyright-cc-info"><a class="icon" rel="noopener external nofollow noreferrer" target="_blank" title="Creative Commons" href="https://creativecommons.org/"><i class="fab fa-creative-commons"></i></a><a rel="noopener external nofollow noreferrer" target="_blank" title="CC BY-NC-SA 4.0" href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh">CC BY-NC-SA 4.0</a></div></div></div></div></div><div class="tag_share"><div class="post-meta__tag-list"><a class="post-meta__tags" href="/tags/%E6%B5%AA%E6%BD%AE/">浪潮</a><a class="post-meta__tags" href="/tags/%E6%9C%8D%E5%8A%A1%E5%99%A8/">服务器</a><a class="post-meta__tags" href="/tags/%E6%8A%98%E8%85%BE/">折腾</a><a class="post-meta__tags" href="/tags/%E5%AE%B6%E9%87%8C%E4%BA%91/">家里云</a><a class="post-meta__tags" href="/tags/RAID/">RAID</a></div><div class="post_share"><div class="social-share" data-image="https://pximg.anjiurine.top/img-original/img/2020/02/24/00/00/10/79687052_p0.jpg" data-sites="wechat,weibo,qq"></div><link rel="stylesheet" href="https://jsd.anjiurine.top/npm/social-share.js/dist/css/share.min.css" media="print" onload="this.media='all'"><script src="https://jsd.anjiurine.top/gh/overtrue/share.js@master/dist/js/social-share.min.js" defer=""></script></div></div><nav class="pagination-post" id="pagination"><div class="prev-post pull-full"><a href="/posts/da2093a1/"><img class="prev-cover" src="https://pximg.anjiurine.top/img-original/img/2024/02/06/00/17/01/115799920_p0.jpg" onerror="onerror=null;src='https://api.vvhan.com/api/acgimg'" alt="cover of previous post"><div class="pagination-info"><div class="label">上一篇</div><div class="prev_info">2024,哪些服务器提供商的性价比高?</div></div></a></div></nav><hr><div id="post-comment"><div class="comment-head"><div class="comment-headline"><i class="fas fa-comments fa-fw"></i><span> 评论</span></div></div><div class="comment-wrap"><div><div id="twikoo-wrap"></div></div></div></div></div><div class="aside-content" id="aside-content"><div class="card-widget card-info"><div class="fgx"><div class="avatar_img"><img style="border-radius:10px" src="https://registry.npmmirror.com/q78kg-website-npm-cdn/latest/files/avatar-60x60.png" onerror="this.onerror=null;this.src='https://apis.yisous.xyz/api/randomAvatar'" alt="avatar"></div><div class="author-info__description">这是梦溯·镜影,会时不时发一些自己都没眼看的文章</div><div class="rights"><div class="author-info__name">Q78KG</div><div class="card-info-data site-data is-center"><a class="adiv" href="/archives/"><div class="headline">文章</div><div class="length-num">10</div></a><a class="adiv" href="/tags/"><div class="headline">标签</div><div class="length-num">32</div></a><a class="adiv" href="/categories/"><div class="headline">分类</div><div class="length-num">6</div></a></div></div></div><div class="card-info-social-icons"><a class="social-icon" href="https://github.com/Hoshino-Yumetsuki" rel="external nofollow noreferrer" target="_blank" title="Github"><i class="fab fa-github"></i></a></div></div><div class="card-widget card-announcement"><div class="item-headline"><i class="fas fa-bullhorn fa-shake"></i><span>公告</span></div><div class="announcement_content">本网站的Twikoo评论系统使用Cravatar头像系统,请自行绑定邮箱配置</div></div><div class="card-widget card-history"><div class="card-content"><div class="item-headline"><i class="fas fa-clock fa-spin"></i><span>那年今日</span></div><div id="history-baidu" style="height: 100px;overflow: hidden;"><div class="history_swiper-container" id="history-container" style="width: 100%;height: 100%;"><div class="swiper-wrapper" id="history_container_wrapper" style="height:20px"></div></div></div></div></div><div class="sticky_layout"><div class="card-widget" id="card-toc"><div class="item-headline"><i class="fas fa-stream"></i><span>目录</span><span class="toc-percentage"></span></div><div class="toc-content"><ol class="toc"><li class="toc-item toc-level-2"><a class="toc-link" href="#%E6%8A%98%E8%85%BE%E7%9A%84%E5%BC%80%E7%AB%AF"><span class="toc-number">1.</span> <span class="toc-text"> 折腾的开端</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E7%84%B6%E5%90%8E"><span class="toc-number">2.</span> <span class="toc-text"> 然后</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%BD%93%E9%98%B5%E5%88%97%E5%8D%A1%E5%88%B0%E4%BA%86"><span class="toc-number">3.</span> <span class="toc-text"> 当阵列卡到了</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%86%8D%E7%84%B6%E5%90%8E"><span class="toc-number">4.</span> <span class="toc-text"> 再然后</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#%E5%86%8D%E5%86%8D%E7%84%B6%E5%90%8E"><span class="toc-number">5.</span> <span class="toc-text"> 再再然后</span></a></li></ol></div></div><div class="card-widget card-recent-post"><div class="item-headline"><i class="fas fa-history"></i><span>最新文章</span></div><div class="aside-list"><div class="aside-list-item"><a class="thumbnail" href="/posts/228c2ef8/" title="家里云折腾之路——如何把一台好好的浪潮NF5270M3玩坏"><img src="https://pximg.anjiurine.top/img-original/img/2020/02/24/00/00/10/79687052_p0.jpg" onerror="this.onerror=null;this.src='https://api.vvhan.com/api/acgimg'" alt="家里云折腾之路——如何把一台好好的浪潮NF5270M3玩坏"></a><div class="content"><a class="title" href="/posts/228c2ef8/" title="家里云折腾之路——如何把一台好好的浪潮NF5270M3玩坏">家里云折腾之路——如何把一台好好的浪潮NF5270M3玩坏</a><time datetime="2024-02-08T16:00:00.000Z" title="发表于 2024-02-09 00:00:00">2024-02-09</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/da2093a1/" title="2024,哪些服务器提供商的性价比高?"><img src="https://pximg.anjiurine.top/img-original/img/2024/02/06/00/17/01/115799920_p0.jpg" onerror="this.onerror=null;this.src='https://api.vvhan.com/api/acgimg'" alt="2024,哪些服务器提供商的性价比高?"></a><div class="content"><a class="title" href="/posts/da2093a1/" title="2024,哪些服务器提供商的性价比高?">2024,哪些服务器提供商的性价比高?</a><time datetime="2024-02-07T16:00:00.000Z" title="发表于 2024-02-08 00:00:00">2024-02-08</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/c262e439/" title="2023年终总结"><img src="https://pximg.anjiurine.top/img-original/img/2023/11/14/12/04/37/113398570_p0.jpg" onerror="this.onerror=null;this.src='https://api.vvhan.com/api/acgimg'" alt="2023年终总结"></a><div class="content"><a class="title" href="/posts/c262e439/" title="2023年终总结">2023年终总结</a><time datetime="2023-12-31T16:00:00.000Z" title="发表于 2024-01-01 00:00:00">2024-01-01</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/7da7c3f6/" title="这可能是首个DiffSinger数据集全自动标注工具——Fast-Phasr-Next"><img src="https://pximg.anjiurine.top/img-original/img/2022/07/11/17/28/44/99654366_p0.jpg" onerror="this.onerror=null;this.src='https://api.vvhan.com/api/acgimg'" alt="这可能是首个DiffSinger数据集全自动标注工具——Fast-Phasr-Next"></a><div class="content"><a class="title" href="/posts/7da7c3f6/" title="这可能是首个DiffSinger数据集全自动标注工具——Fast-Phasr-Next">这可能是首个DiffSinger数据集全自动标注工具——Fast-Phasr-Next</a><time datetime="2023-09-28T16:00:00.000Z" title="发表于 2023-09-29 00:00:00">2023-09-29</time></div></div><div class="aside-list-item"><a class="thumbnail" href="/posts/6f3c565b/" title="拯救流量爆炸的vercel——使用Cloudflare Workers做负载均衡"><img src="https://registry.npmmirror.com/q78kg-website-npm-cdn/latest/files/MXP1xJAnYDlLGWT.jpg" onerror="this.onerror=null;this.src='https://api.vvhan.com/api/acgimg'" alt="拯救流量爆炸的vercel——使用Cloudflare Workers做负载均衡"></a><div class="content"><a class="title" href="/posts/6f3c565b/" title="拯救流量爆炸的vercel——使用Cloudflare Workers做负载均衡">拯救流量爆炸的vercel——使用Cloudflare Workers做负载均衡</a><time datetime="2023-09-16T16:00:00.000Z" title="发表于 2023-09-17 00:00:00">2023-09-17</time></div></div></div></div><div class="card-widget card-weather" style="width:100%,height:270px"><div class="item-headline"><i class="fas fa-cloud-sun"></i><span>天气</span></div><div id="he-plugin-standard"></div><script>WIDGET = {
|
184
|
+
"CONFIG": {
|
185
|
+
"layout": "2",
|
186
|
+
"width": 270,
|
187
|
+
"height": 270,
|
188
|
+
"background": "5",
|
189
|
+
"dataColor": "000000",
|
190
|
+
"key": "170186298b184055bafbb4d30e4322a7"
|
191
|
+
}
|
192
|
+
}</script><script src="https://widget.qweather.net/standard/static/js/he-standard-common.js?v=2.0"></script></div></div></div></main><footer id="footer" style="background: transparent"><div id="footer-wrap"><div class="social-icons"></div><div class="copyright">©2022 - 2024 By Q78KG</div><div class="framework-info"></div><div class="footer_custom_text" id="footer_custom_text">这个小破站已运行{y}年{d}天{s}时{min}分{sec}秒</div></div></footer></div><div id="rightside"><div id="rightside-config-hide"></div><div id="rightside-config-show"><button id="readmode" type="button" title="阅读模式"><i class="fas fa-book-open"></i></button><button id="translateLink" type="button" title="简繁转换">简</button><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button><button class="close" id="mobile-toc-button" type="button" title="目录"><i class="fas fa-list-ul"></i></button><a id="to_comment" href="#post-comment" title="直达评论"><i class="fas fa-comments"></i></a><a id="switch_commentBarrage" href="javascript:switchCommentBarrage();" rel="external nofollow noreferrer" title="开关弹幕"><i class="iconfont icon-danmu"></i></a><a id="opensettings" href="javascript:toggleWinbox();" rel="external nofollow noreferrer" title="博客设置"><i class="fa fa-wrench"></i></a><button id="go-up" type="button" title="回到顶部" onclick="rmf.scrollToTop()"><i class="fas fa-arrow-up"></i></button></div></div><div id="local-search"><div class="search-dialog"><nav class="search-nav"><span class="search-dialog-title">搜索</span><span id="loading-status"></span><button class="search-close-button"><i class="fas fa-times"></i></button></nav><div class="is-center" id="loading-database"><i class="fas fa-spinner fa-pulse"></i><span> 数据库加载中</span></div><div class="search-wrap"><div id="local-search-input"><div class="local-search-box"><input class="local-search-box--input" placeholder="搜索文章" type="text"></div></div><hr><div id="local-search-results"></div></div></div><div id="search-mask"></div></div><div class="js-pjax" id="rightMenu"><div class="rightMenu-group rightMenu-small"><a class="rightMenu-item" href="javascript:window.history.back();" rel="external nofollow noreferrer"><i class="fa fa-arrow-left"></i></a><a class="rightMenu-item" href="javascript:window.history.forward();" rel="external nofollow noreferrer"><i class="fa fa-arrow-right"></i></a><a class="rightMenu-item" href="javascript:window.location.reload();" rel="external nofollow noreferrer"><i class="fa fa-refresh"></i></a><a class="rightMenu-item" href="javascript:rmf.scrollToTop();" rel="external nofollow noreferrer"><i class="fa fa-arrow-up"></i></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-text"><a class="rightMenu-item" href="javascript:rmf.copySelect();" rel="external nofollow noreferrer"><i class="fa fa-copy"></i><span>复制</span></a><a class="rightMenu-item" href="javascript:window.open("https://www.baidu.com/s?wd="+window.getSelection().toString());window.location.reload();" rel="external nofollow noreferrer"><i class="iconfont icon-baidu"></i><span>百度搜索</span></a><a class="rightMenu-item" href="javascript:rmf.searchinThisPage();" rel="external nofollow noreferrer"><i class="fas fa-search"></i><span>站内搜索</span></a><a class="rightMenu-item" href="#post-comment" onclick="rmf.yinyong()"><i class="fa-solid fa-message"></i><span>引用文本评论</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-too"><a class="rightMenu-item" href="javascript:window.open(window.getSelection().toString());window.location.reload();" rel="external nofollow noreferrer"><i class="fa fa-link"></i><span>转到链接</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-paste"><a class="rightMenu-item" href="javascript:rmf.paste()" rel="external nofollow noreferrer"><i class="fa fa-copy"></i><span>粘贴</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-post"><a class="rightMenu-item" href="#post-comment"><i class="fas fa-comment"></i><span>空降评论</span></a><a class="rightMenu-item" href="javascript:switchCommentBarrage()" rel="external nofollow noreferrer"><i class="iconfont icon-danmu"></i><span>开/关评论弹幕</span></a><a class="rightMenu-item" href="javascript:rmf.copyWordsLink()" rel="external nofollow noreferrer"><i class="fa fa-link"></i><span>复制本文地址</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-to"><a class="rightMenu-item" href="javascript:rmf.openWithNewTab()" rel="external nofollow noreferrer"><i class="fa fa-window-restore"></i><span>新窗口打开</span></a><a class="rightMenu-item" id="menu-too" href="javascript:rmf.open()" rel="external nofollow noreferrer"><i class="fa fa-link"></i><span>转到链接</span></a><a class="rightMenu-item" href="javascript:rmf.copyLink()" rel="external nofollow noreferrer"><i class="fa fa-copy"></i><span>复制链接</span></a></div><div class="rightMenu-group rightMenu-line hide" id="menu-img"><a class="rightMenu-item" href="javascript:rmf.saveAs()" rel="external nofollow noreferrer"><i class="fa fa-download"></i><span>保存图片</span></a><a class="rightMenu-item" href="javascript:rmf.openWithNewTab()" rel="external nofollow noreferrer"><i class="fa fa-window-restore"></i><span>在新窗口打开</span></a><a class="rightMenu-item" href="javascript:rmf.click()" rel="external nofollow noreferrer"><i class="fa fa-arrows-alt"></i><span>全屏显示</span></a><a class="rightMenu-item" href="javascript:rmf.copyLink()" rel="external nofollow noreferrer"><i class="fa fa-copy"></i><span>复制图片链接</span></a></div><div class="rightMenu-group rightMenu-line"><a class="rightMenu-item" href="javascript:toRandomPost()" rel="external nofollow noreferrer"><i class="fa fa-paper-plane"></i><span>随便逛逛</span></a><a class="rightMenu-item" href="javascript:rmf.switchDarkMode();" rel="external nofollow noreferrer"><i class="fa fa-moon"></i><span>昼夜切换</span></a><a class="rightMenu-item" href="javascript:rmf.translate();" rel="external nofollow noreferrer"><i class="iconfont icon-fanti"></i><span>繁简转换</span></a><a class="rightMenu-item" href="javascript:pjax.loadUrl("/license/");" rel="external nofollow noreferrer"><i class="fa fa-info-circle"></i><span>版权声明</span></a><a class="rightMenu-item" href="javascript:toggleWinbox();" rel="external nofollow noreferrer"><i class="fas fa-cog"></i><span>博客设置</span></a><a class="rightMenu-item" href="javascript:fullScreen();" rel="external nofollow noreferrer"><i class="fas fa-expand"></i><span>进入全屏</span></a></div></div><div class="js-pjax" id="settingWindow"><span class="setting-title"> <span id="stt">控制面板</span><a id="close-console" onclick="toggleWinbox();">×</a></span><button id="backer" onclick="$('.asetting').hide();$('.settingx').show();$('#backer').hide()"><i class="fa fa-chevron-left"></i><span>返回</span></button><div class="settings"><div id="setting-buttons"><button class="settingx" onclick="$('#theme-settings').show();$('.settingx').hide();$('#backer').show();"><i class="fas fa-layer-group"></i><span>外观</span></button><button class="settingx" onclick="$('#font-settings').show();$('.settingx').hide();$('#backer').show();"><i class="fa fa-font"></i><span>字体</span></button><button class="settingx" onclick="$('#background-settings').show();$('.settingx').hide();$('#backer').show();"><i class="far fa-image"></i><span>背景</span></button><button class="settingx" onclick="$('#con-echarts').show();$('.settingx').hide();$('#backer').show();var evt = document.createEvent("HTMLEvents");evt.initEvent("resize", false, false);window.dispatchEvent(evt);"><i class="fas fa-chart-pie"></i><span>统计</span></button><button class="settingx" onclick="$('#con-abouts').show();$('.settingx').hide();$('#backer').show();"><i class="fa fa-cloud-download"></i><span>关于</span></button></div><div id="setting-hides"><div class="asetting" id="theme-settings"><h2 class="content-head">性能设置</h2><p></p><div class="content" style="display:flex"><input id="blur" type="checkbox" onclick="setBlur()"><div class="content-text">禁用模糊效果</div></div><div class="content" style="display:flex"><input id="fpson" type="checkbox" onclick="fpssw()" style="flex-shrink: 0"><div class="content-text"><span>开启帧率检测(</span><a href="javascript:window.location.reload()" rel="external nofollow noreferrer">刷新</a><span>后生效)</span></div></div><p></p><p></p><h2 class="content-head">主题设置</h2><div class="content" style="display:flex"><input id="hideAplayer" type="checkbox" onclick="toggleAplayer()"><div class="content-text">显示aplayer</div></div><div class="content" style="display:flex"><input id="hideSakura" type="checkbox" onclick="toggleSakuras()"><div class="content-text">落樱特效</div></div><div class="content" style="display:flex"><input id="autoTheme" type="checkbox" onclick="toggleAutoTheme()"><div class="content-text">明暗模式自动切换</div></div><div class="content" style="display:flex"><input id="autoColor" type="checkbox" onclick="autoColor()"><div class="content-text">自动主题色(跟随文章封面)</div></div>未完工<div class="content" style="display:flex"><input id="hideAplayer" type="checkbox" onclick="toggleNav()"><div class="content-text">固定导航栏</div></div>###<div class="content" style="display:flex"><button class="content-button" onclick="switchTheme()">切换主题</button></div><p></p><p></p><h3 class="content-head">主题色</h3><div class="content" id="themeColorSettings" style="display:flex"><input id="red" type="radio" name="colors" onclick="setColor('red')"><input id="orange" type="radio" name="colors" onclick="setColor('orange')"><input id="yellow" type="radio" name="colors" onclick="setColor('yellow')"><input id="green" type="radio" name="colors" onclick="setColor('green')"><input id="blue" type="radio" name="colors" onclick="setColor('blue')"><input id="heoblue" type="radio" name="colors" onclick="setColor('heoblue')"><input id="darkblue" type="radio" name="colors" onclick="setColor('darkblue')"><input id="purple" type="radio" name="colors" onclick="setColor('purple')"><input id="pink" type="radio" name="colors" onclick="setColor('pink')" checked="checked"><input id="black" type="radio" name="colors" onclick="setColor('black')"><input id="blackgray" type="radio" name="colors" onclick="setColor('blackgray')"></div><p></p></div><div class="asetting" id="font-settings"><h2 class="content-head">字体设置</h2><p id="swfs"><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:'HYTMR'!important;color:black" onclick="setFont('HYTMR')">汉仪唐美人</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:'HYPailou'!important;color:black" onclick="setFont('HYPailou')">汉仪新蒂牌楼</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:'FZXJLJ'!important;color:black" onclick="setFont('FZXJLJ')">方正金陵体</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:'FZXS'!important;color:black" onclick="setFont('FZXS')">方正像素体</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:'ZhuZiAWan'!important;color:black" onclick="setFont('ZhuZiAWan')">筑紫A丸ゴシック</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:'FZODZK'!important;color:black" onclick="setFont('FZODZK')">方正欧蝶正楷</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:'Source Serif'!important;color:black" onclick="setFont('Source Serif')">思源宋体</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:'Source Sans'!important;color:black" onclick="setFont('Source Sans')">思源黑体</a><br><a class="swf" href="javascript:;" rel="noopener external nofollow" style="font-family:-apple-system, IBM Plex Mono ,monosapce,'微软雅黑', sans-serif;" onclick="setFont('main')">系统默认</a><br></p></div><div class="asetting" id="background-settings"><h2 style="margin-left:10px">背景设置</h2><div></div><span>注意:切换背景功能仅在Acrylic主题中生效,在Simple主题中无效</span><button class="content-button" onclick="localStorage.removeItem('blogbg');location.reload();"><i class="fa-solid fa-arrows-rotate"></i><span> 点我恢复默认背景</span></button><button class="content-button" onclick="switchTheme()">切换主题</button><h3>图片(手机)</h3><div class="bgbox"><a class="pimgbox" href="javascript:;" rel="noopener external nofollow" style="background-image:url(https://bu.dusays.com/2022/08/30/630d6d4d539a5.webp)" onclick="changeBg('url(https://bu.dusays.com/2022/08/30/630d6d4d539a5.webp)')"></a><a class="pimgbox" href="javascript:;" rel="noopener external nofollow" style="background-image:url(https://bu.dusays.com/2022/08/30/630d6d4e15c9d.webp)" onclick="changeBg('url(https://bu.dusays.com/2022/08/30/630d6d4e15c9d.webp)')"></a><a class="pimgbox" href="javascript:;" rel="noopener external nofollow" style="background-image:url(https://bu.dusays.com/2022/08/30/630d6f22c03c6.webp)" onclick="changeBg('url(https://bu.dusays.com/2022/08/30/630d6f22c03c6.webp)')"></a><a class="pimgbox" href="javascript:;" rel="noopener external nofollow" style="background-image:url(https://bu.dusays.com/2022/08/30/630d6d56c83eb.webp)" onclick="changeBg('url(https://bu.dusays.com/2022/08/30/630d6d56c83eb.webp)')"></a><a class="pimgbox" href="javascript:;" rel="noopener external nofollow" style="background-image:url(https://bu.dusays.com/2022/08/30/630d6d50b439b.webp)" onclick="changeBg('url(https://bu.dusays.com/2022/08/30/630d6d50b439b.webp)')"></a><a class="pimgbox" href="javascript:;" rel="noopener external nofollow" style="background-image:url(https://pximg.anjiurine.top/img-original/img/2023/05/04/00/18/34/107784754_p0.png)" onclick="changeBg('url(https://pximg.anjiurine.top/img-original/img/2023/05/04/00/18/34/107784754_p0.png)')"></a></div><h3>图片(电脑)</h3><div class="bgbox"><a class="imgbox" href="javascript:;" rel="noopener external nofollow" style="background-image:url(https://bu.dusays.com/2022/08/30/630d6d5574d0e.webp)" onclick="changeBg('url(https://bu.dusays.com/2022/08/30/630d6d5574d0e.webp)')"></a><a class="imgbox" href="javascript:;" rel="noopener external nofollow" style="background-image:url(https://bu.dusays.com/2022/08/30/630d6d529adf9.webp)" onclick="changeBg('url(https://bu.dusays.com/2022/08/30/630d6d529adf9.webp)')"></a><a class="imgbox" href="javascript:;" rel="noopener external nofollow" style="background-image:url(https://bu.dusays.com/2022/08/30/630d6d5159b31.webp)" onclick="changeBg('url(https://bu.dusays.com/2022/08/30/630d6d5159b31.webp)')"></a><a class="imgbox" href="javascript:;" rel="noopener external nofollow" style="background-image:url(https://bu.dusays.com/2022/08/30/630d718bbeef6.webp)" onclick="changeBg('url(https://bu.dusays.com/2022/08/30/630d718bbeef6.webp)')"></a><a class="imgbox" href="javascript:;" rel="noopener external nofollow" style="background-image:url(https://bu.dusays.com/2022/08/30/630d72f237d19.jpg)" onclick="changeBg('url(https://bu.dusays.com/2022/08/30/630d72f237d19.jpg)')"></a><a class="imgbox" href="javascript:;" rel="noopener external nofollow" style="background-image:url(https://bu.dusays.com/2022/08/30/630d72f2032c8.jpg)" onclick="changeBg('url(https://bu.dusays.com/2022/08/30/630d72f2032c8.jpg)')"></a><a class="imgbox" href="javascript:;" rel="noopener external nofollow" style="background-image:url(https://bu.dusays.com/2021/12/01/7792ff0082ec4.jpg)" onclick="changeBg('url(https://bu.dusays.com/2021/12/01/7792ff0082ec4.jpg)')"></a><a class="imgbox" href="javascript:;" rel="noopener external nofollow" style="background-image:url(https://bu.dusays.com/2022/08/30/630d72ee6d4f3.png)" onclick="changeBg('url(https://bu.dusays.com/2022/08/30/630d72ee6d4f3.png)')"></a><a class="imgbox" href="javascript:;" rel="noopener external nofollow" style="background-image:url(https://bu.dusays.com/2022/08/30/630d72ed76532.jpg)" onclick="changeBg('url(https://bu.dusays.com/2022/08/30/630d72ed76532.jpg)')"></a><a class="imgbox" href="javascript:;" rel="external nofollow noreferrer" onclick="changeBg('url(https://bu.dusays.com/2022/09/17/6324aea549be6.webp)')"><img src="https://bu.dusays.com/2022/09/17/6324aea549be6.webp"></a><a class="imgbox" href="javascript:;" rel="external nofollow noreferrer" onclick="changeBg('url(https://bu.dusays.com/2022/09/17/6324aec701a68.webp)')"><img src="https://bu.dusays.com/2022/09/17/6324aec701a68.webp"></a><a class="imgbox" href="javascript:;" rel="external nofollow noreferrer" onclick="changeBg('url(https://bu.dusays.com/2022/09/17/6324aef4a5543.webp)')"><img src="https://bu.dusays.com/2022/09/17/6324aef4a5543.webp"></a><a class="imgbox" href="javascript:;" rel="external nofollow noreferrer" onclick="changeBg('url(https://bu.dusays.com/2022/09/17/6324af3622884.webp)')"><img src="https://bu.dusays.com/2022/09/17/6324af3622884.webp"></a></div><h3>渐变色</h3><div class="bgbox"><a class="box" href="javascript:;" rel="noopener external nofollow" style="background: linear-gradient(to right, #eecda3, #ef629f)" onclick="changeBg('linear-gradient(to right, #eecda3, #ef629f)')"></a><a class="box" href="javascript:;" rel="noopener external nofollow" style="background: linear-gradient(to right, #B7D31E, #42CE1E)" onclick="changeBg('linear-gradient(to right, #B7D31E, #42CE1E)')"></a><a class="box" href="javascript:;" rel="noopener external nofollow" style="background: linear-gradient(to right, #06DE86, #06A5DE)" onclick="changeBg('linear-gradient(to right, #06DE86, #06A5DE)')"></a><a class="box" href="javascript:;" rel="noopener external nofollow" style="background: linear-gradient(to right, #189BC4, #183DC4)" onclick="changeBg('linear-gradient(to right, #189BC4, #183DC4)')"></a><a class="box" href="javascript:;" rel="noopener external nofollow" style="background: linear-gradient(to right, #C018C4, #C41818)" onclick="changeBg('linear-gradient(to right, #C018C4, #C41818)')"></a><a class="box" href="javascript:;" rel="noopener external nofollow" style="background: linear-gradient(to right, #8B00BB, #030094)" onclick="changeBg('linear-gradient(to right, #8B00BB, #030094)')"></a><a class="box" href="javascript:;" rel="noopener external nofollow" style="background: linear-gradient(to right, #eecda3, #ef629f)" onclick="changeBg('linear-gradient(to right, #eecda3, #ef629f)')"></a><a class="box" href="javascript:;" rel="noopener external nofollow" style="background: linear-gradient(90deg, #ffd7e4 0%, #c8f1ff 100%)" onclick="changeBg('linear-gradient(90deg, #ffd7e4 0%, #c8f1ff 100%)')"></a><a class="box" href="javascript:;" rel="noopener external nofollow" style="background: linear-gradient(45deg, #e5737b, #c6999e, #96b9c2, #00d6e8)" onclick="changeBg('linear-gradient(45deg, #e5737b, #c6999e, #96b9c2, #00d6e8)')"></a></div><h3>纯色</h3><div class="bgbox"><a class="box" href="javascript:;" rel="noopener external nofollow" style="background: #7D9D9C" onclick="changeBg('#7D9D9C')"></a><a class="box" href="javascript:;" rel="noopener external nofollow" style="background: #fff" onclick="changeBg('#fff')"></a><a class="box" href="javascript:;" rel="noopener external nofollow" style="background: #49A6E9" onclick="changeBg('#49A6E9')"></a><a class="box" href="javascript:;" rel="noopener external nofollow" style="background: #F7CEFF" onclick="changeBg('#F7CEFF')"></a><a class="box" href="javascript:;" rel="noopener external nofollow" style="background: #FFFFCE" onclick="changeBg('#FFFFCE')"></a><a class="box" href="javascript:;" rel="noopener external nofollow" style="background: #CFFFCE" onclick="changeBg('#CFFFCE')"></a><a class="box" href="javascript:;" rel="noopener external nofollow" style="background: #17EFE9" onclick="changeBg('#17EFE9')"></a><a class="box" href="javascript:;" rel="noopener external nofollow" style="background: #9F17EF" onclick="changeBg('#9F17EF')"></a></div></div><div class="asetting" id="con-echarts"><h1>文章统计</h1><h2>监控</h2><iframe src="https://status.yisous.xyz" width="100%" height="500px" frameborder="no"></iframe><h2>文章统计</h2><script src="https://registry.npmmirror.com/echarts/4.9.0/files/dist/echarts.min.js"></script><div id="posts-chart" data-start="2021-01" style="border-radius: 8px; height: 300px; padding: 10px;"></div>
|
193
|
+
<script id="postsChart">
|
194
|
+
var color = document.documentElement.getAttribute('data-theme') === 'light' ? '#4c4948' : 'rgba(255,255,255,0.7)'
|
195
|
+
var postsChart = echarts.init(document.getElementById('posts-chart'), 'light');
|
196
|
+
var postsOption = {
|
197
|
+
title: {
|
198
|
+
text: '文章发布统计图',
|
199
|
+
x: 'center',
|
200
|
+
textStyle: {
|
201
|
+
color: color
|
202
|
+
}
|
203
|
+
},
|
204
|
+
tooltip: {
|
205
|
+
trigger: 'axis'
|
206
|
+
},
|
207
|
+
xAxis: {
|
208
|
+
name: '日期',
|
209
|
+
type: 'category',
|
210
|
+
boundaryGap: false,
|
211
|
+
nameTextStyle: {
|
212
|
+
color: color
|
213
|
+
},
|
214
|
+
axisTick: {
|
215
|
+
show: false
|
216
|
+
},
|
217
|
+
axisLabel: {
|
218
|
+
show: true,
|
219
|
+
color: color
|
220
|
+
},
|
221
|
+
axisLine: {
|
222
|
+
show: true,
|
223
|
+
lineStyle: {
|
224
|
+
color: color
|
225
|
+
}
|
226
|
+
},
|
227
|
+
data: ["2021-01","2021-02","2021-03","2021-04","2021-05","2021-06","2021-07","2021-08","2021-09","2021-10","2021-11","2021-12","2022-01","2022-02","2022-03","2022-04","2022-05","2022-06","2022-07","2022-08","2022-09","2022-10","2022-11","2022-12","2023-01","2023-02","2023-03","2023-04","2023-05","2023-06","2023-07","2023-08","2023-09","2023-10","2023-11","2023-12","2024-01","2024-02","2024-03"]
|
228
|
+
},
|
229
|
+
yAxis: {
|
230
|
+
name: '文章篇数',
|
231
|
+
type: 'value',
|
232
|
+
nameTextStyle: {
|
233
|
+
color: color
|
234
|
+
},
|
235
|
+
splitLine: {
|
236
|
+
show: false
|
237
|
+
},
|
238
|
+
axisTick: {
|
239
|
+
show: false
|
240
|
+
},
|
241
|
+
axisLabel: {
|
242
|
+
show: true,
|
243
|
+
color: color
|
244
|
+
},
|
245
|
+
axisLine: {
|
246
|
+
show: true,
|
247
|
+
lineStyle: {
|
248
|
+
color: color
|
249
|
+
}
|
250
|
+
}
|
251
|
+
},
|
252
|
+
series: [{
|
253
|
+
name: '文章篇数',
|
254
|
+
type: 'line',
|
255
|
+
smooth: true,
|
256
|
+
lineStyle: {
|
257
|
+
width: 0
|
258
|
+
},
|
259
|
+
showSymbol: false,
|
260
|
+
itemStyle: {
|
261
|
+
opacity: 1,
|
262
|
+
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
263
|
+
offset: 0,
|
264
|
+
color: 'rgba(128, 255, 165)'
|
265
|
+
},
|
266
|
+
{
|
267
|
+
offset: 1,
|
268
|
+
color: 'rgba(1, 191, 236)'
|
269
|
+
}])
|
270
|
+
},
|
271
|
+
areaStyle: {
|
272
|
+
opacity: 1,
|
273
|
+
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
274
|
+
offset: 0,
|
275
|
+
color: 'rgba(128, 255, 165)'
|
276
|
+
}, {
|
277
|
+
offset: 1,
|
278
|
+
color: 'rgba(1, 191, 236)'
|
279
|
+
}])
|
280
|
+
},
|
281
|
+
data: [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,1,1,0,0,1,2,0,0,0,1,2,0],
|
282
|
+
markLine: {
|
283
|
+
data: [{
|
284
|
+
name: '平均值',
|
285
|
+
type: 'average',
|
286
|
+
label: {
|
287
|
+
color: color
|
288
|
+
}
|
289
|
+
}]
|
290
|
+
}
|
291
|
+
}]
|
292
|
+
};
|
293
|
+
postsChart.setOption(postsOption);
|
294
|
+
window.addEventListener('resize', () => {
|
295
|
+
postsChart.resize();
|
296
|
+
});
|
297
|
+
postsChart.on('click', 'series', (event) => {
|
298
|
+
if (event.componentType === 'series') window.location.href = '/archives/' + event.name.replace('-', '/');
|
299
|
+
});
|
300
|
+
</script><div id="tags-chart" data-length="10" style="border-radius: 8px; height: 300px; padding: 10px;"></div>
|
301
|
+
<script id="tagsChart">
|
302
|
+
var color = document.documentElement.getAttribute('data-theme') === 'light' ? '#4c4948' : 'rgba(255,255,255,0.7)'
|
303
|
+
var tagsChart = echarts.init(document.getElementById('tags-chart'), 'light');
|
304
|
+
var tagsOption = {
|
305
|
+
title: {
|
306
|
+
text: 'Top 10 标签统计图',
|
307
|
+
x: 'center',
|
308
|
+
textStyle: {
|
309
|
+
color: color
|
310
|
+
}
|
311
|
+
},
|
312
|
+
tooltip: {},
|
313
|
+
xAxis: {
|
314
|
+
name: '标签',
|
315
|
+
type: 'category',
|
316
|
+
nameTextStyle: {
|
317
|
+
color: color
|
318
|
+
},
|
319
|
+
axisTick: {
|
320
|
+
show: false
|
321
|
+
},
|
322
|
+
axisLabel: {
|
323
|
+
show: true,
|
324
|
+
color: color,
|
325
|
+
interval: 0
|
326
|
+
},
|
327
|
+
axisLine: {
|
328
|
+
show: true,
|
329
|
+
lineStyle: {
|
330
|
+
color: color
|
331
|
+
}
|
332
|
+
},
|
333
|
+
data: ["日常","Hexo","谷歌翻译","年终总结","魔改","主题","Next","Butterfly","云服务器","VPS"]
|
334
|
+
},
|
335
|
+
yAxis: {
|
336
|
+
name: '文章篇数',
|
337
|
+
type: 'value',
|
338
|
+
splitLine: {
|
339
|
+
show: false
|
340
|
+
},
|
341
|
+
nameTextStyle: {
|
342
|
+
color: color
|
343
|
+
},
|
344
|
+
axisTick: {
|
345
|
+
show: false
|
346
|
+
},
|
347
|
+
axisLabel: {
|
348
|
+
show: true,
|
349
|
+
color: color
|
350
|
+
},
|
351
|
+
axisLine: {
|
352
|
+
show: true,
|
353
|
+
lineStyle: {
|
354
|
+
color: color
|
355
|
+
}
|
356
|
+
}
|
357
|
+
},
|
358
|
+
series: [{
|
359
|
+
name: '文章篇数',
|
360
|
+
type: 'bar',
|
361
|
+
data: [{"name":"日常","value":3,"path":"tags/日常/"},{"name":"Hexo","value":2,"path":"tags/Hexo/"},{"name":"谷歌翻译","value":2,"path":"tags/谷歌翻译/"},{"name":"年终总结","value":1,"path":"tags/年终总结/"},{"name":"魔改","value":1,"path":"tags/魔改/"},{"name":"主题","value":1,"path":"tags/主题/"},{"name":"Next","value":1,"path":"tags/Next/"},{"name":"Butterfly","value":1,"path":"tags/Butterfly/"},{"name":"云服务器","value":1,"path":"tags/云服务器/"},{"name":"VPS","value":1,"path":"tags/VPS/"},{"name":"提供商","value":1,"path":"tags/提供商/"},{"name":"便宜","value":1,"path":"tags/便宜/"},{"name":"性价比","value":1,"path":"tags/性价比/"},{"name":"hello-world","value":1,"path":"tags/hello-world/"},{"name":"浪潮","value":1,"path":"tags/浪潮/"},{"name":"服务器","value":1,"path":"tags/服务器/"},{"name":"折腾","value":1,"path":"tags/折腾/"},{"name":"家里云","value":1,"path":"tags/家里云/"},{"name":"RAID","value":1,"path":"tags/RAID/"},{"name":"简爱","value":1,"path":"tags/简爱/"},{"name":"女性意识","value":1,"path":"tags/女性意识/"},{"name":"论文","value":1,"path":"tags/论文/"},{"name":"金句","value":1,"path":"tags/金句/"},{"name":"写作","value":1,"path":"tags/写作/"},{"name":"学习","value":1,"path":"tags/学习/"},{"name":"Cloudflare","value":1,"path":"tags/Cloudflare/"},{"name":"Vercel","value":1,"path":"tags/Vercel/"},{"name":"负载均衡","value":1,"path":"tags/负载均衡/"},{"name":"Workers","value":1,"path":"tags/Workers/"},{"name":"DiffSinger","value":1,"path":"tags/DiffSinger/"},{"name":"自动标注","value":1,"path":"tags/自动标注/"},{"name":"AI","value":1,"path":"tags/AI/"}],
|
362
|
+
itemStyle: {
|
363
|
+
borderRadius: [5, 5, 0, 0],
|
364
|
+
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
365
|
+
offset: 0,
|
366
|
+
color: 'rgba(128, 255, 165)'
|
367
|
+
},
|
368
|
+
{
|
369
|
+
offset: 1,
|
370
|
+
color: 'rgba(1, 191, 236)'
|
371
|
+
}])
|
372
|
+
},
|
373
|
+
emphasis: {
|
374
|
+
itemStyle: {
|
375
|
+
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [{
|
376
|
+
offset: 0,
|
377
|
+
color: 'rgba(128, 255, 195)'
|
378
|
+
},
|
379
|
+
{
|
380
|
+
offset: 1,
|
381
|
+
color: 'rgba(1, 211, 255)'
|
382
|
+
}])
|
383
|
+
}
|
384
|
+
},
|
385
|
+
markLine: {
|
386
|
+
data: [{
|
387
|
+
name: '平均值',
|
388
|
+
type: 'average',
|
389
|
+
label: {
|
390
|
+
color: color
|
391
|
+
}
|
392
|
+
}]
|
393
|
+
}
|
394
|
+
}]
|
395
|
+
};
|
396
|
+
tagsChart.setOption(tagsOption);
|
397
|
+
window.addEventListener('resize', () => {
|
398
|
+
tagsChart.resize();
|
399
|
+
});
|
400
|
+
tagsChart.on('click', 'series', (event) => {
|
401
|
+
if(event.data.path) window.location.href = '/' + event.data.path;
|
402
|
+
});
|
403
|
+
</script><div id="categories-chart" data-parent="true" style="border-radius: 8px; height: 300px; padding: 10px;"></div>
|
404
|
+
<script id="categoriesChart">
|
405
|
+
var color = document.documentElement.getAttribute('data-theme') === 'light' ? '#4c4948' : 'rgba(255,255,255,0.7)'
|
406
|
+
var categoriesChart = echarts.init(document.getElementById('categories-chart'), 'light');
|
407
|
+
var categoryParentFlag = false
|
408
|
+
var categoriesOption = {
|
409
|
+
title: {
|
410
|
+
text: '文章分类统计图',
|
411
|
+
x: 'center',
|
412
|
+
textStyle: {
|
413
|
+
color: color
|
414
|
+
}
|
415
|
+
},
|
416
|
+
legend: {
|
417
|
+
top: 'bottom',
|
418
|
+
data: ["闲聊杂谈","年终总结","Hexo","恰饭","Hello World","素材"],
|
419
|
+
textStyle: {
|
420
|
+
color: color
|
421
|
+
}
|
422
|
+
},
|
423
|
+
tooltip: {
|
424
|
+
trigger: 'item'
|
425
|
+
},
|
426
|
+
series: []
|
427
|
+
};
|
428
|
+
categoriesOption.series.push(
|
429
|
+
categoryParentFlag ?
|
430
|
+
{
|
431
|
+
nodeClick :false,
|
432
|
+
name: '文章篇数',
|
433
|
+
type: 'sunburst',
|
434
|
+
radius: ['15%', '90%'],
|
435
|
+
center: ['50%', '55%'],
|
436
|
+
sort: 'desc',
|
437
|
+
data: [{"name":"闲聊杂谈","value":5,"path":"categories/闲聊杂谈/","id":"clu1bkllc000xssn984lqday9","parentId":"0"},{"name":"年终总结","value":1,"path":"categories/年终总结/","id":"clu1bkll40004ssn9hwx5cnek","parentId":"0"},{"name":"Hexo","value":1,"path":"categories/Hexo/","id":"clu1bkll8000cssn93gqg62c1","parentId":"0"},{"name":"恰饭","value":1,"path":"categories/恰饭/","id":"clu1bkll9000kssn98aea1rnc","parentId":"0"},{"name":"Hello World","value":1,"path":"categories/Hello-World/","id":"clu1bkllb000sssn92a5b4hm6","parentId":"0"},{"name":"素材","value":1,"path":"categories/素材/","id":"clu1bklle0017ssn9crtqhnq9","parentId":"0"}],
|
438
|
+
itemStyle: {
|
439
|
+
borderColor: '#fff',
|
440
|
+
borderWidth: 2,
|
441
|
+
emphasis: {
|
442
|
+
focus: 'ancestor',
|
443
|
+
shadowBlur: 10,
|
444
|
+
shadowOffsetX: 0,
|
445
|
+
shadowColor: 'rgba(255, 255, 255, 0.5)'
|
446
|
+
}
|
447
|
+
}
|
448
|
+
}
|
449
|
+
:
|
450
|
+
{
|
451
|
+
name: '文章篇数',
|
452
|
+
type: 'pie',
|
453
|
+
radius: [30, 80],
|
454
|
+
roseType: 'area',
|
455
|
+
label: {
|
456
|
+
color: color,
|
457
|
+
formatter: '{b} : {c} ({d}%)'
|
458
|
+
},
|
459
|
+
data: [{"name":"闲聊杂谈","value":5,"path":"categories/闲聊杂谈/","id":"clu1bkllc000xssn984lqday9","parentId":"0"},{"name":"年终总结","value":1,"path":"categories/年终总结/","id":"clu1bkll40004ssn9hwx5cnek","parentId":"0"},{"name":"Hexo","value":1,"path":"categories/Hexo/","id":"clu1bkll8000cssn93gqg62c1","parentId":"0"},{"name":"恰饭","value":1,"path":"categories/恰饭/","id":"clu1bkll9000kssn98aea1rnc","parentId":"0"},{"name":"Hello World","value":1,"path":"categories/Hello-World/","id":"clu1bkllb000sssn92a5b4hm6","parentId":"0"},{"name":"素材","value":1,"path":"categories/素材/","id":"clu1bklle0017ssn9crtqhnq9","parentId":"0"}],
|
460
|
+
itemStyle: {
|
461
|
+
emphasis: {
|
462
|
+
shadowBlur: 10,
|
463
|
+
shadowOffsetX: 0,
|
464
|
+
shadowColor: 'rgba(255, 255, 255, 0.5)'
|
465
|
+
}
|
466
|
+
}
|
467
|
+
}
|
468
|
+
)
|
469
|
+
categoriesChart.setOption(categoriesOption);
|
470
|
+
window.addEventListener('resize', () => {
|
471
|
+
categoriesChart.resize();
|
472
|
+
})
|
473
|
+
categoriesChart.on('click', 'series', (event) => {
|
474
|
+
if(event.data.path) window.location.href = '/' + event.data.path;
|
475
|
+
});
|
476
|
+
</script><h2>访问统计显示不出来请刷新页面<script data-pjax="" id="LA-DATA-WIDGET" crossorigin="anonymous" charset="UTF-8" src="https://v6-widget.51.la/v6/JnlSnWLD7XChjrlx/quote.js?theme=0&col=true&f=12&badge=icon_0&icon=center"></script></h2></div><div class="asetting" id="con-abouts"><h1>关于</h1>Hexo-theme-Acryple v1.0.100<br>Ariasaka Console v0.01<br>欢迎<a href="/messageboard">反馈!</a></div></div></div><div id="setting-sidesl"><button class="reSettings con-rightside" title="恢复默认设置"><i class="fa fa-repeat"></i></button><div id="setting-sides"><button class="con-rightside" title="繁简转换" id="con-translate" onclick="javascript:rmf.translate();"><i class="iconfont icon-fanti"></i></button><button class="con-rightside" title="昼夜切换" id="con-mode" onclick="rmf.switchDarkMode();"><i class="fa fa-adjust"></i></button><button class="con-rightside" title="阅读模式" id="con-reading" onclick="rmf.switchReadMode();"><i class="fa fa-book-open"></i></button><button class="con-rightside" title="单双栏切换" id="con-toggleaside" onclick="toggleAside();"><i class="fas fa-arrows-alt-h"></i></button><button class="con-rightside" title="左右栏切换" id="con-toggleleftaside" onclick="switchAside();"><i class="fas fa-binoculars"></i></button><button class="con-rightside" title="开关弹幕" id="con-barrage" onclick="switchCommentBarrage();"><i class="iconfont icon-danmu"></i></button><button class="con-rightside" title="全屏" id="con-fullscreen" onclick="fullScreen();"><i class="fas fa-expand"></i></button></div></div></div><!-- hexo injector body_end start --><script data-pjax="">function history_calendar_injector_config(){
|
477
|
+
var parent_div_git = document.getElementsByClassName('sticky_layout')[null];
|
478
|
+
var item_html = 'undefined';
|
479
|
+
console.log('已挂载history_calendar')
|
480
|
+
// parent_div_git.innerHTML=item_html+parent_div_git.innerHTML // 无报错,但不影响使用(支持pjax跳转)
|
481
|
+
parent_div_git.insertAdjacentHTML("afterbegin",item_html) // 有报错,但不影响使用(支持pjax跳转)
|
482
|
+
}if( document.getElementsByClassName('sticky_layout')[null] && (location.pathname ==='/'|| '/' ==='all')){
|
483
|
+
|
484
|
+
history_calendar_injector_config()
|
485
|
+
} </script><script data-pjax="" src="https://cdn.jsdelivr.net/gh/Zfour/Butterfly-card-history/baiduhistory/js/main.js"></script><script data-pjax="">
|
486
|
+
function butterfly_swiper_injector_config(){
|
487
|
+
var parent_div_git = document.getElementsByClassName('swiper-div')[0];
|
488
|
+
var item_html = '<div class="recent-post-item" style="height: auto;width: 100%"><div class="blog-slider swiper-container-fade swiper-container-horizontal" id="swiper_container"><div class="blog-slider__wrp swiper-wrapper" style="transition-duration: 0ms;"><div class="blog-slider__item swiper-slide" style="background:url(https://registry.npmmirror.com/q78kg-website-npm-cdn/latest/files/MXP1xJAnYDlLGWT.jpg);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2023-09-17</span><a class="blog-slider__title" onclick="pjax.loadUrl("posts/6f3c565b/");" href="javascript:void(0);" rel="external nofollow noreferrer" alt="">拯救流量爆炸的vercel——使用Cloudflare Workers做负载均衡</a><div class="blog-slider__text">再怎么看我也不知道怎么描述它的啦!</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://registry.npmmirror.com/q78kg-website-npm-cdn/latest/files/background7.jpg);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2023-08-25</span><a class="blog-slider__title" onclick="pjax.loadUrl("posts/e54f7476/");" href="javascript:void(0);" rel="external nofollow noreferrer" alt="">全国首款支持多环境开发的 CEC-IDE,卡脖子问题解决,国产崛起了?</a><div class="blog-slider__text">再怎么看我也不知道怎么描述它的啦!</div></div></div><div class="blog-slider__item swiper-slide" style="background:url(https://registry.npmmirror.com/q78kg-website-npm-cdn/latest/files/57dac3c9-fb11-4fa1-a100-172a7172372d.png);border-radius:12px;opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><div class="blog-slider__content"><span class="blog-slider__code">2023-05-03</span><a class="blog-slider__title" onclick="pjax.loadUrl("posts/a9a6c1fb/");" href="javascript:void(0);" rel="external nofollow noreferrer" alt="">简爱中的女性意识</a><div class="blog-slider__text">再怎么看我也不知道怎么描述它的啦!</div></div></div></div><div class="blog-slider__pagination swiper-pagination-clickable swiper-pagination-bullets"></div><div class="swiper-button-prev"></div><div class="swiper-button-next"></div></div></div>';
|
489
|
+
console.log('已挂载butterfly_swiper')
|
490
|
+
parent_div_git.insertAdjacentHTML("afterbegin",item_html)
|
491
|
+
}
|
492
|
+
var elist = 'undefined'.split(',');
|
493
|
+
var cpage = location.pathname;
|
494
|
+
var epage = 'all';
|
495
|
+
var flag = 0;
|
496
|
+
|
497
|
+
for (var i=0;i<elist.length;i++){
|
498
|
+
if (cpage.includes(elist[i])){
|
499
|
+
flag++;
|
500
|
+
}
|
501
|
+
}
|
502
|
+
|
503
|
+
if ((epage ==='all')&&(flag == 0)){
|
504
|
+
butterfly_swiper_injector_config();
|
505
|
+
}
|
506
|
+
else if (epage === cpage){
|
507
|
+
butterfly_swiper_injector_config();
|
508
|
+
}
|
509
|
+
</script><script defer="" src="https://cdnjs.cloudflare.com/ajax/libs/Swiper/5.4.5/js/swiper.min.js"></script><script defer="" data-pjax="" src="https://registry.npmmirror.com/hexo-butterfly-swiper-lyx/latest/files/lib/swiper_init.js"></script><script async="" src="//at.alicdn.com/t/font_2032782_8d5kxvn09md.js"></script><!-- hexo injector body_end end --><div><script src="https://registry.npmmirror.com/vue/2.6.11/files/dist/vue.min.js"></script><script src="/js/utils.js"></script><script src="/js/main.js"></script><script src="/js/tw_cn.js"></script><script src="https://jsd.anjiurine.top/npm/@fancyapps/ui/dist/fancybox.umd.js"></script><script src="https://jsd.anjiurine.top/npm/node-snackbar/dist/snackbar.min.js"></script><script src="/js/local-search.js"></script><script>window.addEventListener('DOMContentLoaded',function(){
|
510
|
+
var preloader = {
|
511
|
+
endLoading: () => {
|
512
|
+
document.body.style.overflow = 'auto';
|
513
|
+
document.getElementById('loading-box').classList.add("loaded")
|
514
|
+
setTimeout(function(){document.getElementById('loading-box').classList.add("loadend")},700)
|
515
|
+
},
|
516
|
+
initLoading: () => {
|
517
|
+
document.body.style.overflow = '';
|
518
|
+
document.getElementById('loading-box').classList.remove("loaded")
|
519
|
+
document.getElementById('loading-box').classList.remove("loadend")
|
520
|
+
|
521
|
+
}
|
522
|
+
}
|
523
|
+
window.addEventListener('load',preloader.endLoading())} )
|
524
|
+
window.addEventListener('pjax:start',function(){
|
525
|
+
var preloader = {
|
526
|
+
endLoading: () => {
|
527
|
+
document.body.style.overflow = 'auto';
|
528
|
+
document.getElementById('loading-box').classList.add("loaded")
|
529
|
+
setTimeout(function(){document.getElementById('loading-box').classList.add("loadend")},700)
|
530
|
+
},
|
531
|
+
initLoading: () => {
|
532
|
+
document.body.style.overflow = '';
|
533
|
+
document.getElementById('loading-box').classList.remove("loaded")
|
534
|
+
document.getElementById('loading-box').classList.remove("loadend")
|
535
|
+
|
536
|
+
}
|
537
|
+
}
|
538
|
+
window.addEventListener('pjax:complete',preloader.endLoading())} )</script><div class="js-pjax"><link rel="stylesheet" type="text/css" href="https://jsd.anjiurine.top/npm/katex@latest/dist/katex.min.css"><script src="https://jsd.anjiurine.top/npm/katex@latest/dist/contrib/copy-tex.min.js"></script><link rel="stylesheet" type="text/css" href="https://jsd.anjiurine.top/npm/katex@latest/dist/contrib/copy-tex.css"><script>(() => {
|
539
|
+
document.querySelectorAll('#article-container span.katex-display').forEach(item => {
|
540
|
+
btf.wrap(item, 'div', { class: 'katex-wrap'})
|
541
|
+
})
|
542
|
+
})()</script><script>(() => {
|
543
|
+
const $mermaidWrap = document.querySelectorAll('#article-container .mermaid-wrap')
|
544
|
+
if ($mermaidWrap.length) {
|
545
|
+
window.runMermaid = () => {
|
546
|
+
window.loadMermaid = true
|
547
|
+
const theme = document.documentElement.getAttribute('data-theme') === 'dark' ? 'dark' : 'default'
|
548
|
+
|
549
|
+
Array.from($mermaidWrap).forEach((item, index) => {
|
550
|
+
const mermaidSrc = item.firstElementChild
|
551
|
+
const mermaidThemeConfig = '%%{init:{ \'theme\':\'' + theme + '\'}}%%\n'
|
552
|
+
const mermaidID = 'mermaid-' + index
|
553
|
+
const mermaidDefinition = mermaidThemeConfig + mermaidSrc.textContent
|
554
|
+
mermaid.mermaidAPI.render(mermaidID, mermaidDefinition, (svgCode) => {
|
555
|
+
mermaidSrc.insertAdjacentHTML('afterend', svgCode)
|
556
|
+
})
|
557
|
+
})
|
558
|
+
}
|
559
|
+
|
560
|
+
const loadMermaid = () => {
|
561
|
+
window.loadMermaid ? runMermaid() : getScript('https://jsd.anjiurine.top/npm/mermaid/dist/mermaid.min.js').then(runMermaid)
|
562
|
+
}
|
563
|
+
|
564
|
+
window.pjax ? loadMermaid() : document.addEventListener('DOMContentLoaded', loadMermaid)
|
565
|
+
}
|
566
|
+
})()</script><script>(()=>{
|
567
|
+
const init = () => {
|
568
|
+
twikoo.init(Object.assign({
|
569
|
+
el: '#twikoo-wrap',
|
570
|
+
envId: 'https://twikoo.anjiurine.top',
|
571
|
+
region: '',
|
572
|
+
onCommentLoaded: function () {
|
573
|
+
btf.loadLightbox(document.querySelectorAll('#twikoo .tk-content img:not(.tk-owo-emotion)'))
|
574
|
+
}
|
575
|
+
}, null))
|
576
|
+
}
|
577
|
+
|
578
|
+
const getCount = () => {
|
579
|
+
const countELement = document.getElementById('twikoo-count')
|
580
|
+
if(!countELement) return
|
581
|
+
twikoo.getCommentsCount({
|
582
|
+
envId: 'https://twikoo.anjiurine.top',
|
583
|
+
region: '',
|
584
|
+
urls: [window.location.pathname],
|
585
|
+
includeReply: true
|
586
|
+
}).then(function (res) {
|
587
|
+
countELement.innerText = res[0].count
|
588
|
+
}).catch(function (err) {
|
589
|
+
console.error(err);
|
590
|
+
});
|
591
|
+
}
|
592
|
+
|
593
|
+
const runFn = () => {
|
594
|
+
init()
|
595
|
+
GLOBAL_CONFIG_SITE.isPost && getCount()
|
596
|
+
}
|
597
|
+
|
598
|
+
const loadTwikoo = () => {
|
599
|
+
if (typeof twikoo === 'object') {
|
600
|
+
setTimeout(runFn,0)
|
601
|
+
return
|
602
|
+
}
|
603
|
+
getScript('https://registry.npmmirror.com/twikoo/latest/files/dist/twikoo.all.min.js').then(runFn)
|
604
|
+
}
|
605
|
+
|
606
|
+
if ('Twikoo' === 'Twikoo' || !false) {
|
607
|
+
if (false) btf.loadComment(document.getElementById('twikoo-wrap'), loadTwikoo)
|
608
|
+
else loadTwikoo()
|
609
|
+
} else {
|
610
|
+
window.loadOtherComment = () => {
|
611
|
+
loadTwikoo()
|
612
|
+
}
|
613
|
+
}
|
614
|
+
})()</script><script>var gitcalendar = new Vue({
|
615
|
+
el: '#gitcalendar',
|
616
|
+
data: {
|
617
|
+
simplemode: false,
|
618
|
+
user: 'Hoshino-Yumetsuki',
|
619
|
+
fixed: 'fixed',
|
620
|
+
px: 'px',
|
621
|
+
x: '',
|
622
|
+
y: '',
|
623
|
+
span1: '',
|
624
|
+
span2: '',
|
625
|
+
month: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
|
626
|
+
monthchange: [],
|
627
|
+
oneyearbeforeday: '',
|
628
|
+
thisday: '',
|
629
|
+
amonthago: '',
|
630
|
+
aweekago: '',
|
631
|
+
weekdatacore: 0,
|
632
|
+
datacore: 0,
|
633
|
+
total: 0,
|
634
|
+
datadate: '',
|
635
|
+
data: [],
|
636
|
+
positionplusdata: [],
|
637
|
+
firstweek: [],
|
638
|
+
lastweek: [],
|
639
|
+
beforeweek: [],
|
640
|
+
thisweekdatacore: 0,
|
641
|
+
mounthbeforeday: 0,
|
642
|
+
mounthfirstindex: 0,
|
643
|
+
crispedges: 'crispedges',
|
644
|
+
thisdayindex: 0,
|
645
|
+
amonthagoindex: 0,
|
646
|
+
amonthagoweek: [],
|
647
|
+
firstdate: [],
|
648
|
+
first2date: [],
|
649
|
+
montharrbefore: [],
|
650
|
+
monthindex: 0,
|
651
|
+
color: ['#ebedf0', '#f1f8ff', '#dbedff', '#c8e1ff', '#79b8ff', '#2188ff', '#0366d6', '#005cc5', '#044289', '#032f62', '#05264c']
|
652
|
+
},
|
653
|
+
methods: {
|
654
|
+
selectStyle(data, event) {
|
655
|
+
document.querySelector('.angle-wrapper').style.display = 'block'
|
656
|
+
this.span1 = data.date;
|
657
|
+
this.span2 = data.count;
|
658
|
+
this.x = event.clientX - 100;
|
659
|
+
this.y = event.clientY - 60
|
660
|
+
},
|
661
|
+
outStyle() {
|
662
|
+
document.querySelector('.angle-wrapper').style.display = 'none'
|
663
|
+
},
|
664
|
+
thiscolor(x) {
|
665
|
+
if (x === 0) {
|
666
|
+
let i = parseInt(x / 2);
|
667
|
+
return this.color[0]
|
668
|
+
} else if (x < 2) {
|
669
|
+
return this.color[1]
|
670
|
+
} else if (x < 20) {
|
671
|
+
let i = parseInt(x / 2);
|
672
|
+
return this.color[i]
|
673
|
+
} else {
|
674
|
+
return this.color[9]
|
675
|
+
}
|
676
|
+
},
|
677
|
+
}
|
678
|
+
});
|
679
|
+
var apiurl = 'gcapi.anjiurine.top' ? 'https://gcapi.anjiurine.top/api?user=' : 'https://gcapi.yisous.xyz/api?user='
|
680
|
+
var githubapiurl = apiurl + gitcalendar.user;
|
681
|
+
//canvas绘图
|
682
|
+
function responsiveChart() {
|
683
|
+
let c = document.getElementById("gitcanvas");
|
684
|
+
if (c) {
|
685
|
+
let cmessage = document.getElementById("gitmessage");
|
686
|
+
let ctx = c.getContext("2d");
|
687
|
+
c.width = document.getElementById("gitcalendarcanvasbox").offsetWidth;
|
688
|
+
let linemaxwitdh = 0.96 * c.width / gitcalendar.data.length;
|
689
|
+
c.height = 9 * linemaxwitdh;
|
690
|
+
let lineminwitdh = 0.8 * linemaxwitdh;
|
691
|
+
let setposition = {
|
692
|
+
x: 0.02 * c.width,
|
693
|
+
y: 0.025 * c.width
|
694
|
+
};
|
695
|
+
for (let week in gitcalendar.data) {
|
696
|
+
weekdata = gitcalendar.data[week];
|
697
|
+
for (let day in weekdata) {
|
698
|
+
let dataitem = {
|
699
|
+
date: "",
|
700
|
+
count: "",
|
701
|
+
x: 0,
|
702
|
+
y: 0
|
703
|
+
};
|
704
|
+
gitcalendar.positionplusdata.push(dataitem);
|
705
|
+
ctx.fillStyle = gitcalendar.thiscolor(weekdata[day].count);
|
706
|
+
setposition.y = Math.round(setposition.y * 100) / 100;
|
707
|
+
dataitem.date = weekdata[day].date;
|
708
|
+
dataitem.count = weekdata[day].count;
|
709
|
+
dataitem.x = setposition.x;
|
710
|
+
dataitem.y = setposition.y;
|
711
|
+
ctx.fillRect(setposition.x, setposition.y, lineminwitdh, lineminwitdh);
|
712
|
+
setposition.y = setposition.y + linemaxwitdh
|
713
|
+
};
|
714
|
+
setposition.y = 0.025 * c.width;
|
715
|
+
setposition.x = setposition.x + linemaxwitdh
|
716
|
+
};
|
717
|
+
ctx.font = "600 Arial";
|
718
|
+
ctx.fillStyle = '#aaa';
|
719
|
+
ctx.fillText("日", 0, 1.9 * linemaxwitdh);
|
720
|
+
ctx.fillText("二", 0, 3.9 * linemaxwitdh);
|
721
|
+
ctx.fillText("四", 0, 5.9 * linemaxwitdh);
|
722
|
+
ctx.fillText("六", 0, 7.9 * linemaxwitdh);
|
723
|
+
let monthindexlist = c.width / 24;
|
724
|
+
for (let index in gitcalendar.monthchange) {
|
725
|
+
ctx.fillText(gitcalendar.monthchange[index], monthindexlist, 0.7 * linemaxwitdh);
|
726
|
+
monthindexlist = monthindexlist + c.width / 12
|
727
|
+
};
|
728
|
+
cmessage.onmousemove = function(event) {
|
729
|
+
document.querySelector('.angle-wrapper').style.display = 'none'
|
730
|
+
};
|
731
|
+
c.onmousemove = function(event) {
|
732
|
+
document.querySelector('.angle-wrapper').style.display = 'none'
|
733
|
+
getMousePos(c, event);
|
734
|
+
};
|
735
|
+
|
736
|
+
function getMousePos(canvas, event) {
|
737
|
+
var rect = canvas.getBoundingClientRect();
|
738
|
+
var x = event.clientX - rect.left * (canvas.width / rect.width);
|
739
|
+
var y = event.clientY - rect.top * (canvas.height / rect.height);
|
740
|
+
//console.log("x:"+x+",y:"+y);
|
741
|
+
for (let item of gitcalendar.positionplusdata) {
|
742
|
+
let lenthx = x - item.x;
|
743
|
+
let lenthy = y - item.y;
|
744
|
+
//console.log(lenthx,lenthy);
|
745
|
+
if (0 < lenthx && lenthx < lineminwitdh) {
|
746
|
+
if (0 < lenthy && lenthy < lineminwitdh) {
|
747
|
+
//console.log(item.date,item.count)
|
748
|
+
document.querySelector('.angle-wrapper').style.display = 'block'
|
749
|
+
gitcalendar.span1 = item.date;
|
750
|
+
gitcalendar.span2 = item.count;
|
751
|
+
gitcalendar.x = event.clientX - 100;
|
752
|
+
gitcalendar.y = event.clientY - 60
|
753
|
+
}
|
754
|
+
}
|
755
|
+
//if(0< x - item.x <lineminwitdh&&0< y - item.y <lineminwitdh){
|
756
|
+
//console.log(item.count,item.date);
|
757
|
+
//}
|
758
|
+
}
|
759
|
+
}
|
760
|
+
}
|
761
|
+
}
|
762
|
+
//数据统计算法
|
763
|
+
function addlastmonth() {
|
764
|
+
if (gitcalendar.thisdayindex === 0) {
|
765
|
+
thisweekcore(52);
|
766
|
+
thisweekcore(51);
|
767
|
+
thisweekcore(50);
|
768
|
+
thisweekcore(49);
|
769
|
+
thisweekcore(48);
|
770
|
+
gitcalendar.thisweekdatacore += gitcalendar.firstdate[6].count;
|
771
|
+
gitcalendar.amonthago = gitcalendar.firstdate[6].date
|
772
|
+
} else {
|
773
|
+
thisweekcore(52);
|
774
|
+
thisweekcore(51);
|
775
|
+
thisweekcore(50);
|
776
|
+
thisweekcore(49);
|
777
|
+
thisweek2core();
|
778
|
+
gitcalendar.amonthago = gitcalendar.first2date[gitcalendar.thisdayindex - 1].date
|
779
|
+
}
|
780
|
+
};
|
781
|
+
|
782
|
+
function thisweek2core() {
|
783
|
+
for (let i = gitcalendar.thisdayindex - 1; i < gitcalendar.first2date.length; i++) {
|
784
|
+
gitcalendar.thisweekdatacore += gitcalendar.first2date[i].count
|
785
|
+
}
|
786
|
+
};
|
787
|
+
|
788
|
+
function thisweekcore(index) {
|
789
|
+
for (let item of gitcalendar.data[index]) {
|
790
|
+
gitcalendar.thisweekdatacore += item.count
|
791
|
+
}
|
792
|
+
};
|
793
|
+
|
794
|
+
function addlastweek() {
|
795
|
+
for (let item of gitcalendar.lastweek) {
|
796
|
+
gitcalendar.weekdatacore += item.count
|
797
|
+
}
|
798
|
+
};
|
799
|
+
|
800
|
+
function addbeforeweek() {
|
801
|
+
for (let i = gitcalendar.thisdayindex; i < gitcalendar.beforeweek.length; i++) {
|
802
|
+
gitcalendar.weekdatacore += gitcalendar.beforeweek[i].count
|
803
|
+
}
|
804
|
+
};
|
805
|
+
|
806
|
+
function addweek(data) {
|
807
|
+
if (gitcalendar.thisdayindex === 6) {
|
808
|
+
gitcalendar.aweekago = gitcalendar.lastweek[0].date;
|
809
|
+
addlastweek()
|
810
|
+
} else {
|
811
|
+
lastweek = data.contributions[51];
|
812
|
+
gitcalendar.aweekago = lastweek[gitcalendar.thisdayindex + 1].date;
|
813
|
+
addlastweek();
|
814
|
+
addbeforeweek()
|
815
|
+
}
|
816
|
+
}
|
817
|
+
|
818
|
+
fetch(githubapiurl)
|
819
|
+
.then(data => data.json())
|
820
|
+
.then(data => {
|
821
|
+
gitcalendar.data = data.contributions;
|
822
|
+
gitcalendar.total = data.total;
|
823
|
+
gitcalendar.first2date = gitcalendar.data[48];
|
824
|
+
gitcalendar.firstdate = gitcalendar.data[47];
|
825
|
+
gitcalendar.firstweek = data.contributions[0];
|
826
|
+
gitcalendar.lastweek = data.contributions[52];
|
827
|
+
gitcalendar.beforeweek = data.contributions[51];
|
828
|
+
gitcalendar.thisdayindex = gitcalendar.lastweek.length - 1;
|
829
|
+
gitcalendar.thisday = gitcalendar.lastweek[gitcalendar.thisdayindex].date;
|
830
|
+
gitcalendar.oneyearbeforeday = gitcalendar.firstweek[0].date;
|
831
|
+
gitcalendar.monthindex = gitcalendar.thisday.substring(5, 7) * 1;
|
832
|
+
gitcalendar.montharrbefore = gitcalendar.month.splice(gitcalendar.monthindex, 12 - gitcalendar.monthindex);
|
833
|
+
gitcalendar.monthchange = gitcalendar.montharrbefore.concat(gitcalendar.month);
|
834
|
+
addweek(data);
|
835
|
+
addlastmonth();
|
836
|
+
responsiveChart();
|
837
|
+
})
|
838
|
+
.catch(function(error) {
|
839
|
+
console.log(error);
|
840
|
+
});
|
841
|
+
|
842
|
+
//手机版更换为svg绘制
|
843
|
+
if (document.getElementById("gitcalendarcanvasbox").offsetWidth < 500) {
|
844
|
+
gitcalendar.simplemode = false
|
845
|
+
}
|
846
|
+
|
847
|
+
//当改变窗口大小时重新绘制canvas
|
848
|
+
window.onresize = function() {
|
849
|
+
if (gitcalendar.simplemode) responsiveChart()
|
850
|
+
}
|
851
|
+
|
852
|
+
//解决滚动滑轮时出现的标签显示
|
853
|
+
window.onscroll = function() {
|
854
|
+
if (document.querySelector('.angle-wrapper')) {
|
855
|
+
document.querySelector('.angle-wrapper').style.display = 'none'
|
856
|
+
}
|
857
|
+
};</script></div><script>window.addEventListener('load', () => {
|
858
|
+
const changeContent = (content) => {
|
859
|
+
if (content === '') return content
|
860
|
+
|
861
|
+
content = content.replace(/<img.*?src="(.*?)"?[^\>]+>/ig, '[图片]') // replace image link
|
862
|
+
content = content.replace(/<a[^>]+?href=["']?([^"']+)["']?[^>]*>([^<]+)<\/a>/gi, '[链接]') // replace url
|
863
|
+
content = content.replace(/<pre><code>.*?<\/pre>/gi, '[代码]') // replace code
|
864
|
+
content = content.replace(/<[^>]+>/g,"") // remove html tag
|
865
|
+
|
866
|
+
if (content.length > 150) {
|
867
|
+
content = content.substring(0,150) + '...'
|
868
|
+
}
|
869
|
+
return content
|
870
|
+
}
|
871
|
+
|
872
|
+
const getComment = () => {
|
873
|
+
const runTwikoo = () => {
|
874
|
+
twikoo.getRecentComments({
|
875
|
+
envId: 'https://twikoo.anjiurine.top',
|
876
|
+
region: '',
|
877
|
+
pageSize: 6,
|
878
|
+
includeReply: true
|
879
|
+
}).then(function (res) {
|
880
|
+
const twikooArray = res.map(e => {
|
881
|
+
return {
|
882
|
+
'content': changeContent(e.comment),
|
883
|
+
'avatar': e.avatar,
|
884
|
+
'nick': e.nick,
|
885
|
+
'url': e.url + '#' + e.id,
|
886
|
+
'date': new Date(e.created).toISOString()
|
887
|
+
}
|
888
|
+
})
|
889
|
+
|
890
|
+
saveToLocal.set('twikoo-newest-comments', JSON.stringify(twikooArray), 10/(60*24))
|
891
|
+
generateHtml(twikooArray)
|
892
|
+
}).catch(function (err) {
|
893
|
+
const $dom = document.querySelector('#card-newest-comments .aside-list')
|
894
|
+
$dom.innerHTML= "无法获取评论,请确认相关配置是否正确"
|
895
|
+
})
|
896
|
+
}
|
897
|
+
|
898
|
+
if (typeof twikoo === 'object') {
|
899
|
+
runTwikoo()
|
900
|
+
} else {
|
901
|
+
getScript('https://registry.npmmirror.com/twikoo/latest/files/dist/twikoo.all.min.js').then(runTwikoo)
|
902
|
+
}
|
903
|
+
}
|
904
|
+
|
905
|
+
const generateHtml = array => {
|
906
|
+
let result = ''
|
907
|
+
|
908
|
+
if (array.length) {
|
909
|
+
for (let i = 0; i < array.length; i++) {
|
910
|
+
result += '<div class=\'aside-list-item\'>'
|
911
|
+
|
912
|
+
if (true) {
|
913
|
+
const name = 'src'
|
914
|
+
result += `<a href='${array[i].url}' class='thumbnail'><img ${name}='${array[i].avatar}' alt='${array[i].nick}'></a>`
|
915
|
+
}
|
916
|
+
|
917
|
+
result += `<div class='content'>
|
918
|
+
<a class='comment' href='${array[i].url}' title='${array[i].content}'>${array[i].content}</a>
|
919
|
+
<div class='name'><span>${array[i].nick} / </span><time datetime="${array[i].date}">${btf.diffDate(array[i].date, true)}</time></div>
|
920
|
+
</div></div>`
|
921
|
+
}
|
922
|
+
} else {
|
923
|
+
result += '没有评论'
|
924
|
+
}
|
925
|
+
|
926
|
+
let $dom = document.querySelector('#card-newest-comments .aside-list')
|
927
|
+
$dom.innerHTML= result
|
928
|
+
window.lazyLoadInstance && window.lazyLoadInstance.update()
|
929
|
+
window.pjax && window.pjax.refresh($dom)
|
930
|
+
}
|
931
|
+
|
932
|
+
const newestCommentInit = () => {
|
933
|
+
if (document.querySelector('#card-newest-comments .aside-list')) {
|
934
|
+
const data = saveToLocal.get('twikoo-newest-comments')
|
935
|
+
if (data) {
|
936
|
+
generateHtml(JSON.parse(data))
|
937
|
+
} else {
|
938
|
+
getComment()
|
939
|
+
}
|
940
|
+
}
|
941
|
+
}
|
942
|
+
|
943
|
+
newestCommentInit()
|
944
|
+
document.addEventListener('pjax:complete', newestCommentInit)
|
945
|
+
})</script><script type="text/javascript" src="/js/fixbugpjax.js"></script><script src="/js/sakura.js"></script><div class="aplayer no-destroy" data-id="7803928554" data-server="netease" data-type="playlist" data-listfolded="false" data-preload="metadata" data-theme="var(--lyx-theme)" data-fixed="true" data-autoplay="false" data-volume="0.1" style="z-index:514"> </div><script type="text/javascript" src="/js/aplayersave.js"></script><script type="text/javascript" src="/js/noie.js"></script><script src="https://registry.npmmirror.com/leancloud-storage/4.13.1/files/dist/av-min.js"></script><script src="https://jsd.anjiurine.top/gh/nextapps-de/winbox/dist/winbox.bundle.min.js"></script><script src="https://registry.npmmirror.com/sweetalert2/8/files"></script><script type="text/javascript" data-pjax="" src="/js/rightmenu.js"></script><script type="text/javascript" src="/js/copy.js"></script><script type="text/javascript" src="/js/welcome.js"></script><script type="text/javascript" src="https://registry.npmmirror.com/jquery/latest/files/dist/jquery.min.js"></script><script type="text/javascript" src="/js/resizeTop.js"></script><script type="text/javascript" src="/js/languages.js"></script><script type="text/javascript" src="/js/browser.js"></script><script type="text/javascript" src="/js/smooth-scrolling.js"></script><script src="//cdn.bootcss.com/pace/1.0.2/pace.min.js"></script><script type="text/javascript" src="/js/sitetime.js"></script><script data-pjax="" type="text/javascript" src="/js/heimu.js"></script><script data-pjax="" src="/js/bbtalklunbo.js"></script><script data-pjax="" src="/js/fps.js"></script><script data-pjax="" src="/js/dis.js"></script><script data-pjax="" src="/js/settings.js"></script><script src="/js/owo.js"></script><script src="/js/welcomeconsole.js"></script><script src="/js/hide.show.js"></script><script src="https://f.zhheo.com/JS-Heo/bb/showbb_in_index.js" data-pjax="" =""="" defer=""></script><script data-pace-options="{ "restartOnRequestAfter":false,"eventLag":false}" src="https://cdn.bootcss.com/pace/1.0.2/pace.min.js"></script><script data-pjax="" src="/js/baiduhistory.js"></script><script src="/js/random.js"></script><script src="/js/lunar.js"></script><script src="/js/day.js"></script><script data-pjax="" src="/js/nav.js"></script><script src="/js/cursor.js"></script><script data-pjax="" type="text/javascript" src="/js/dianzan.js"></script><script type="text/javascript" src="/js/commentsCount.js"></script><script type="text/javascript" src="/js/latest.js"></script><script data-pjax="" defer="" src="/js/fixed_card_widget.js"></script><script type="text/javascript" src="https://registry.npmmirror.com/node-snackbar/0.1.16/files/src/js/snackbar.js"></script><script src="https://registry.npmmirror.com/pjax/latest/files/pjax.min.js"></script><script>let pjaxSelectors = ["head > title","#config-diff","#body-wrap","#rightside-config-hide","#rightside-config-show",".js-pjax","#fixedcard-dashboard"]
|
946
|
+
|
947
|
+
var pjax = new Pjax({
|
948
|
+
elements: 'a:not([target="_blank"]):not([href="/essay/"])',
|
949
|
+
selectors: pjaxSelectors,
|
950
|
+
cacheBust: false,
|
951
|
+
analytics: false,
|
952
|
+
scrollRestoration: false
|
953
|
+
})
|
954
|
+
|
955
|
+
document.addEventListener('pjax:send', function () {
|
956
|
+
|
957
|
+
// removeEventListener scroll
|
958
|
+
window.tocScrollFn && window.removeEventListener('scroll', window.tocScrollFn)
|
959
|
+
window.scrollCollect && window.removeEventListener('scroll', scrollCollect)
|
960
|
+
|
961
|
+
typeof preloader === 'object' && preloader.initLoading()
|
962
|
+
document.getElementById('rightside').style.cssText = "opacity: ''; transform: ''"
|
963
|
+
|
964
|
+
if (window.aplayers) {
|
965
|
+
for (let i = 0; i < window.aplayers.length; i++) {
|
966
|
+
if (!window.aplayers[i].options.fixed) {
|
967
|
+
window.aplayers[i].destroy()
|
968
|
+
}
|
969
|
+
}
|
970
|
+
}
|
971
|
+
|
972
|
+
typeof typed === 'object' && typed.destroy()
|
973
|
+
|
974
|
+
//reset readmode
|
975
|
+
const $bodyClassList = document.body.classList
|
976
|
+
$bodyClassList.contains('read-mode') && $bodyClassList.remove('read-mode')
|
977
|
+
|
978
|
+
})
|
979
|
+
|
980
|
+
document.addEventListener('pjax:complete', function () {
|
981
|
+
window.refreshFn()
|
982
|
+
|
983
|
+
document.querySelectorAll('script[data-pjax]').forEach(item => {
|
984
|
+
const newScript = document.createElement('script')
|
985
|
+
const content = item.text || item.textContent || item.innerHTML || ""
|
986
|
+
Array.from(item.attributes).forEach(attr => newScript.setAttribute(attr.name, attr.value))
|
987
|
+
newScript.appendChild(document.createTextNode(content))
|
988
|
+
item.parentNode.replaceChild(newScript, item)
|
989
|
+
})
|
990
|
+
|
991
|
+
GLOBAL_CONFIG.islazyload && window.lazyLoadInstance.update()
|
992
|
+
|
993
|
+
typeof chatBtnFn === 'function' && chatBtnFn()
|
994
|
+
typeof panguInit === 'function' && panguInit()
|
995
|
+
|
996
|
+
// google analytics
|
997
|
+
typeof gtag === 'function' && gtag('config', '', {'page_path': window.location.pathname});
|
998
|
+
|
999
|
+
// baidu analytics
|
1000
|
+
typeof _hmt === 'object' && _hmt.push(['_trackPageview',window.location.pathname]);
|
1001
|
+
|
1002
|
+
typeof loadMeting === 'function' && document.getElementsByClassName('aplayer').length && loadMeting()
|
1003
|
+
|
1004
|
+
// prismjs
|
1005
|
+
typeof Prism === 'object' && Prism.highlightAll()
|
1006
|
+
|
1007
|
+
typeof preloader === 'object' && preloader.endLoading()
|
1008
|
+
})
|
1009
|
+
|
1010
|
+
document.addEventListener('pjax:error', (e) => {
|
1011
|
+
if (e.request.status === 404) {
|
1012
|
+
pjax.loadUrl('/404.html')
|
1013
|
+
}
|
1014
|
+
})</script><script async="" data-pjax="" src="https://cdn.dusays.com/bsz.js"></script><div id="fixedcard-dashboard"><button class="fixedcard-activebtn" type="button" title="我的信息" onclick="FixedCardWidget("class","card-info","0")"><i class="fas fa-address-book"></i></button><button class="fixedcard-activebtn" type="button" title="公告" onclick="FixedCardWidget("class","card-announcement","0")"><i class="fas fa-bullhorn"></i></button><button class="fixedcard-activebtn" type="button" title="天气" onclick="FixedCardWidget("class","card-weather","0")"><i class="fas fa-cloud-sun"></i></button><button class="fixedcard-activebtn" type="button" title="最新文章" onclick="FixedCardWidget("class","card-recent-post","0")"><i class="fas fa-history"></i></button><button class="fixedcard-activebtn" type="button" title="最新评论" onclick="FixedCardWidget("id","card-newest-comments","0")"><i class="fas fa-comment-dots"></i></button><button class="fixedcard-activebtn" type="button" title="文章日历" onclick="FixedCardWidget("class","card-calendar","0")"><i class="fas fa-calendar"></i></button><div class="fixedcard-user-avatar fixedcard-activebtn" onclick="RemoveFixedCardWidget()"><img class="fixedcard-user-avatar-img" src="https://registry.npmmirror.com/q78kg-website-npm-cdn/latest/files/avatar-60x60.png" title="Q78KG"></div></div></div><div class="barrageswiper swiper-container"><div class="comment-barrage js-pjax swiper-wrapper"></div><link rel="stylesheet" href="/css/commentBarrage.css"><script data-pjax="" src="/js/commentBarrage.js"></script></div></body></html>
|