-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
788 lines (378 loc) · 27.7 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
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>
Hexo</title>
<link rel="shortcut icon" href="/favicon.ico">
<link rel="stylesheet" href="/css/style.css">
<link rel="stylesheet" href="/fancybox/jquery.fancybox.min.css">
<script src="/js/pace.min.js"></script>
<meta name="generator" content="Hexo 4.2.1"></head>
<body>
<main class="content">
<section class="jumbotron">
<div class="video">
<div class="video-frame">
<img src="/images/ocean/overlay-hero.png" alt="Decorative image frame">
</div>
<div class="video-media">
<video playsinline="" autoplay="" loop="" muted="" data-autoplay=""
poster="/images/ocean/ocean.png" x5-video-player-type="h5">
<source src="/images/ocean/ocean.mp4" type="video/mp4">
<source src="/images/ocean/ocean.ogv" type="video/ogg">
<source src="/images/ocean/ocean.webm" type="video/webm">
<p>Your user agent does not support the HTML5 Video element.</p>
</video>
<div class="video-overlay"></div>
</div>
<div class="video-inner text-center text-white">
<h1><a href="/">Hexo</a></h1>
<p></p>
<div><img src="/images/hexo-inverted.svg" class="brand" alt="Hexo"></div>
</div>
<div class="video-learn-more">
<a class="anchor" href="#landingpage"><i class="fe fe-mouse"></i></a>
</div>
</div>
</section>
<div id="landingpage">
<section class="outer">
<article class="articles">
<h1 class="page-type-title"></h1>
<article id="post-near30" class="article article-type-post" itemscope itemprop="blogPost" data-scroll-reveal>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2020/07/20/near30/">near30</a>
</h2>
</header>
<div class="article-meta">
<a href="/2020/07/20/near30/" class="article-date">
<time datetime="2020-07-20T13:28:21.000Z" itemprop="datePublished">2020-07-20</time>
</a>
</div>
<div class="article-entry" itemprop="articleBody">
</div>
<footer class="article-footer">
<a data-url="http://yoursite.com/2020/07/20/near30/" data-id="ckdhetu0r00021cumdtdver3x" class="article-share-link">
Share
</a>
</footer>
</div>
</article>
<article id="post-webpack-tapable" class="article article-type-post" itemscope itemprop="blogPost" data-scroll-reveal>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2020/07/05/webpack-tapable/">webpack-tapable</a>
</h2>
</header>
<div class="article-meta">
<a href="/2020/07/05/webpack-tapable/" class="article-date">
<time datetime="2020-07-05T07:45:13.000Z" itemprop="datePublished">2020-07-05</time>
</a>
</div>
<div class="article-entry" itemprop="articleBody">
<p>Webpack本质上是一种事件流机制,它的工作流程就是将各个插件串联起来,而实现</p>
</div>
<footer class="article-footer">
<a data-url="http://yoursite.com/2020/07/05/webpack-tapable/" data-id="ckdhetu13000e1cum34wj3p0o" class="article-share-link">
Share
</a>
</footer>
</div>
</article>
<article id="post-webpack-loader" class="article article-type-post" itemscope itemprop="blogPost" data-scroll-reveal>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2020/07/05/webpack-loader/">webpack-loader</a>
</h2>
</header>
<div class="article-meta">
<a href="/2020/07/05/webpack-loader/" class="article-date">
<time datetime="2020-07-05T06:42:30.000Z" itemprop="datePublished">2020-07-05</time>
</a>
</div>
<div class="article-entry" itemprop="articleBody">
</div>
<footer class="article-footer">
<a data-url="http://yoursite.com/2020/07/05/webpack-loader/" data-id="ckdhetu11000b1cum4bon9zkr" class="article-share-link">
Share
</a>
</footer>
</div>
</article>
<article id="post-deno1-0" class="article article-type-post" itemscope itemprop="blogPost" data-scroll-reveal>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2020/06/12/deno1-0/">deno1.0的发布声明(译文)</a>
</h2>
</header>
<div class="article-meta">
<a href="/2020/06/12/deno1-0/" class="article-date">
<time datetime="2020-06-12T02:05:14.000Z" itemprop="datePublished">2020-06-12</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/node/">Node</a>
</div>
</div>
<div class="article-entry" itemprop="articleBody">
<h2 id="Deno1-0"><a href="#Deno1-0" class="headerlink" title="Deno1.0"></a>Deno1.0</h2><p><a href="https://zh.wikipedia.org/wiki/动态语言" target="_blank" rel="noopener">动态编程语言</a>是非常有用的工具,脚本语言允许用户可以快速而简洁的将业务逻辑与复杂的系统联系在一起,而不用关系内存管理和系统构建的细节。在近几年的编程语言中,像<code>Rust</code>和<code>Go</code>可以更简单的编写复杂的原生机器代码。这些是计算机基础设施发展的的非常重要的组成部分。然而,我们知道如果你需要解决各式各样问题,那么一个可执行脚本环境是非常重要的。</p>
<a class="article-more-link" href="/2020/06/12/deno1-0/">
Read More...
</a>
</div>
<footer class="article-footer">
<a data-url="http://yoursite.com/2020/06/12/deno1-0/" data-id="ckdhetu1i000j1cumcnkleayx" class="article-share-link">
Share
</a>
</footer>
</div>
</article>
<article id="post-YDK-JS-2nd-01" class="article article-type-post" itemscope itemprop="blogPost" data-scroll-reveal>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2020/06/02/YDK-JS-2nd-01/">第一章 什么是JavaScript?</a>
</h2>
</header>
<div class="article-meta">
<a href="/2020/06/02/YDK-JS-2nd-01/" class="article-date">
<time datetime="2020-06-02T11:43:51.000Z" itemprop="datePublished">2020-06-02</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/Ydk-js-2nd/">You Don't Know JS系列</a>
</div>
</div>
<div class="article-entry" itemprop="articleBody">
<p>跟很多开发者一样,我们都不能完完全全的理解JS。也并不曾主动去了解。那么就是现在,让我们一起去学习JS更多的内容。</p>
<p>在You Don’t Know JS Yet (YDKJSY)系列文章的第一章中,我们需要花些时间为未来的学习巩固下基础。我们首先需要涵盖很多背景知识及细节,弄清楚关于这门语言(是or不是)的偏见。</p>
<p>这对于深刻理解JS是如何组织、维护的本质与过程是有帮助的,所有的JS开发者都应该理解,如果你想深入了解JS,这里将是学习JS旅程的第一步。</p>
<a class="article-more-link" href="/2020/06/02/YDK-JS-2nd-01/">
Read More...
</a>
</div>
<footer class="article-footer">
<a data-url="http://yoursite.com/2020/06/02/YDK-JS-2nd-01/" data-id="ckdhetu1x000m1cum0f1n2xtw" class="article-share-link">
Share
</a>
</footer>
</div>
</article>
<article id="post-micro-web" class="article article-type-post" itemscope itemprop="blogPost" data-scroll-reveal>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2020/06/01/micro-web/">micro-web</a>
</h2>
</header>
<div class="article-meta">
<a href="/2020/06/01/micro-web/" class="article-date">
<time datetime="2020-06-01T08:14:33.000Z" itemprop="datePublished">2020-06-01</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/Technology/">前端工具人</a>
</div>
</div>
<div class="article-entry" itemprop="articleBody">
<h2 id="微前端背景"><a href="#微前端背景" class="headerlink" title="微前端背景"></a>微前端背景</h2><p>对于公司内部管理系统、ToB的SaaS系统等一系列的项目中,由于项目本身的生命周期较长,又长期不断的迭代,加入新的功能模块,最终会导致项目本身的体积越来越大,结构越来越复杂。不但影响了日后的维护成本、性能等方面,而且对于开发来讲,也是越写越写不下去,最后的建议可能就是 Emm… 你懂的。</p>
<a class="article-more-link" href="/2020/06/01/micro-web/">
Read More...
</a>
</div>
<footer class="article-footer">
<a data-url="http://yoursite.com/2020/06/01/micro-web/" data-id="ckdhetu0v00051cum7wjh7408" class="article-share-link">
Share
</a>
</footer>
</div>
</article>
<article id="post-bfc" class="article article-type-post" itemscope itemprop="blogPost" data-scroll-reveal>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2019/10/16/bfc/">BFC(块级格式上下文)</a>
</h2>
</header>
<div class="article-meta">
<a href="/2019/10/16/bfc/" class="article-date">
<time datetime="2019-10-16T04:28:33.000Z" itemprop="datePublished">2019-10-16</time>
</a>
<div class="article-category">
<a class="article-category-link" href="/categories/Technology/">前端工具人</a>
</div>
</div>
<div class="article-entry" itemprop="articleBody">
<h3 id="块级格式上下文"><a href="#块级格式上下文" class="headerlink" title="块级格式上下文"></a>块级格式上下文</h3><blockquote>
<p>BFC(Block Formatting Context)是网页中独立的渲染区域,它规定了内部元素的布局环境,与页面其他内容分隔开来,一般通过脱离常规流来创建(float、absolute、fixed)。而根元素,本身就是承载元素的容器,脱离了常规流,为整个文档创建了一个块级格式上下文环境。</p>
</blockquote>
<a class="article-more-link" href="/2019/10/16/bfc/">
Read More...
</a>
</div>
<footer class="article-footer">
<a data-url="http://yoursite.com/2019/10/16/bfc/" data-id="ckdhetu0i00001cum7g1d8hlf" class="article-share-link">
Share
</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/CSS-BFC/" rel="tag">CSS BFC</a></li></ul>
</footer>
</div>
</article>
<article id="post-project-config" class="article article-type-post" itemscope itemprop="blogPost" data-scroll-reveal>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2019/07/17/project-config/">项目配置相关 -- 跨域、多个环境问题</a>
</h2>
</header>
<div class="article-meta">
<a href="/2019/07/17/project-config/" class="article-date">
<time datetime="2019-07-17T12:30:32.000Z" itemprop="datePublished">2019-07-17</time>
</a>
</div>
<div class="article-entry" itemprop="articleBody">
<h3 id="跨域、多个环境问题"><a href="#跨域、多个环境问题" class="headerlink" title="跨域、多个环境问题"></a>跨域、多个环境问题</h3><h4 id="跨域请求"><a href="#跨域请求" class="headerlink" title="跨域请求"></a>跨域请求</h4><blockquote>
<p>XMLHttpRequest的 <a href="https://developer.mozilla.org/zh-CN/docs/Web/API/XMLHttpRequest/withCredentials" target="_blank" rel="noopener">withCredentials</a>属性是一个Boolean类型,它指示了是否该使用类似cookies,authorization headers(头部授权)或者TLS客户端证书这一类资格证书来创建一个跨站点访问控制(cross-site Access-Control)请求。简单来说浏览器可以跨站获取、发送cookies等。在同一个站点下使用withCredentials属性是无效的。</p>
</blockquote>
<a class="article-more-link" href="/2019/07/17/project-config/">
Read More...
</a>
</div>
<footer class="article-footer">
<a data-url="http://yoursite.com/2019/07/17/project-config/" data-id="ckdhetu0x00061cum9b73gyzt" class="article-share-link">
Share
</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/%E9%85%8D%E7%BD%AE-%E5%A4%9A%E7%8E%AF%E5%A2%83-%E8%B7%A8%E5%9F%9F-webpack-axois-vue/" rel="tag">配置 多环境 跨域 webpack axois vue</a></li></ul>
</footer>
</div>
</article>
<article id="post-vue-mock" class="article article-type-post" itemscope itemprop="blogPost" data-scroll-reveal>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2019/05/31/vue-mock/">vue-cli项目中使用mockjs</a>
</h2>
</header>
<div class="article-meta">
<a href="/2019/05/31/vue-mock/" class="article-date">
<time datetime="2019-05-31T12:28:33.000Z" itemprop="datePublished">2019-05-31</time>
</a>
</div>
<div class="article-entry" itemprop="articleBody">
<h3 id="需求"><a href="#需求" class="headerlink" title="需求"></a>需求</h3><p>在前后端分离项目中尤其是项目初期,前端人员可以通过模拟服务端接口数据,在本地搭建一个JSON服务,从而不依赖后端API进行开发。那么我们可以通过以下两个插件来实现 <a href="https://github.com/typicode/json-server" target="_blank" rel="noopener">json-server</a> 、 <a href="https://github.com/nuysoft/Mock/wiki/Getting-Started" target="_blank" rel="noopener">mockjs</a></p>
<a class="article-more-link" href="/2019/05/31/vue-mock/">
Read More...
</a>
</div>
<footer class="article-footer">
<a data-url="http://yoursite.com/2019/05/31/vue-mock/" data-id="ckdhetu0y00071cumcwztbhyl" class="article-share-link">
Share
</a>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/json-server%E3%80%81mock%E3%80%81mockjs%E3%80%81vue-cli/" rel="tag">json-server、mock、mockjs、vue-cli</a></li></ul>
</footer>
</div>
</article>
<article id="post-vue-problem" class="article article-type-post" itemscope itemprop="blogPost" data-scroll-reveal>
<div class="article-inner">
<header class="article-header">
<h2 itemprop="name">
<a class="article-title" href="/2019/01/24/vue-problem/">项目遇到的问题总结</a>
</h2>
</header>
<div class="article-meta">
<a href="/2019/01/24/vue-problem/" class="article-date">
<time datetime="2019-01-24T12:28:33.000Z" itemprop="datePublished">2019-01-24</time>
</a>
</div>
<div class="article-entry" itemprop="articleBody">
<h3 id="vue项目遇到的问题整合"><a href="#vue项目遇到的问题整合" class="headerlink" title="vue项目遇到的问题整合"></a>vue项目遇到的问题整合</h3><h4 id="需求1:弹窗下的页面禁止滑动"><a href="#需求1:弹窗下的页面禁止滑动" class="headerlink" title="需求1:弹窗下的页面禁止滑动"></a>需求1:弹窗下的页面禁止滑动</h4><p>方案:为<code>body</code>元素添加<code>position: fixed</code>属性,项目中对弹框状态进行监听,显示添加,隐藏删除</p>
<a class="article-more-link" href="/2019/01/24/vue-problem/">
Read More...
</a>
</div>
<footer class="article-footer">
<a data-url="http://yoursite.com/2019/01/24/vue-problem/" data-id="ckdhetu12000c1cum2xjnav0x" class="article-share-link">
Share
</a>
</footer>
</div>
</article>
</article>
</section>
</div>
<footer class="footer">
<div class="outer">
<div class="float-right">
<ul class="list-inline">
<li><i class="fe fe-bar-chart"></i> <span id="busuanzi_value_site_pv"></span></li>
<li><i class="fe fe-smile-alt"></i> <span id="busuanzi_value_site_uv"></span></li>
</ul>
</div>
<ul class="list-inline">
<li>© 2020 Hexo</li>
<li>Powered by <a href="http://hexo.io/" target="_blank">Hexo</a></li>
<li>Theme <a href="https://github.com/zhwangart/hexo-theme-ocean" target="_blank" rel="noopener">Ocean</a></li>
</ul>
</div>
</footer>
</main>
<aside class="sidebar">
<button class="navbar-toggle"></button>
<nav class="navbar">
<div class="logo">
<a href="/"><img src="/images/hexo.svg" alt="Hexo"></a>
</div>
<ul class="nav nav-main">
<li class="nav-item">
<a class="nav-item-link" href="/">首页</a>
</li>
<li class="nav-item">
<a class="nav-item-link" href="/archives">归档</a>
</li>
<li class="nav-item">
<a class="nav-item-link" href="/categories">分类</a>
</li>
<li class="nav-item">
<a class="nav-item-link" href="/about">关于</a>
</li>
<li class="nav-item">
<a class="nav-item-link nav-item-search" title="Search">
<i class="fe fe-search"></i>
Search
</a>
</li>
</ul>
</nav>
<nav class="navbar navbar-bottom">
<ul class="nav">
<li class="nav-item">
<div class="totop" id="totop">
<i class="fe fe-rocket"></i>
</div>
</li>
<li class="nav-item">
<a class="nav-item-link" target="_blank" href="/atom.xml" title="RSS Feed">
<i class="fe fe-feed"></i>
</a>
</li>
</ul>
</nav>
<div class="search-form-wrap">
<div class="local-search local-search-plugin">
<input type="search" id="local-search-input" class="local-search-input" placeholder="Search...">
<div id="local-search-result" class="local-search-result"></div>
</div>
</div>
</aside>
<script src="/js/jquery-2.0.3.min.js"></script>
<script src="/js/jquery.justifiedGallery.min.js"></script>
<script src="/js/lazyload.min.js"></script>
<script src="/js/busuanzi-2.3.pure.min.js"></script>
<script src="/fancybox/jquery.fancybox.min.js"></script>
<script src="/js/ocean.js"></script>
</body>
</html>