2024-06-02 22:03:12 +08:00
|
|
|
<!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,viewport-fit=cover"><title>2023 | SharwOrangeのBlog小屋</title><meta name="author" content="SharwOrange"><meta name="copyright" content="SharwOrange"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta property="og:type" content="website">
|
|
|
|
<meta property="og:title" content="2023">
|
|
|
|
<meta property="og:url" content="https://blog.hope-now.top:8443/archives/2023/">
|
|
|
|
<meta property="og:site_name" content="SharwOrangeのBlog小屋">
|
|
|
|
<meta property="og:locale" content="zh_CN">
|
2024-06-03 13:24:46 +08:00
|
|
|
<meta property="og:image" content="https://blog.hope-now.top:8443/img/avatar.png">
|
2024-06-02 22:03:12 +08:00
|
|
|
<meta property="article:author" content="SharwOrange">
|
|
|
|
<meta name="twitter:card" content="summary">
|
2024-06-03 13:24:46 +08:00
|
|
|
<meta name="twitter:image" content="https://blog.hope-now.top:8443/img/avatar.png"><link rel="shortcut icon" href="/img/avatar.png"><link rel="canonical" href="https://blog.hope-now.top:8443/archives/2023/"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css?v=4.13.0"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5.1/css/all.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui@5.0.33/dist/fancybox/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = {
|
2024-06-02 22:03:12 +08:00
|
|
|
root: '/',
|
|
|
|
algolia: undefined,
|
|
|
|
localSearch: undefined,
|
2024-06-03 20:31:29 +08:00
|
|
|
translate: {"defaultEncoding":2,"translateDelay":0,"msgToTraditionalChinese":"繁","msgToSimplifiedChinese":"簡"},
|
|
|
|
noticeOutdate: {"limitDay":60,"position":"top","messagePrev":"距离上次更新已经","messageNext":"天,文章内容可能已过时"},
|
2024-06-02 22:03:12 +08:00
|
|
|
highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
|
|
|
|
copy: {
|
|
|
|
success: '复制成功',
|
|
|
|
error: '复制错误',
|
|
|
|
noSupport: '浏览器不支持'
|
|
|
|
},
|
|
|
|
relativeDate: {
|
|
|
|
homepage: false,
|
|
|
|
post: false
|
|
|
|
},
|
2024-06-03 20:31:29 +08:00
|
|
|
runtime: '天',
|
2024-06-02 22:03:12 +08:00
|
|
|
dateSuffix: {
|
|
|
|
just: '刚刚',
|
|
|
|
min: '分钟前',
|
|
|
|
hour: '小时前',
|
|
|
|
day: '天前',
|
|
|
|
month: '个月前'
|
|
|
|
},
|
2024-06-03 20:31:29 +08:00
|
|
|
copyright: {"limitCount":50,"languages":{"author":"作者: SharwOrange","link":"链接: ","source":"来源: SharwOrangeのBlog小屋","info":"著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。"}},
|
2024-06-02 22:03:12 +08:00
|
|
|
lightbox: 'fancybox',
|
|
|
|
Snackbar: undefined,
|
|
|
|
infinitegrid: {
|
|
|
|
js: 'https://cdn.jsdelivr.net/npm/@egjs/infinitegrid@4.11.1/dist/infinitegrid.min.js',
|
|
|
|
buttonText: '加载更多'
|
|
|
|
},
|
|
|
|
isPhotoFigcaption: false,
|
|
|
|
islazyload: false,
|
|
|
|
isAnchor: false,
|
|
|
|
percent: {
|
|
|
|
toc: true,
|
2024-06-03 20:31:29 +08:00
|
|
|
rightside: true,
|
2024-06-02 22:03:12 +08:00
|
|
|
},
|
|
|
|
autoDarkmode: false
|
|
|
|
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
|
|
|
|
title: '2023',
|
|
|
|
isPost: false,
|
|
|
|
isHome: false,
|
2024-06-03 20:31:29 +08:00
|
|
|
isHighlightShrink: undefined,
|
2024-06-02 22:03:12 +08:00
|
|
|
isToc: false,
|
2024-06-03 20:31:29 +08:00
|
|
|
postUpdate: '2024-06-03 20:31:27'
|
2024-06-02 22:03:12 +08:00
|
|
|
}</script><script>(win=>{
|
|
|
|
win.saveToLocal = {
|
|
|
|
set: (key, value, ttl) => {
|
|
|
|
if (ttl === 0) return
|
|
|
|
const now = Date.now()
|
|
|
|
const expiry = now + ttl * 86400000
|
|
|
|
const item = {
|
|
|
|
value,
|
|
|
|
expiry
|
|
|
|
}
|
|
|
|
localStorage.setItem(key, JSON.stringify(item))
|
|
|
|
},
|
|
|
|
|
|
|
|
get: key => {
|
|
|
|
const itemStr = localStorage.getItem(key)
|
|
|
|
|
|
|
|
if (!itemStr) {
|
|
|
|
return undefined
|
|
|
|
}
|
|
|
|
const item = JSON.parse(itemStr)
|
|
|
|
const now = Date.now()
|
|
|
|
|
|
|
|
if (now > item.expiry) {
|
|
|
|
localStorage.removeItem(key)
|
|
|
|
return undefined
|
|
|
|
}
|
|
|
|
return item.value
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
win.getScript = (url, attr = {}) => new Promise((resolve, reject) => {
|
|
|
|
const script = document.createElement('script')
|
|
|
|
script.src = url
|
|
|
|
script.async = true
|
|
|
|
script.onerror = reject
|
|
|
|
script.onload = script.onreadystatechange = function() {
|
|
|
|
const loadState = this.readyState
|
|
|
|
if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
|
|
|
|
script.onload = script.onreadystatechange = null
|
|
|
|
resolve()
|
|
|
|
}
|
|
|
|
|
|
|
|
Object.keys(attr).forEach(key => {
|
|
|
|
script.setAttribute(key, attr[key])
|
|
|
|
})
|
|
|
|
|
|
|
|
document.head.appendChild(script)
|
|
|
|
})
|
|
|
|
|
|
|
|
win.getCSS = (url, id = false) => new Promise((resolve, reject) => {
|
|
|
|
const link = document.createElement('link')
|
|
|
|
link.rel = 'stylesheet'
|
|
|
|
link.href = url
|
|
|
|
if (id) link.id = id
|
|
|
|
link.onerror = reject
|
|
|
|
link.onload = link.onreadystatechange = function() {
|
|
|
|
const loadState = this.readyState
|
|
|
|
if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
|
|
|
|
link.onload = link.onreadystatechange = null
|
|
|
|
resolve()
|
|
|
|
}
|
|
|
|
document.head.appendChild(link)
|
|
|
|
})
|
|
|
|
|
|
|
|
win.activateDarkMode = () => {
|
|
|
|
document.documentElement.setAttribute('data-theme', 'dark')
|
|
|
|
if (document.querySelector('meta[name="theme-color"]') !== null) {
|
|
|
|
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
win.activateLightMode = () => {
|
|
|
|
document.documentElement.setAttribute('data-theme', 'light')
|
|
|
|
if (document.querySelector('meta[name="theme-color"]') !== null) {
|
|
|
|
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const t = saveToLocal.get('theme')
|
|
|
|
|
|
|
|
if (t === 'dark') activateDarkMode()
|
|
|
|
else if (t === 'light') activateLightMode()
|
|
|
|
|
|
|
|
const detectApple = () => {
|
|
|
|
if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
|
|
|
|
document.documentElement.classList.add('apple')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
detectApple()
|
2024-06-03 20:31:29 +08:00
|
|
|
})(window)</script><meta name="generator" content="Hexo 6.3.0"></head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="/img/avatar.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">3</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">0</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div><hr class="custom-hr"/><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友联</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fa fa-heartbeat"></i><span> 网站</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" target="_blank" rel="noopener" href="https://server1.hope-now.top:8443"><span> Hope Now Network Site Map</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://git.blog.hope-now.top"><span> Gitub 镜像站</span></a></li><li><a class="site-page child" href="https://blog.hope-now.top:8443"><span> 大陆镜像站</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div></div></div><div class="page" id="body-wrap"><header class="not-home-page" id="page-header"><nav id="nav"><span id="blog-info"><a href="/" title="SharwOrangeのBlog小屋"><img class="site-icon" src="/img/avatar.png"/><span class="site-name">SharwOrangeのBlog小屋</span></a></span><div id="menus"><div class="menus_items"><div class="menus_item"><a class="site-page" href="/"><i class="fa-fw fas fa-home"></i><span> 主页</span></a></div><div class="menus_item"><a class="site-page" href="/archives/"><i class="fa-fw fas fa-archive"></i><span> 归档</span></a></div><div class="menus_item"><a class="site-page" href="/tags/"><i class="fa-fw fas fa-tags"></i><span> 标签</span></a></div><div class="menus_item"><a class="site-page" href="/categories/"><i class="fa-fw fas fa-folder-open"></i><span> 分类</span></a></div><div class="menus_item"><a class="site-page" href="/link/"><i class="fa-fw fas fa-link"></i><span> 友联</span></a></div><div class="menus_item"><a class="site-page group" href="javascript:void(0);"><i class="fa-fw fa fa-heartbeat"></i><span> 网站</span><i class="fas fa-chevron-down"></i></a><ul class="menus_item_child"><li><a class="site-page child" target="_blank" rel="noopener" href="https://server1.hope-now.top:8443"><span> Hope Now Network Site Map</span></a></li><li><a class="site-page child" target="_blank" rel="noopener" href="https://git.blog.hope-now.top"><span> Gitub 镜像站</span></a></li><li><a class="site-page child" href="https://blog.hope-now.top:8443"><span> 大陆镜像站</span></a></li></ul></div><div class="menus_item"><a class="site-page" href="/about/"><i class="fa-fw fas fa-heart"></i><span> 关于</span></a></div></div><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav><div id="page-site-info"><h1 id="site-title">2023</h1></div></header><main class="layout" id="content-inner"><div id="archive"><div class="article-sort-title">文章总览 - 3</div><div class="article-sort"><div class="article-sort-item year">2023</div><div class="a
|