-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
306 lines (231 loc) · 11.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>罗二德</title>
<meta name="description" content="折腾是乐趣所在!" />
<link rel="shortcut icon" href="https://lorde627.xyz/favicon.ico?v=1655887803227">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.min.css">
<link rel="stylesheet" href="https://lorde627.xyz/styles/main.css">
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-192776772-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-192776772-1');
</script>
</script></script>
<!-- OG -->
<meta property="og:locale" content="zh_CN">
<meta property="og:title" content="罗二德" />
<meta property="og:type" content="blog" />
<meta property="og:description" content="折腾是乐趣所在!">
<meta property="og:url" content="https://Lorde627.xyz/" />
<meta property="og:site_name" content="罗二德">
<meta property="og:image" content="https://lorde627.xyz/images/avatar.png?v=1655887803227" />
<meta property="og:image:secure_url" content="https://lorde627.xyz/images/avatar.png?v=1655887803227">
<meta property="og:image:height" content="300" />
<meta property="og:image:alt" content="罗二德">
</head>
<body>
<div class="main px-4 flex flex-col lg:flex-row">
<div id="sidebar" class="sidebar-wrapper lg:static lg:w-1/4">
<div class="lg:sticky top-0">
<div class="sidebar-content">
<div class="flex lg:block p-4 lg:px-0 items-center fixed lg:static lg:block top-0 right-0 left-0 bg-white z-50">
<i class="ri-menu-2-line lg:mt-4 text-2xl cursor-pointer animated fadeIn" onclick="openMenu()"></i>
<a href="https://lorde627.xyz">
<img class="animated fadeInLeft avatar rounded-lg mx-4 lg:mt-32 lg:mx-0 mt-0 lg:w-24 lg:h-24 w-12 w-12" src="https://lorde627.xyz/images/avatar.png?v=1655887803227" alt="">
</a>
<h1 class="animated fadeInLeft lg:text-4xl font-extrabold lg:mt-8 mt-0 text-xl" style="animation-delay: 0.2s">罗二德</h1>
</div>
<div class="animated fadeInLeft" style="animation-delay: 0.4s">
<p class="my-4 text-gray-600 font-light hidden lg:block">
折腾是乐趣所在!
</p>
<div class="animated fadeInLeft social-container hidden lg:block" style="animation-delay: 0.6s">
<a href="https://t.me/Archie627" target="_blank" class="mr-4 text-xl text-gray-400 font-light hover:text-gray-900">
<i class="ri-telegram-line"></i>
</a>
<a href="https://www.instagram.com/627foto/" target="_blank" class="mr-4 text-xl text-gray-400 font-light hover:text-gray-900">
<i class="ri-instagram-line"></i>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="menu-container">
<i class="ri-arrow-left-line text-2xl cursor-pointer animated fadeIn close-menu-btn" onclick="closeMenu()"></i>
<div>
<a href="/" class="menu" style="animation-delay: 0s">
首页
</a>
<a href="/archives/" class="menu" style="animation-delay: 0.2s">
归档
</a>
<a href="/tags/" class="menu" style="animation-delay: 0.4s">
标签
</a>
<a href="/post/about/" class="menu" style="animation-delay: 0.6000000000000001s">
关于
</a>
</div>
<div class="site-footer">
<div class="py-4 text-gray-700">Powered by <a href="https://github.com/getgridea/gridea" target="_blank">Gridea</a> <br>
Hosted by <a href="https://www.vx.link" target="_blank">VX.Link</a></div>
<a class="rss" href="https://lorde627.xyz/atom.xml" target="_blank">RSS</a>
</div>
</div>
<div class="mask" onclick="closeMenu()">
</div>
<div class="content-wrapper py-32 lg:p-8 lg:w-3/4">
<h2 class="latest-article text-lg text-gray-700 mb-8">
<i class="ri-article-line"></i>
最新文章
</h2>
<section class="post-item md:flex pb-12 animated fadeIn" :style="{ 'animation-delay': `${0 * 0.2}s` }">
<a href="https://lorde627.xyz/post/AppleOne/" class="feature-image-wrapper bg-gray-100 rounded-lg flex-shrink-0 mr-8 w-full h-56 h-32 md:w-56 md:h-40">
<div class="post-feature-image lazy w-full h-56 h-32 md:w-56 md:h-40" data-bg="'https://lorde627.xyz/post-images/AppleOne.webp'">
</div>
</a>
<div class="content">
<a href="https://lorde627.xyz/post/AppleOne/">
<h2 class="post-title text-xl font-extrabold mt-5 md:mt-0">什么是 Apple One,你需要它吗? </h2>
</a>
<div class="post-abstract text-gray-700 font-light my-4">
<p>Apple One 是苹果公司推出的一种将 Apple Music、Apple TV+、Apple Arcade、ICloud 整合在一起的订阅服务, 用户订阅后可以同时享有以上服务.该服务于2020年10月30日推出,至今热度尚缺,那么Apple One 捆绑打包服务究竟值不值呢?让我们来一起探究一下~</p>
</div>
<div class="text-gray-400 text-sm font-light">2022-01-27 / 6 min read</div>
</div>
</section>
<section class="post-item md:flex pb-12 animated fadeIn" :style="{ 'animation-delay': `${1 * 0.2}s` }">
<a href="https://lorde627.xyz/post/Netflix_Ratings/" class="feature-image-wrapper bg-gray-100 rounded-lg flex-shrink-0 mr-8 w-full h-56 h-32 md:w-56 md:h-40">
<div class="post-feature-image lazy w-full h-56 h-32 md:w-56 md:h-40" data-bg="'https://lorde627.xyz/post-images/Netflix_Ratings.webp'">
</div>
</a>
<div class="content">
<a href="https://lorde627.xyz/post/Netflix_Ratings/">
<h2 class="post-title text-xl font-extrabold mt-5 md:mt-0">[脚本分享] 烂片退散! 奈飞 Netflix 显示影片评分.</h2>
</a>
<div class="post-abstract text-gray-700 font-light my-4">
<p>你是否曾在 Netflix 上随意浏览,点开一部电影观看到看到一半却发现烂到不行?<br>
相信我,我已经有过数次这般的体验了.其实 Netflix 在早期是有用户评分的栏目,后来为了避免烂片没有人观赏,Netflix 将用户评分下架,改为了顶和踩的按钮,使用算法来推荐,我觉得挺没有效率的.<br>
前不久在Telegram上发现了一款可以在 Netflix 客户端上显示 豆瓣/IMDB/烂番茄 的评分脚本,体验过后觉得很受用,再次分享给大家.</p>
</div>
<div class="text-gray-400 text-sm font-light">2022-01-18 / 4 min read</div>
</div>
</section>
<section class="post-item md:flex pb-12 animated fadeIn" :style="{ 'animation-delay': `${2 * 0.2}s` }">
<a href="https://lorde627.xyz/post/360-V6/" class="feature-image-wrapper bg-gray-100 rounded-lg flex-shrink-0 mr-8 w-full h-56 h-32 md:w-56 md:h-40">
<div class="post-feature-image lazy w-full h-56 h-32 md:w-56 md:h-40" data-bg="'https://lorde627.xyz/post-images/360-V6.webp'">
</div>
</a>
<div class="content">
<a href="https://lorde627.xyz/post/360-V6/">
<h2 class="post-title text-xl font-extrabold mt-5 md:mt-0">百元最强路由器: 360 V6 软刷 QSDK OpenWrt 固件</h2>
</a>
<div class="post-abstract text-gray-700 font-light my-4">
<p>随着新一代高通IPQ系列 WI-FI 6 路由器登场,风靡一时的 MTK MT762x 路由器也将踏入退休之路.<br>
如今路由器生态的进一步发展以及开源开发者们的无私奉献,如今的无线路由器已不仅仅只是提供无线接入,其有了更多的可玩性.</p>
</div>
<div class="text-gray-400 text-sm font-light">2022-01-05 / 7 min read</div>
</div>
</section>
<div class="read-more">
</div>
<div class="index-page">
<div class="pagination-container animated fadeIn">
</div>
</div>
</div>
</div>
<script src="https://lorde627.xyz/media/prism.js"></script>
<script>
Prism.highlightAll()
let mainNavLinks = document.querySelectorAll(".markdownIt-TOC a");
// This should probably be throttled.
// Especially because it triggers during smooth scrolling.
// https://lodash.com/docs/4.17.10#throttle
// You could do like...
// window.addEventListener("scroll", () => {
// _.throttle(doThatStuff, 100);
// });
// Only not doing it here to keep this Pen dependency-free.
window.addEventListener("scroll", event => {
let fromTop = window.scrollY;
mainNavLinks.forEach((link, index) => {
let section = document.getElementById(decodeURI(link.hash).substring(1));
let nextSection = null
if (mainNavLinks[index + 1]) {
nextSection = document.getElementById(decodeURI(mainNavLinks[index + 1].hash).substring(1));
}
if (section.offsetTop <= fromTop) {
if (nextSection) {
if (nextSection.offsetTop > fromTop) {
link.classList.add("current");
} else {
link.classList.remove("current");
}
} else {
link.classList.add("current");
}
} else {
link.classList.remove("current");
}
});
});
document.addEventListener("DOMContentLoaded", function() {
var lazyImages = [].slice.call(document.querySelectorAll(".post-feature-image.lazy"));
if ("IntersectionObserver" in window) {
let lazyImageObserver = new IntersectionObserver(function(entries, observer) {
entries.forEach(function(entry) {
if (entry.isIntersecting) {
let lazyImage = entry.target
lazyImage.style.backgroundImage = `url(${lazyImage.dataset.bg})`
lazyImage.classList.remove("lazy")
lazyImageObserver.unobserve(lazyImage)
}
});
});
lazyImages.forEach(function(lazyImage) {
lazyImageObserver.observe(lazyImage)
})
} else {
// Possibly fall back to a more compatible method here
}
});
const menuContainer = document.querySelector('.menu-container')
const menus = document.querySelectorAll('.menu-container .menu')
const mask = document.querySelector('.mask')
const contentWrapper = document.querySelector('.content-wrapper')
const latestArticle = document.querySelector('.latest-article')
const readMore = document.querySelector('.read-more')
const indexPage = document.querySelector('.index-page')
const isHome = location.pathname === '/'
if (latestArticle) {
latestArticle.style.display = isHome ? 'block' : 'none'
readMore.style.display = isHome ? 'block' : 'none'
indexPage.style.display = isHome ? 'none' : 'block'
}
const openMenu = () => {
menuContainer.classList.add('open')
menus.forEach(menu => {
menu.classList.add('animated', 'fadeInLeft')
})
mask.classList.add('open')
contentWrapper.classList.add('is-second')
}
const closeMenu = () => {
menuContainer.classList.remove('open')
menus.forEach(menu => {
menu.classList.remove('animated', 'fadeInLeft')
})
mask.classList.remove('open')
contentWrapper.classList.remove('is-second')
}
</script>
<script src="//instant.page/3.0.0" type="module" defer integrity="sha384-OeDn4XE77tdHo8pGtE1apMPmAipjoxUQ++eeJa6EtJCfHlvijigWiJpD7VDPWXV1"></script>
</body>
</html>