-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
852 lines (480 loc) · 32.2 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
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Ice Panpan's blog | Tan Yibing's blog</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#3F51B5">
<meta name="keywords" content="Ice Panpan's blog">
<meta name="description" content="I'm TanYiBing,my email is 820567197@qq.com&tanyibing1995@gmail.com,my qq is 820567197,my phone number is 13764660753.">
<meta name="keywords" content="Ice Panpan's blog">
<meta property="og:type" content="website">
<meta property="og:title" content="Ice Panpan's blog">
<meta property="og:url" content="http://tanyibing.com/index.html">
<meta property="og:site_name" content="Ice Panpan's blog">
<meta property="og:description" content="I'm TanYiBing,my email is 820567197@qq.com&tanyibing1995@gmail.com,my qq is 820567197,my phone number is 13764660753.">
<meta property="og:locale" content="zh-CN">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Ice Panpan's blog">
<meta name="twitter:description" content="I'm TanYiBing,my email is 820567197@qq.com&tanyibing1995@gmail.com,my qq is 820567197,my phone number is 13764660753.">
<link rel="alternate" type="application/atom+xml" title="Ice Panpan's blog" href="/atom.xml">
<link rel="shortcut icon" href="/img/avatar_before.jpg">
<link rel="stylesheet" href="//unpkg.com/hexo-theme-material-indigo@latest/css/style.css">
<script>window.lazyScripts=[]</script>
<!-- custom head -->
</head>
<body>
<div id="loading" class="active"></div>
<aside id="menu" >
<div class="inner flex-row-vertical">
<a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menu-off">
<i class="icon icon-lg icon-close"></i>
</a>
<div class="brand-wrap" style="background-image:url(/img/brand.jpg)">
<div class="brand">
<a href="/" class="avatar waves-effect waves-circle waves-light">
<img src="/img/avatar.jpg">
</a>
<hgroup class="introduce">
<h5 class="nickname">Ice Panpan(Tan Yibing)</h5>
<a href="mailto:tanyibing1995@gmail.com" title="tanyibing1995@gmail.com" class="mail">tanyibing1995@gmail.com</a>
</hgroup>
</div>
</div>
<div class="scroll-wrap flex-col">
<ul class="nav">
<li class="waves-block waves-effect active">
<a href="/" >
<i class="icon icon-lg icon-home"></i>
主页
</a>
</li>
<li class="waves-block waves-effect">
<a href="/archives" >
<i class="icon icon-lg icon-archives"></i>
归档
</a>
</li>
<li class="waves-block waves-effect">
<a href="/tags" >
<i class="icon icon-lg icon-tags"></i>
标签
</a>
</li>
<li class="waves-block waves-effect">
<a href="/categories" >
<i class="icon icon-lg icon-th-list"></i>
分类
</a>
</li>
<li class="waves-block waves-effect">
<a href="https://github.com/TanYiBing" target="_blank" >
<i class="icon icon-lg icon-github"></i>
Github
</a>
</li>
<li class="waves-block waves-effect">
<a href="https://weibo.com/u/5341296740?refer_flag=1005055010_" target="_blank" >
<i class="icon icon-lg icon-weibo"></i>
Weibo
</a>
</li>
<li class="waves-block waves-effect">
<a href="/friendLink" >
<i class="icon icon-lg icon-users"></i>
友链
</a>
</li>
</ul>
</div>
</div>
</aside>
<main id="main">
<header class="top-header" id="header">
<div class="flex-row">
<a href="javascript:;" class="header-icon waves-effect waves-circle waves-light on" id="menu-toggle">
<i class="icon icon-lg icon-navicon"></i>
</a>
<div class="flex-col header-title ellipsis">Ice Panpan's blog</div>
<div class="search-wrap" id="search-wrap">
<a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="back">
<i class="icon icon-lg icon-chevron-left"></i>
</a>
<input type="text" id="key" class="search-input" autocomplete="off" placeholder="输入感兴趣的关键字">
<a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="search">
<i class="icon icon-lg icon-search"></i>
</a>
</div>
<a href="javascript:;" class="header-icon waves-effect waves-circle waves-light" id="menuShare">
<i class="icon icon-lg icon-share-alt"></i>
</a>
<a id="header-high" style="text-decoration: none; margin-left:12px; width:71px; margin-right:5px" class="header-icon waves-effect waves-circle waves-light" onclick="javascript:( /* * Copyright (C) 2015 Rocko (rocko.xyz) <rocko.zxp@gmail.com> * * Licensed under the Apache License, Version 2.0 (the 'License'); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an 'AS IS' BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ function go() { function c() { var e = document.createElement('link'); e.setAttribute('type', 'text/css'); e.setAttribute('rel', 'stylesheet'); e.setAttribute('href', f); e.setAttribute('class', l); document.body.appendChild(e) } function h() { var e = document.getElementsByClassName(l); for (var t = 0; t < e.length; t++) { document.body.removeChild(e[t]) } } function p() { var e = document.createElement('div'); e.setAttribute('class', a); document.body.appendChild(e); setTimeout(function() { document.body.removeChild(e) }, 100) } function d(e) { return { height : e.offsetHeight, width : e.offsetWidth } } function v(i) { var s = d(i); return s.height > e && s.height < n && s.width > t && s.width < r } function m(e) { var t = e; var n = 0; while (!!t) { n += t.offsetTop; t = t.offsetParent } return n } function g() { var e = document.documentElement; if (!!window.innerWidth) { return window.innerHeight } else if (e && !isNaN(e.clientHeight)) { return e.clientHeight } return 0 } function y() { if (window.pageYOffset) { return window.pageYOffset } return Math.max(document.documentElement.scrollTop, document.body.scrollTop) } function E(e) { var t = m(e); return t >= w && t <= b + w } var songs = [ 'http://rocko-blog.qiniudn.com/Music-Wake-Live.mp3' , 'http://rocko-blog.qiniudn.com/Music-Fashion_Show.mp3' , 'http://rocko-blog.qiniudn.com/Music-outside.mp3', 'http://rocko-blog.qiniudn.com/Music-sunburst.mp3' ]; function S() { var e = document.getElementById('audio_element_id'); if(e != null){ var index = parseInt(e.getAttribute('curSongIndex')); if(index > songs.length - 2) { index = 0; } else { index++; } e.setAttribute('curSongIndex', index); N(); } e.src = i; e.play() } function x(e) { e.className += ' ' + s + ' ' + o } function T(e) { e.className += ' ' + s + ' ' + u[Math.floor(Math.random() * u.length)] } function N() { var e = document.getElementsByClassName(s); var t = new RegExp('\\b' + s + '\\b'); for (var n = 0; n < e.length; ) { e[n].className = e[n].className.replace(t, '') } } function initAudioEle() { var e = document.getElementById('audio_element_id'); if(e === null){ e = document.createElement('audio'); e.setAttribute('class', l); e.setAttribute('curSongIndex', 0); e.id = 'audio_element_id'; e.loop = false; e.bgcolor = 0; e.addEventListener('canplay', function() { setTimeout(function() { x(k) }, 500); setTimeout(function() { N(); p(); for (var e = 0; e < O.length; e++) { T(O[e]) } }, 15500) }, true); e.addEventListener('ended', function() { N(); h(); go(); }, true); e.innerHTML = ' <p>If you are reading this, it is because your browser does not support the audio element. We recommend that you get a new browser.</p> <p>'; document.body.appendChild(e); } } initAudioEle(); var e = 30; var t = 30; var n = 350; var r = 350; var curSongIndex = parseInt(document.getElementById('audio_element_id').getAttribute('curSongIndex')); var i = songs[curSongIndex]; var s = 'mw-harlem_shake_me'; var o = 'im_first'; var u = ['im_drunk', 'im_baked', 'im_trippin', 'im_blown']; var a = 'mw-strobe_light'; var f = 'https://rocko.xyz/css/harlem-shake-style.css'; var l = 'mw_added_css'; var b = g(); var w = y(); var C = document.getElementsByTagName('*'); var k = null; for (var L = 0; L < C.length; L++) { var A = C[L]; if (v(A)) { if (E(A)) { k = A; break } } } if (A === null) { console.warn('Could not find a node of the right size. Please try a different page.'); return } c(); S(); var O = []; for (var L = 0; L < C.length; L++) { var A = C[L]; if (v(A)) { O.push(A) } } })()">
<i class="icon icon-lg icon-music"></i> High~
</a>
</a>
</div>
</header>
<header class="content-header index-header">
<div class="container fade-scale">
<h1 class="title">Ice Panpan's blog</h1>
<h5 class="subtitle">
Tan Yibing's blog
</h5>
</div>
</header>
<div class="container body-wrap">
<ul class="post-list">
<li class="post-list-item fade">
<article id="post-Angular中拦截器的真相和HttpClient内部机制"
class="article-card article-type-post" itemprop="blogPost">
<div class="post-meta">
<time class="post-time" title="2018-12-22 20:02:26" datetime="2018-12-22T12:02:26.000Z" itemprop="datePublished">2018-12-22</time>
<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/Angular/">Angular</a></li></ul>
</div>
<h3 class="post-title" itemprop="name">
<a class="post-title-link" href="/2018/12/22/Angular中拦截器的真相和HttpClient内部机制/">Angular中拦截器的真相和HttpClient内部机制</a>
</h3>
<div class="post-content" id="post-content" itemprop="postContent">
Angular 中拦截器的真相和 HttpClient 内部机制
原文:Insider’s guide into interceptors and HttpClient mechanics in Angular作者:Max Koretskyi原技术博文由 Max Koretskyi 撰写发布,他目前于 ag-Grid 担任开发大使(Developer Advocate)译者按:开发大使负责确...
<a href="/2018/12/22/Angular中拦截器的真相和HttpClient内部机制/" class="post-more waves-effect waves-button">
阅读全文…
</a>
</div>
<div class="post-footer">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Angular/">Angular</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Typescript/">Typescript</a></li></ul>
</div>
</article>
</li>
<li class="post-list-item fade">
<article id="post-翻译-OnPush组件中NgDoCheck和AsyncPipe的区别"
class="article-card article-type-post" itemprop="blogPost">
<div class="post-meta">
<time class="post-time" title="2018-12-14 21:59:55" datetime="2018-12-14T13:59:55.000Z" itemprop="datePublished">2018-12-14</time>
<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/Angular/">Angular</a></li></ul>
</div>
<h3 class="post-title" itemprop="name">
<a class="post-title-link" href="/2018/12/14/翻译-OnPush组件中NgDoCheck和AsyncPipe的区别/">[翻译]OnPush组件中NgDoCheck和AsyncPipe的区别</a>
</h3>
<div class="post-content" id="post-content" itemprop="postContent">
[翻译] OnPush 组件中 NgDoCheck 和 AsyncPipe 的区别
原文:The difference between NgDoCheck and AsyncPipe in OnPush components作者:Max Koretskyi原技术博文由 Max Koretskyi 撰写发布,他目前于 ag-Grid 担任开发者职位
译者:Ice Panpan
...
<a href="/2018/12/14/翻译-OnPush组件中NgDoCheck和AsyncPipe的区别/" class="post-more waves-effect waves-button">
阅读全文…
</a>
</div>
<div class="post-footer">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Angular/">Angular</a></li></ul>
</div>
</article>
</li>
<li class="post-list-item fade">
<article id="【翻译】调试-Rxjs(二):日志记录"
class="article-card article-type-【翻译】调试" itemprop="blogPost">
<div class="post-meta">
<time class="post-time" title="2018-11-25 23:32:52" datetime="2018-11-25T15:32:52.000Z" itemprop="datePublished">2018-11-25</time>
<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/Rxjs/">Rxjs</a></li></ul>
</div>
<h3 class="post-title" itemprop="name">
<a class="post-title-link" href="/2018/11/25/Rxjs(二):日志记录/">【翻译】调试Rxjs(二):日志记录</a>
</h3>
<div class="post-content" id="post-content" itemprop="postContent">
[翻译] 调试 Rxjs(二):日志记录
原文:Debugging RxJS, Part 2: Logging
译者:Ice Panpan;校验者:暂无
banner
日志记录并不...
<a href="/2018/11/25/Rxjs(二):日志记录/" class="post-more waves-effect waves-button">
阅读全文…
</a>
</div>
<div class="post-footer">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Rxjs/">Rxjs</a></li></ul>
</div>
</article>
</li>
<li class="post-list-item fade">
<article id="post-【翻译】调试Rxjs(一):工具"
class="article-card article-type-post" itemprop="blogPost">
<div class="post-meta">
<time class="post-time" title="2018-11-19 20:34:46" datetime="2018-11-19T12:34:46.000Z" itemprop="datePublished">2018-11-19</time>
<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/Rxjs/">Rxjs</a></li></ul>
</div>
<h3 class="post-title" itemprop="name">
<a class="post-title-link" href="/2018/11/19/【翻译】调试Rxjs(一):工具/">【翻译】调试Rxjs(一):工具</a>
</h3>
<div class="post-content" id="post-content" itemprop="postContent">
[翻译] 调试Rxjs(一):工具
原文:Debugging RxJS, Part 1: Tooling
我是一个 Rxjs 的信仰者,我在我所有的项目中都使用 Rxjs。有了 Rxjs,我发现很多曾经觉得乏味的事都变得痛快。但是有一件事不是这样:调试。
Rxjs 中异步的本质在组合之后让调试变得更具挑战性:没有太多的状态(state)供你检查,并且调用堆栈(call stack)也帮不了...
<a href="/2018/11/19/【翻译】调试Rxjs(一):工具/" class="post-more waves-effect waves-button">
阅读全文…
</a>
</div>
<div class="post-footer">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Rxjs/">Rxjs</a></li></ul>
</div>
</article>
</li>
<li class="post-list-item fade">
<article id="post-api接口跨域问题"
class="article-card article-type-post" itemprop="blogPost">
<div class="post-meta">
<time class="post-time" title="2018-11-08 14:55:20" datetime="2018-11-08T06:55:20.000Z" itemprop="datePublished">2018-11-08</time>
<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/Ajax/">Ajax</a></li></ul>
</div>
<h3 class="post-title" itemprop="name">
<a class="post-title-link" href="/2018/11/08/api接口跨域问题/">api接口跨域问题</a>
</h3>
<div class="post-content" id="post-content" itemprop="postContent">
今天在自己的项目中想要提供一些api,暴露出来想要提供数据,下面是我的api接口,很简单:
const router = require('koa-router')();
router.get('/', async (ctx) => {
ctx.body = 'api';
});
router.get('...
<a href="/2018/11/08/api接口跨域问题/" class="post-more waves-effect waves-button">
阅读全文…
</a>
</div>
<div class="post-footer">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Ajax/">Ajax</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Node/">Node</a></li></ul>
</div>
</article>
</li>
<li class="post-list-item fade">
<article id="post-帝国CMS使用总结"
class="article-card article-type-post" itemprop="blogPost">
<div class="post-meta">
<time class="post-time" title="2018-11-07 16:53:15" datetime="2018-11-07T08:53:15.000Z" itemprop="datePublished">2018-11-07</time>
<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/CMS/">CMS</a></li></ul>
</div>
<h3 class="post-title" itemprop="name">
<a class="post-title-link" href="/2018/11/07/帝国CMS使用总结/">帝国CMS使用总结</a>
</h3>
<div class="post-content" id="post-content" itemprop="postContent">
公司的后台是使用的帝国CMS,想要干好活,总得会用啊。好吧,摸摸索索的用了一段时间,也草草的总结一下吧。
首先后台啥最重要,肯定是数据,所以系统模型也可以叫数据模型也就显得很重要,里面的字段要考虑的周到一些,以便复用,否则改起来就很蛋疼了。
帝国CMS中还有两个灵魂般的东西:“万能标签(ecmsinfo)”、“灵动标签(e:loop)”,这两玩意儿其中之一只要会了,模版都是一把唆。明天我得...
<a href="/2018/11/07/帝国CMS使用总结/" class="post-more waves-effect waves-button">
阅读全文…
</a>
</div>
<div class="post-footer">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/CMS/">CMS</a></li></ul>
</div>
</article>
</li>
<li class="post-list-item fade">
<article id="post-bootstrap使用总结"
class="article-card article-type-post" itemprop="blogPost">
<div class="post-meta">
<time class="post-time" title="2018-11-06 21:05:57" datetime="2018-11-06T13:05:57.000Z" itemprop="datePublished">2018-11-06</time>
<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/Bootstrap/">Bootstrap</a></li></ul>
</div>
<h3 class="post-title" itemprop="name">
<a class="post-title-link" href="/2018/11/06/bootstrap使用总结/">bootstrap使用总结</a>
</h3>
<div class="post-content" id="post-content" itemprop="postContent">
好久咩有写博客了,因为最近在撸很多页面,使用的是Bootstrap,因为设计没有给我两套设计图,所以只能使用这个框架来兼容移动端。现在也可以总结下我使用过程中掌握了啥新知识:
因为我用的是3这个大版本,所以设备还是分为四种:xs(768)、sm(768-992)、md(992-1200)、lg(1200)。不用说了,这是栅格系统的核心,通过媒体查询来将一行分为12列的。每个col都会带有左...
<a href="/2018/11/06/bootstrap使用总结/" class="post-more waves-effect waves-button">
阅读全文…
</a>
</div>
<div class="post-footer">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Bootstrap/">Bootstrap</a></li></ul>
</div>
</article>
</li>
<li class="post-list-item fade">
<article id="post-angular写一个联动表单控件"
class="article-card article-type-post" itemprop="blogPost">
<div class="post-meta">
<time class="post-time" title="2018-10-18 19:48:48" datetime="2018-10-18T11:48:48.000Z" itemprop="datePublished">2018-10-18</time>
<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/Angular/">Angular</a></li></ul>
</div>
<h3 class="post-title" itemprop="name">
<a class="post-title-link" href="/2018/10/18/angular写一个联动表单控件/">angular写一个联动表单控件</a>
</h3>
<div class="post-content" id="post-content" itemprop="postContent">
首先展示下这个表单的样式:
这就是我们需要设计成的表单样式,从图中我们可以看出这个表单可以分成三个部分:
证件输入部分
出生日期部分
地址部分
我们不应该将这些部分都写在一...
<a href="/2018/10/18/angular写一个联动表单控件/" class="post-more waves-effect waves-button">
阅读全文…
</a>
</div>
<div class="post-footer">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Angular/">Angular</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Material/">Material</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Typescript/">Typescript</a></li></ul>
</div>
</article>
</li>
<li class="post-list-item fade">
<article id="post-rxjs中的combineLatest"
class="article-card article-type-post" itemprop="blogPost">
<div class="post-meta">
<time class="post-time" title="2018-10-17 11:43:35" datetime="2018-10-17T03:43:35.000Z" itemprop="datePublished">2018-10-17</time>
<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/Rxjs/">Rxjs</a></li></ul>
</div>
<h3 class="post-title" itemprop="name">
<a class="post-title-link" href="/2018/10/17/rxjs中的combineLatest/">rxjs中的combineLatest</a>
</h3>
<div class="post-content" id="post-content" itemprop="postContent">
在Rxjs第六版之前,我们使用combineLatest这个operator时的方式如下:
const age$ = Observable
.combineLatest(ageNum$, ageUnit$, (_num, _unit) => this.toDate({age: _num, unit: _unit}))
.map(d => ({date: d, from...
<a href="/2018/10/17/rxjs中的combineLatest/" class="post-more waves-effect waves-button">
阅读全文…
</a>
</div>
<div class="post-footer">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Angular/">Angular</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Rxjs/">Rxjs</a></li></ul>
</div>
</article>
</li>
<li class="post-list-item fade">
<article id="post-使用js实现图片的循环播放"
class="article-card article-type-post" itemprop="blogPost">
<div class="post-meta">
<time class="post-time" title="2018-10-14 13:38:01" datetime="2018-10-14T05:38:01.000Z" itemprop="datePublished">2018-10-14</time>
<ul class="article-category-list"><li class="article-category-list-item"><a class="article-category-list-link" href="/categories/JavaScript/">JavaScript</a></li></ul>
</div>
<h3 class="post-title" itemprop="name">
<a class="post-title-link" href="/2018/10/14/使用js实现图片的循环播放/">使用js实现图片的循环播放</a>
</h3>
<div class="post-content" id="post-content" itemprop="postContent">
今天想要实现很多图片的循环播放,我们首先要把所有的图片放到一行上面,具体怎么写css在这就不啰嗦了,最后的html结构如下:
<div class="container">
<ul class="first">
<li>
<img src="./imag...
<a href="/2018/10/14/使用js实现图片的循环播放/" class="post-more waves-effect waves-button">
阅读全文…
</a>
</div>
<div class="post-footer">
<ul class="article-tag-list"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/JavaScript/">JavaScript</a></li></ul>
</div>
</article>
</li>
</ul>
<nav id="page-nav">
<div class="inner">
<span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><span class="space">…</span><a class="page-number" href="/page/6/">6</a><a class="extend next" rel="next" href="/page/2/">下一页</a>
</div>
</nav>
</div>
<footer class="footer">
<div class="top">
<p>
<span id="busuanzi_container_site_uv" style='display:none'>
站点总访客数:<span id="busuanzi_value_site_uv"></span>
</span>
<span id="busuanzi_container_site_pv" style='display:none'>
站点总访问量:<span id="busuanzi_value_site_pv"></span>
</span>
</p>
<p>
<span><a href="/atom.xml" target="_blank" class="rss" title="rss"><i class="icon icon-lg icon-rss"></i></a></span>
<span>博客内容遵循 <a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh">知识共享 署名 - 非商业性 - 相同方式共享 4.0 国际协议</a></span>
</p>
</div>
<div class="bottom">
<p><span>Ice Panpan(Tan Yibing) © 2017 - 2019</span>
<span>
Power by <a href="http://hexo.io/" target="_blank">Hexo</a> Theme <a href="https://github.com/yscoder/hexo-theme-indigo" target="_blank">indigo</a>
</span>
</p>
</div>
</footer>
</main>
<div class="mask" id="mask"></div>
<a href="javascript:;" id="gotop" class="waves-effect waves-circle waves-light"><span class="icon icon-lg icon-chevron-up"></span></a>
<div class="global-share" id="globalShare">
<ul class="reset share-icons">
<li>
<a class="weibo share-sns" target="_blank" href="http://service.weibo.com/share/share.php?url=http://tanyibing.com/&title=Ice Panpan's blog&pic=http://tanyibing.com/img/avatar.jpg" data-title="微博">
<i class="icon icon-weibo"></i>
</a>
</li>
<li>
<a class="weixin share-sns wxFab" href="javascript:;" data-title="微信">
<i class="icon icon-weixin"></i>
</a>
</li>
<li>
<a class="qq share-sns" target="_blank" href="http://connect.qq.com/widget/shareqq/index.html?url=http://tanyibing.com/&title=Ice Panpan's blog&source=I'm TanYiBing,my email is 820567197@qq.com&tanyibing1995@gmail.com,my qq is 8..." data-title=" QQ">
<i class="icon icon-qq"></i>
</a>
</li>
<li>
<a class="facebook share-sns" target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=http://tanyibing.com/" data-title=" Facebook">
<i class="icon icon-facebook"></i>
</a>
</li>
<li>
<a class="twitter share-sns" target="_blank" href="https://twitter.com/intent/tweet?text=Ice Panpan's blog&url=http://tanyibing.com/&via=http://tanyibing.com" data-title=" Twitter">
<i class="icon icon-twitter"></i>
</a>
</li>
<li>
<a class="google share-sns" target="_blank" href="https://plus.google.com/share?url=http://tanyibing.com/" data-title=" Google+">
<i class="icon icon-google-plus"></i>
</a>
</li>
</ul>
</div>
<div class="page-modal wx-share" id="wxShare">
<a class="close" href="javascript:;"><i class="icon icon-close"></i></a>
<p>扫一扫,分享到微信</p>
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAAAAAAZai4+AAABY0lEQVR42u3awRKDMAhFUf//p9OZblPwAWpHuFl1jNMcFyKQHIc81nfsV/br+6x1zwUDFqxGrOWOnWXNWlf86yYdFqyRLD8o+AFCn1XWggULls/SQ4D+eLBgwcoFCJ/7t7gFC1YLlpI063/6aC4PC1YLVrSRVPl9Y38LFqzXslZhKClybhVYsKaxlM+w//4qybdfAIeXgQWrHStXfOpPHE2Lf8QtWLAGsHIt18qmZiA8wYI1hpVrzuptpigRFqzJLKXBqh8Jyh1WMAtXWLAGsJRUOBcy9PLVXAsWrGEsqZhMNZKixw7C+zywYDViVQ4TBD698tYpLFiTWZUmbC4EnIQYWLDGsK46ZBANHydJMyxYw1j1BFr5VOvF8GV5PSxYL2RVDtvpW6T6lgwsWJNZ4fKy3qny/wEWLFjCtmXuCIL+wLBgwfIp+gL6LCxYsHIvfO5+WLBg3ZHaRgNHuIiFBas/6wOMGlTswPFFaQAAAABJRU5ErkJggg==" alt="微信分享二维码">
</div>
<script src="//cdn.bootcss.com/node-waves/0.7.4/waves.min.js"></script>
<script>
var BLOG = { ROOT: '/', SHARE: true, REWARD: false };
</script>
<script src="//unpkg.com/hexo-theme-material-indigo@latest/js/main.min.js"></script>
<div class="search-panel" id="search-panel">
<ul class="search-result" id="search-result"></ul>
</div>
<template id="search-tpl">
<li class="item">
<a href="{path}" class="waves-block waves-effect">
<div class="title ellipsis" title="{title}">{title}</div>
<div class="flex-row flex-middle">
<div class="tags ellipsis">
{tags}
</div>
<time class="flex-col time">{date}</time>
</div>
</a>
</li>
</template>
<script src="//unpkg.com/hexo-theme-material-indigo@latest/js/search.min.js" async></script>
<script async src="//dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<script>
(function() {
var OriginTitile = document.title, titleTime;
document.addEventListener('visibilitychange', function() {
if (document.hidden) {
document.title = '死鬼去哪里了!';
clearTimeout(titleTime);
} else {
document.title = '(つェ⊂)咦!又好了!';
titleTime = setTimeout(function() {
document.title = OriginTitile;
},2000);
}
});
})();
</script>
</body>
</html>