-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path16068415032223.html
446 lines (338 loc) · 13.7 KB
/
16068415032223.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta http-equiv="Cache-Control" content="no-transform"/>
<title>
前端资料大全 2 - Ciroy的技术笔记
</title>
<link href="asset/css/style.css" rel="stylesheet" >
<link href="asset/js/xcode.min.css" rel="stylesheet">
<script src="asset/js/headroom.js"></script>
<!-- <link rel="stylesheet" href="http://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="asset/css/font-awesome.css">
-->
<!-- <script src="asset/highlightjs/highlight.pack.js"></script> -->
<!-- <link href="asset/highlightjs/styles/solarized_light.css" media="screen, projection" rel="stylesheet" type="text/css"> -->
<!-- <script>hljs.initHighlightingOnLoad();</script> -->
</head>
<!-- 主体开始 -->
<!-- <body class="" gtools_scp_screen_capture_injected="true"> -->
<!-- 上面为主页白底色版本 -->
<body class="bg-grey" gtools_scp_screen_capture_injected="true" data-feedly-mini="yes">
<!-- 上面是主页灰底色版本 -->
<!--[if lt IE 8]>
<div class="browsehappy" role="dialog">
当前网页 <strong>不支持</strong> 你正在使用的浏览器. 为了正常的访问, 请 <a href="http://browsehappy.com/" target="_blank">升级你的浏览器</a>。
</div>
<![endif]-->
<!-- 头部位置 -->
<header id="header" class="header bg-white headroom" style="border-top:4px solid #f4645f">
<div class="navbar-container">
<a href="index.html" class="navbar-logo"><img src="asset/img/logo.jpg"></a>
<div class="navbar-menu">
<a href="index.html">首页</a>
<a href="archives.html">归档</a>
<a href="ce-shi-ce-shi-tu-pianavatarw60.html">关于</a>
</div>
<!-- 搜索框体 -->
<!-- <div class="navbar-search" onclick="">
<span class="icon-search"></span>
<form id="search" method="post" action="/" role="search">
<span class="search-box">
<input type="text" id="input" class="input" name="s" required="true" placeholder="Search..." maxlength="30" autocomplete="off">
</span>
</form>
</div> -->
<div class="navbar-mobile-menu" onclick="">
<span class="icon-menu cross"><span class="middle"></span></span>
<ul>
<li>
<a href="index.html">首页</a>
</li>
<li>
<a href="archives.html">归档</a>
</li>
<li>
<a href="ce-shi-ce-shi-tu-pianavatarw60.html">关于</a>
</li>
</ul>
</div>
</div>
</header>
<!-- 头部结束 --> <!-- post 开始 -->
<div class="bg-white" gtools_scp_screen_capture_injected="true" data-feedly-mini="yes">
<article class="main-content page-page" style="max-width: 700px;padding: 110px 25px 20px" itemscope="" itemtype="http://schema.org/Article">
<div class="post-header">
<!-- title -->
<div class="post-header">
<h1 class="post-title itemprop="name headline">前端资料大全 2</h1>
<div class="post-data">
<time datetime="2020-12-02T00:51:43+08:00" pubdate data-updated="true">2020/12/02</time>
</div>
</div>
</div>
<div id="post-content" class="post-content" itemprop="articleBody">
<p class="post-tags">
<a href='%E5%89%8D%E7%AB%AF.html'>前端</a>
</p>
<!-- 正文 -->
<p>
<h2 id="toc_0">书籍</h2>
<ul>
<li>精通CSS</li>
<li>Angular 即学即用</li>
<li>HTML5与CSS3 实例教程</li>
<li>(欠缺vue)</li>
<li>(欠缺jquery)</li>
<li>(欠缺html标签书籍)</li>
</ul>
<h2 id="toc_1">教程</h2>
<ul>
<li><a href="https://wangdoc.com/javascript/">网道 JavaScript</a></li>
<li><a href="https://wangdoc.com/es6/">网道 ES6</a></li>
<li><a href="https://wangdoc.com/html/index.html">网道 HTML</a></li>
<li>Bootstrap</li>
<li><a href="https://www.w3school.com.cn/html/index.asp">HTML + CSS w3cschool</a></li>
</ul>
</p>
<!-- 侧边导航条 -->
<div id="directory-content" class="directory-content">
<div id="directory" style="margin-left: 50px;margin-top: 120px"></div>
</div>
<!-- JS -->
<script>
var postDirectoryBuild = function() {
var postChildren = function children(childNodes, reg) {
var result = [],
isReg = typeof reg === 'object',
isStr = typeof reg === 'string',
node, i, len;
for (i = 0, len = childNodes.length; i < len; i++) {
node = childNodes[i];
if ((node.nodeType === 1 || node.nodeType === 9) &&
(!reg ||
isReg && reg.test(node.tagName.toLowerCase()) ||
isStr && node.tagName.toLowerCase() === reg)) {
result.push(node);
}
}
return result;
},
createPostDirectory = function(article, directory, isDirNum) {
var contentArr = [],
titleId = [],
levelArr, root, level,
currentList, list, li, link, i, len;
levelArr = (function(article, contentArr, titleId) {
var titleElem = postChildren(article.childNodes, /^h\d$/),
levelArr = [],
lastNum = 1,
lastRevNum = 1,
count = 0,
guid = 1,
id = 'directory' + (Math.random() + '').replace(/\D/, ''),
lastRevNum, num, elem;
while (titleElem.length) {
elem = titleElem.shift();
contentArr.push(elem.innerHTML);
num = +elem.tagName.match(/\d/)[0];
if (num > lastNum) {
levelArr.push(1);
lastRevNum += 1;
} else if (num === lastRevNum ||
num > lastRevNum && num <= lastNum) {
levelArr.push(0);
lastRevNum = lastRevNum;
} else if (num < lastRevNum) {
levelArr.push(num - lastRevNum);
lastRevNum = num;
}
count += levelArr[levelArr.length - 1];
lastNum = num;
elem.id = elem.id || (id + guid++);
titleId.push(elem.id);
}
if (count !== 0 && levelArr[0] === 1) levelArr[0] = 0;
return levelArr;
})(article, contentArr, titleId);
currentList = root = document.createElement('ul');
dirNum = [0];
for (i = 0, len = levelArr.length; i < len; i++) {
level = levelArr[i];
if (level === 1) {
list = document.createElement('ul');
if (!currentList.lastElementChild) {
currentList.appendChild(document.createElement('li'));
}
currentList.lastElementChild.appendChild(list);
currentList = list;
dirNum.push(0);
} else if (level < 0) {
level *= 2;
while (level++) {
if (level % 2) dirNum.pop();
currentList = currentList.parentNode;
}
}
dirNum[dirNum.length - 1]++;
li = document.createElement('li');
link = document.createElement('a');
link.href = '#' + titleId[i];
link.innerHTML = !isDirNum ? contentArr[i] :
dirNum.join('.') + ' ' + contentArr[i] ;
li.appendChild(link);
currentList.appendChild(li);
}
directory.appendChild(root);
};
createPostDirectory(document.getElementById('post-content'),document.getElementById('directory'), true);
};
postDirectoryBuild();
</script>
<!-- 版权声明 -->
<p class="post-info" style="color: #BCBDB6">
本文由 <a style="color: #BCBDB6" href="#"> Ciroygo
</a> 创作,采用 <a style="color: #BCBDB6" href="https://creativecommons.org/licenses/by/4.0/" target="_blank" rel="external nofollow">知识共享署名4.0</a> 国际许可协议进行许可<br>本站文章除注明转载/出处外,均为本站原创或翻译,转载前请务必署名<br>最后编辑时间为: 2020-12-02T00:51:43+08:00
</p>
<!-- 导航 -->
<div id="comments" class="clearfix" style="padding: 0px;">
<footer class="post-footer clearfix">
<div class="meta">
<P style="float: left;">
<a href="16060326802164.html"
title="Previous Post: 常用必须掌握的linux命令">« 常用必须掌握的linux命令</a>
</p>
<p style="float:right; ">
<a href="16080408441979.html"
title="Next Post: Vim编辑器与Shell命令脚本">Vim编辑器与Shell命令脚本 »</a>
</p>
</div>
</footer>
<!-- footer end -->
</div>
</div>
</article>
<!-- 评论区 -->
<div id="respond-post-269" class="comment-container">
<div id="comments" class="clearfix">
<script type="text/javascript" src="/pm/hashover/hashover.js"></script>
<noscript>You must have JavaScript enabled to use the comments.</noscript>
<!-- 评论区结束 -->
<div>
<div id="disqus_thread"></div>
</div>
</div>
</div>
</div>
<!-- headroom -->
<script type="text/javascript">
(function() {
var header = new Headroom(document.querySelector("#header"), {
tolerance: 3,
offset : 80,
classes: {
initial: "animated",
pinned: "slideDown",
unpinned: "slideUp"
}
});
header.init();
}());
</script> <footer id="footer" class="footer" style="background-color: #030501;color: #FFFFFE;">
<div class="footer-meta">
<div class="footer-container">
<!-- 版权说明 -->
<div class="meta-item meta-copyright">
<div class="meta-copyright-info">
<h2 class="meta-title">INFO</h2>
<div class="info-text">
<p>Copyright © 2020 <br>
<span class="credit">Powered by
<a target="_blank" href="http://www.pca7.com/">Ciroygo</a>
</span>
</p>
</div>
</div>
</div>
<!-- Categories -->
<div class="meta-item meta-comments">
<h2 class="meta-title">CATEGORIES</h2>
<li>
<a href="Linux.html">Linux (4)</a>
<p>
<a href="%E5%B0%B1%E8%AF%A5%E8%BF%99%E4%B9%88%E5%AD%A6Linux.html">就该这么学Linux (3)</a>
</p>
</li>
<li>
<a href="PHP.html">PHP (1)</a>
<p>
</p>
</li>
<li>
<a href="Docker.html">Docker (1)</a>
<p>
</p>
</li>
<li>
<a href="%E5%89%8D%E7%AB%AF.html">前端 (2)</a>
<p>
<a href="%E7%BD%91%E9%81%93HTML.html">网道HTML (1)</a>
</p>
</li>
</div>
<!-- 最新文章 -->
<div class="meta-item meta-comments">
<h2 class="meta-title">RECENT POSTS</h2>
<li>
<a href="16081363724787.html">Docker资料大全</a><br>
</li>
<li>
<a href="16080978557475.html">入门</a><br>
</li>
<li>
<a href="16080843168041.html">前言</a><br>
</li>
<li>
<a href="16071597989635.html">Go 资料大全</a><br>
</li>
<li>
<a href="16068414066670.html">Mysql资料大全</a><br>
</li>
</div>
</div>
</div>
</footer>
<!--评论变量判断 -->
<script type="text/javascript">
var disqus_shortname = 'www-ciroy-com';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<script type="text/javascript">
var disqus_shortname = 'www-ciroy-com';
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
<!-- 评论end -->
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?f25a9d9556f30b3cb8fb8b9a4ab64126";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>