yipengshu 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/.DS_Store +0 -0
  2. package/.npmignore +6 -0
  3. package/2020/01/30//351/227/256/351/242/2303/index.html +540 -0
  4. package/2020/05/05//351/227/256/351/242/2302/index.html +540 -0
  5. package/2022/10/28//351/227/256/351/242/2304/index.html +539 -0
  6. package/2022/10/30//351/227/256/351/242/2301/index.html +540 -0
  7. package/README.md +3 -0
  8. package/about/index.html +535 -0
  9. package/api/articles//351/227/256/351/242/2301.json +1 -0
  10. package/api/articles//351/227/256/351/242/2302.json +1 -0
  11. package/api/articles//351/227/256/351/242/2303.json +1 -0
  12. package/api/articles//351/227/256/351/242/2304.json +1 -0
  13. package/api/categories//351/241/271/347/233/256.json +1 -0
  14. package/api/categories.json +1 -0
  15. package/api/galleries/all.json +1 -0
  16. package/api/galleries/babecue.json +1 -0
  17. package/api/galleries/colorful.json +1 -0
  18. package/api/galleries//345/274/200/344/274/232.json +1 -0
  19. package/api/galleries//346/227/245/345/270/270/347/224/237/346/264/273/347/232/204/346/202/240/350/277/234/346/203/205/346/204/217/347/232/204/346/267/261/351/225/277.json +1 -0
  20. package/api/galleries//347/242/216/345/261/217/346/211/213/346/234/272/357/274/214mac/357/274/214iPad/357/274/214windows/345/276/205/345/224/256.json +1 -0
  21. package/api/galleries.json +1 -0
  22. package/api/pages/------------.json +1 -0
  23. package/api/pages/-----mac-ipad-windows--.json +1 -0
  24. package/api/pages/--.json +1 -0
  25. package/api/pages/babecue.json +1 -0
  26. package/api/pages/colorful.json +1 -0
  27. package/api/posts/1.json +1 -0
  28. package/api/posts.json +1 -0
  29. package/api/site.json +1 -0
  30. package/api/tags/1.json +1 -0
  31. package/api/tags/2.json +1 -0
  32. package/api/tags/4.json +1 -0
  33. package/api/tags/5.json +1 -0
  34. package/api/tags/9.json +1 -0
  35. package/api/tags.json +1 -0
  36. package/archives/2020/01/index.html +457 -0
  37. package/archives/2020/05/index.html +457 -0
  38. package/archives/2020/index.html +457 -0
  39. package/archives/2022/10/index.html +457 -0
  40. package/archives/2022/index.html +457 -0
  41. package/archives/index.html +457 -0
  42. package/categories/index.html +427 -0
  43. package/categories//351/241/271/347/233/256/index.html +457 -0
  44. package/css/style.css +2118 -0
  45. package/galleries/babecue/index.html +499 -0
  46. package/galleries/colorful/index.html +499 -0
  47. package/galleries/index.html +482 -0
  48. package/galleries//345/274/200/344/274/232/index.html +499 -0
  49. package/galleries//346/227/245/345/270/270/347/224/237/346/264/273/347/232/204/346/202/240/350/277/234/346/203/205/346/204/217/347/232/204/346/267/261/351/225/277/index.html +499 -0
  50. package/galleries//347/242/216/345/261/217/346/211/213/346/234/272/357/274/214mac/357/274/214iPad/357/274/214windows/345/276/205/345/224/256/index.html +499 -0
  51. package/images/donate/alipay.jpg +0 -0
  52. package/images/donate/wechat.jpg +0 -0
  53. package/images/icons/128x128.png +0 -0
  54. package/images/icons/16x16.png +0 -0
  55. package/images/icons/16x16wo.png +0 -0
  56. package/images/icons/32x32.png +0 -0
  57. package/images/icons/32x32wo.png +0 -0
  58. package/images/icons/500x500.png +0 -0
  59. package/images/icons/80x80.png +0 -0
  60. package/images/icons/960x960.png +0 -0
  61. package/images/icons/apple-touch-icon180x180.png +0 -0
  62. package/images/icons/favicon-144x144.png +0 -0
  63. package/images/icons//347/254/224/350/256/260.tex +9 -0
  64. package/images/theme/01.webp +0 -0
  65. package/images/theme/Mountains.jpg +0 -0
  66. package/images/theme/Sea.jpg +0 -0
  67. package/images/theme/babecue.jpg +0 -0
  68. package/images/theme/bingshan.jpeg +0 -0
  69. package/images/theme/cloud.png +0 -0
  70. package/images/theme/google-blue.png +0 -0
  71. package/images/theme/hong.jpg +0 -0
  72. package/images/theme/jidan.jpg +0 -0
  73. package/images/theme/kh.jpeg +0 -0
  74. package/images/theme/kh1.jpg +0 -0
  75. package/images/theme/loading.gif +0 -0
  76. package/images/theme/nujiangxiagu.jpg +0 -0
  77. package/images/theme/nujiangxiagu.webp +0 -0
  78. package/images/theme/nujiangxiagu02.webp +0 -0
  79. package/images/theme/photo_2022-11-01_11-55-52.jpg +0 -0
  80. package/images/theme/post-image-01.gif +0 -0
  81. package/images/theme/post-image-02.jpg +0 -0
  82. package/images/theme/post-image-03.png +0 -0
  83. package/images/theme/post-image-04.gif +0 -0
  84. package/images/theme/post-image-04.png +0 -0
  85. package/images/theme/post-image-99.png +0 -0
  86. package/images/theme/post-image.JPEG +0 -0
  87. package/images/theme/post-image.jpg.png +0 -0
  88. package/images/theme/s.webp +0 -0
  89. package/images/theme/s1.webp +0 -0
  90. package/images/theme/s2.jpg +0 -0
  91. package/images/theme/s3.jpg +0 -0
  92. package/images/theme/shengbidebao.jpg +0 -0
  93. package/images/theme/shoubiao.jpg +0 -0
  94. package/images/theme/shouxin.jpg +0 -0
  95. package/images/theme/taolun.jpg +0 -0
  96. package/images/theme/taolun1.jpg +0 -0
  97. package/images/theme/tengxuntuxiaochao.png +0 -0
  98. package/images/theme/welcome-image.jpg +0 -0
  99. package/images/theme/xiong.jpg +0 -0
  100. package/images/theme/y.jpeg +0 -0
  101. package/images/theme/yao.jpg +0 -0
  102. package/index.html +600 -0
  103. package/js/color-mode.js +75 -0
  104. package/js/script.js +492 -0
  105. package/js/utils.js +167 -0
  106. package/lib/daovoice/daovoice.js +21 -0
  107. package/lib/fancybox/fancybox.css +1 -0
  108. package/lib/fancybox/fancybox.js +13 -0
  109. package/lib/gitalk/gitalk.css +1211 -0
  110. package/lib/gitalk/gitalk.js +25 -0
  111. package/lib/highlight/a11y-dark.css +1 -0
  112. package/lib/highlight/highlight.js +2 -0
  113. package/lib/jquery/jquery.js +2 -0
  114. package/lib/lazyload/lazyload.js +2 -0
  115. package/lib/lottie/lottie.js +15 -0
  116. package/lib/pjax/pjax.js +2 -0
  117. package/lib/qrcode/qrcode.js +28 -0
  118. package/package.json +10 -0
  119. package/tags/1/index.html +451 -0
  120. package/tags/2/index.html +445 -0
  121. package/tags/4/index.html +437 -0
  122. package/tags/5/index.html +437 -0
  123. package/tags/9/index.html +437 -0
  124. package/tags/index.html +429 -0
@@ -0,0 +1,499 @@
1
+
2
+
3
+ <!DOCTYPE html>
4
+ <html lang="en" color-mode=light>
5
+ <head>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
8
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
9
+ <title>日常生活的悠远情意的深长 - 500fan</title>
10
+ <meta name="apple-mobile-web-app-capable" content="yes" />
11
+ <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
12
+ <meta name="google" content="notranslate" />
13
+
14
+
15
+ <meta name="author" content="空罐头">
16
+ <link rel="icon" href="/images/icons/16x16wo.png" type="image/png" sizes="16x16">
17
+ <link rel="icon" href="/images/icons/32x32wo.png" type="image/png" sizes="32x32">
18
+ <link rel="apple-touch-icon" href="/images/icons/16x16.png" sizes="180x180">
19
+ <meta rel="mask-icon" href="/images/icons/500x500.png" color="#333333">
20
+
21
+ <meta rel="msapplication-TileImage" content="/images/icons/favicon-144x144.png">
22
+ <meta rel="msapplication-TileColor" content="#000000">
23
+
24
+
25
+
26
+ <link rel="stylesheet" href="/css/style.css">
27
+
28
+
29
+
30
+
31
+ <link rel="stylesheet" href="https://at.alicdn.com/t/font_1445822_p6ry5n7lrr.css">
32
+
33
+
34
+
35
+
36
+
37
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css">
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+ <link rel="stylesheet" href="https://cdn.bootcss.com/highlight.js/9.18.1/styles/xcode.min.css" name="highlight-style" mode="light">
47
+
48
+
49
+
50
+
51
+ <link rel="stylesheet" href="https://cdn.bootcss.com/highlight.js/9.18.1/styles/solarized-dark.min.css" name="highlight-style" mode="dark">
52
+
53
+
54
+
55
+
56
+ <script>
57
+ var CONFIG = window.CONFIG || {};
58
+ var ZHAOO = window.ZHAOO || {};
59
+ CONFIG = {
60
+ isHome: false,
61
+ fancybox: true,
62
+ pjax: false,
63
+ loading: {
64
+ gif: '/images/theme/loading.gif',
65
+ lottie: ''
66
+ },
67
+ lazyload: {
68
+ enable: true,
69
+ only_post: 'false',
70
+ loading: {
71
+ gif: '/images/theme/loading.gif',
72
+ lottie: ''
73
+ }
74
+ },
75
+ donate: {
76
+ enable: true,
77
+ alipay: 'https://gitee.com/yzyys/a1222/raw/master/alipay.jpeg',
78
+ wechat: 'https://gitee.com/yzyys/a1222/raw/master/wechat.png'
79
+ },
80
+ galleries: {
81
+ enable: true
82
+ },
83
+ fab: {
84
+ enable: true,
85
+ always_show: false
86
+ },
87
+ carrier: {
88
+ enable: true
89
+ },
90
+ daovoice: {
91
+ enable: true
92
+ },
93
+ preview: {
94
+ background: {
95
+ default: '',
96
+ api: ''
97
+ },
98
+ motto: {
99
+ default: '我在开了灯的床头下,想问问自己的心啊。',
100
+ typing: true,
101
+ api: 'https://v2.jinrishici.com/one.json',
102
+ data_contents: '["data","content"]'
103
+ },
104
+ },
105
+ qrcode: {
106
+ enable: true,
107
+ type: 'image',
108
+ image: '/images/theme/tengxuntuxiaochao.png',
109
+ },
110
+ toc: {
111
+ enable: true
112
+ },
113
+ scrollbar: {
114
+ type: 'default'
115
+ },
116
+ notification: {
117
+ enable: false,
118
+ delay: 4500,
119
+ list: '',
120
+ page_white_list: '',
121
+ page_black_list: ''
122
+ },
123
+ search: {
124
+ enable: false,
125
+ path: ''
126
+ }
127
+ }
128
+ </script>
129
+
130
+
131
+
132
+
133
+
134
+ <meta name="generator" content="Hexo 6.3.0"></head>
135
+
136
+ <body class="lock-screen">
137
+ <div class="loading" id="loading"></div>
138
+
139
+
140
+
141
+
142
+ <nav class="navbar">
143
+ <div class="left">
144
+
145
+ <i class="iconfont iconhome j-navbar-back-home"></i>
146
+
147
+
148
+ <i class="iconfont iconqrcode j-navbar-qrcode"></i>
149
+
150
+
151
+ <i class="iconfont iconmoono" id="color-toggle" color-toggle="light"></i>
152
+
153
+
154
+ </div>
155
+ <div class="center">日常生活的悠远情意的深长</div>
156
+ <div class="right">
157
+ <i class="iconfont iconmenu j-navbar-menu"></i>
158
+ </div>
159
+
160
+ <div id="qrcode-navbar"></div>
161
+
162
+ </nav>
163
+
164
+
165
+
166
+
167
+ <nav class="menu">
168
+ <div class="menu-container">
169
+ <div class="menu-close">
170
+ <i class="iconfont iconbaseline-close-px"></i>
171
+ </div>
172
+ <ul class="menu-content"><li class="menu-item">
173
+ <a href="/ " class="underline "> 首页</a>
174
+ </li><li class="menu-item">
175
+ <a href="/galleries/ " class="underline "> 摄影</a>
176
+ </li><li class="menu-item">
177
+ <a href="/archives/ " class="underline "> 归档</a>
178
+ </li><li class="menu-item">
179
+ <a href="/tags/ " class="underline "> 标签</a>
180
+ </li><li class="menu-item">
181
+ <a href="/categories/ " class="underline "> 分类</a>
182
+ </li><li class="menu-item">
183
+ <a href="/about/ " class="underline "> 关于</a>
184
+ </li></ul>
185
+
186
+ <div class="menu-copyright"><p>Powered by <a target="_blank" href="https://yzyys.gitee.io/reai/20221023wenzhangshouye/dongtaizhuye.html/zhuye.html">kongguantou</a> | Theme - <a target="_blank" href="http://chat.daovoice.io/?id=f8ddc9d3">chat</a></p></div>
187
+
188
+ </div>
189
+ </nav>
190
+
191
+
192
+
193
+ <main id="main">
194
+ <section class="gallery container">
195
+ <header class="header">
196
+ <h1 class="header-title">日常生活的悠远情意的深长</h1>
197
+ <p class="header-subtitle">翻开随身携带的记事本,写着许多事都是关于你。</p>
198
+ </header>
199
+ <div id="wrap" class=waterfallWrap default-type="waterfall" default-col="3">
200
+ <a data-fancybox="images" style=width:33.333333333333336% href="/images/theme/shengbidebao.jpg" class="item"><img class="lazyload" data-original="/images/theme/shengbidebao.jpg" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==" alt="/images/theme/shengbidebao.jpg" /></a><a data-fancybox="images" style=width:33.333333333333336% href="/images/theme/nujiangxiagu.webp" class="item"><img class="lazyload" data-original="/images/theme/nujiangxiagu.webp" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==" alt="/images/theme/nujiangxiagu.webp" /></a><a data-fancybox="images" style=width:33.333333333333336% href="/images/theme/01.webp" class="item"><img class="lazyload" data-original="/images/theme/01.webp" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==" alt="/images/theme/01.webp" /></a><a data-fancybox="images" style=width:33.333333333333336% href="/images/nujiangxiagu02.webp" class="item"><img class="lazyload" data-original="/images/nujiangxiagu02.webp" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==" alt="/images/nujiangxiagu02.webp" /></a><a data-fancybox="images" style=width:33.333333333333336% href="/images/theme/y.jpeg" class="item"><img class="lazyload" data-original="/images/theme/y.jpeg" src="data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVQImWNgYGBgAAAABQABh6FO1AAAAABJRU5ErkJggg==" alt="/images/theme/y.jpeg" /></a>
201
+ </div>
202
+ </section>
203
+ </main>
204
+
205
+ <script>
206
+ var gap = 10;
207
+ var items = document.getElementsByClassName('item');
208
+ var wrap = document.getElementById("wrap");
209
+
210
+ window.onload = function () {
211
+ waterFall();
212
+ }
213
+
214
+ window.onresize = function () {
215
+ setTimeout(() => {
216
+ waterFall();
217
+ }, 1000)
218
+ }
219
+
220
+ function waterFall() {
221
+ if (!(wrap.getAttribute('default-type') === 'waterfall')) return;
222
+ var wrapWidth = getClientWidth();
223
+ var columns;
224
+ if(wrapWidth < 768 && wrapWidth >= 576) {
225
+ columns = 2;
226
+ } else if (wrapWidth < 576) {
227
+ columns = 1;
228
+ } else {
229
+ columns = parseInt(wrap.getAttribute('default-col'));
230
+ }
231
+ rerenderImage(columns, wrapWidth);
232
+ }
233
+
234
+ function rerenderImage(col, pageWidth) {
235
+ var arr = [];
236
+ var maxHeight = 0;
237
+ const itemWidth = (100 / col) + '%';
238
+ for (var i = 0;i < items.length; i++){
239
+ if (i < col) {
240
+ items[i].style.top = 0;
241
+ items[i].style.left = (pageWidth / col + gap) * i + 'px';
242
+ items[i].style.width = itemWidth;
243
+ arr.push(items[i].offsetHeight);
244
+ } else {
245
+ var minHeight = arr[0];
246
+ var index = 0;
247
+ for (var j = 0; j < arr.length; j++) {
248
+ if (minHeight > arr[j]) {
249
+ minHeight = arr[j];
250
+ index = j;
251
+ }
252
+ }
253
+ items[i].style.top = arr[index] + gap + 'px';
254
+ items[i].style.left = items[index].offsetLeft + 'px';
255
+ items[i].style.width = itemWidth;
256
+ arr[index] = arr[index] + items[i].offsetHeight + gap;
257
+ }
258
+ }
259
+ for (var m = 0; m < arr.length; m++) {
260
+ if (maxHeight < arr[m]) {
261
+ maxHeight = arr[m];
262
+ }
263
+ }
264
+ wrap.style.height = maxHeight + 'px';
265
+ }
266
+
267
+ function getClientWidth() {
268
+ return wrap.getBoundingClientRect().width;
269
+ }
270
+ </script>
271
+
272
+
273
+ <footer class="footer">
274
+ <div class="footer-social"><a
275
+ href="tencent://message/?Menu=yes&uin=392637221 "
276
+ target="_blank"
277
+ class="footer-social-item"
278
+ onMouseOver="this.style.color= '#12B7F5'"
279
+ onMouseOut="this.style.color='#33333D'">
280
+ <i class="iconfont iconQQ "></i>
281
+ </a><a
282
+ href="javascript:; "
283
+ target="_blank"
284
+ class="footer-social-item"
285
+ onMouseOver="this.style.color= '#09BB07'"
286
+ onMouseOut="this.style.color='#33333D'">
287
+ <i class="iconfont iconwechat-fill "></i>
288
+ </a><a
289
+ href="https://www.instagram.com/izhaoo/ "
290
+ target="_blank"
291
+ class="footer-social-item"
292
+ onMouseOver="this.style.color= '#DA2E76'"
293
+ onMouseOut="this.style.color='#33333D'">
294
+ <i class="iconfont iconinstagram "></i>
295
+ </a><a
296
+ href="https://yzyys.gitee.io/reai/ydongtai.html "
297
+ target="_blank"
298
+ class="footer-social-item"
299
+ onMouseOver="this.style.color= '#9f7be1'"
300
+ onMouseOut="this.style.color='#33333D'">
301
+ <i class="iconfont icongithub-fill "></i>
302
+ </a><a
303
+ href="wodeweixinshi "
304
+ target="_blank"
305
+ class="footer-social-item"
306
+ onMouseOver="this.style.color=#FF3B00"
307
+ onMouseOut="this.style.color='#33333D'">
308
+ <i class="iconfont iconmail"></i>
309
+ </a></div>
310
+
311
+ <div class="footer-copyright"><p>Powered by <a target="_blank" href="https://yzyys.gitee.io/reai/20221023wenzhangshouye/dongtaizhuye.html/zhuye.html">kongguantou</a> | Theme - <a target="_blank" href="http://chat.daovoice.io/?id=f8ddc9d3">chat</a></p></div>
312
+
313
+ </footer>
314
+
315
+ <div class="fab fab-plus">
316
+ <i class="iconfont iconplus"></i>
317
+ </div>
318
+
319
+
320
+ <div class="fab fab-daovoice">
321
+ <i class="iconfont iconcomment"></i>
322
+ </div>
323
+
324
+
325
+ <div class="fab fab-up">
326
+ <i class="iconfont iconcaret-up"></i>
327
+ </div>
328
+
329
+
330
+
331
+
332
+ <script src="/js/color-mode.js"></script>
333
+
334
+
335
+
336
+ </body>
337
+
338
+ <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
339
+
340
+
341
+
342
+
343
+
344
+
345
+ <script src="https://cdn.bootcdn.net/ajax/libs/jquery.lazyload/1.9.1/jquery.lazyload.min.js"></script>
346
+
347
+
348
+
349
+
350
+
351
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js"></script>
352
+
353
+
354
+
355
+
356
+
357
+
358
+
359
+ <script src="https://cdn.bootcdn.net/ajax/libs/jquery.qrcode/1.0/jquery.qrcode.min.js"></script>
360
+
361
+
362
+
363
+
364
+ <script src="/js/utils.js"></script>
365
+ <script src="/js/script.js"></script>
366
+
367
+
368
+
369
+ <script>
370
+ $.getScript("//cdn.jsdelivr.net/npm/leancloud-storage@4.1.0/dist/av-min.js", () => {
371
+
372
+ AV.init({
373
+ appId: '9SpXH9odSXLYjnnm5J9UG9mm-gzGzoHsz',
374
+ appKey: 'FL69KukifEA1Rrnd9yrAwTXi',
375
+ serverURLs: 'https://9spxh9od.lc-cn-n1-shared.com/',
376
+ });
377
+
378
+ const Counter = AV.Object.extend("Counter");
379
+ const Like = AV.Object.extend("Like");
380
+
381
+ const showCount = (Counter) => {
382
+ const asyncLimit = new AsyncLimit(2);
383
+ $(".leancloud-counter").each(async (e) => {
384
+ const url = $(".leancloud-counter").eq(e).attr('id').trim();
385
+ const query = new AV.Query("Counter");
386
+ query.equalTo("words", url);
387
+ let count = await asyncLimit.run(() => query.count());
388
+ $(".leancloud-counter").eq(e).text(count ? count : 0);
389
+ });
390
+ }
391
+
392
+ const addCount = (Counter) => {
393
+ const url = $(".leancloud-counter").length === 1 ? $(".leancloud-counter").attr('id').trim() : 'http://yzyys.gitee.io';
394
+ var query = new Counter;
395
+ query.save({
396
+ words: url
397
+ });
398
+ }
399
+
400
+ const showLike = (Like) => {
401
+ const asyncLimit = new AsyncLimit(2);
402
+ $(".leancloud-like").each(async (e) => {
403
+ const url = $(".leancloud-like").eq(e).attr('id').trim();
404
+ const query = new AV.Query("Like");
405
+ query.equalTo("path", url);
406
+ let count = await asyncLimit.run(() => query.count());
407
+ $(".leancloud-like").eq(e).text(count ? count : 0);
408
+ });
409
+ }
410
+
411
+ const addLike = (Like) => {
412
+ const url = $(".leancloud-like").length === 1 ? $(".leancloud-like").attr('id').trim() : 'http://yzyys.gitee.io';
413
+ var query = new Like;
414
+ query.save({
415
+ path: url,
416
+ nickName: 'Anonymous'
417
+ });
418
+ $(".leancloud-like").addClass('islike');
419
+ $(".fab-like").children(".iconfont").removeClass("iconheart").addClass("iconheart-fill").css("color", "#eb3223");
420
+ ZHAOO.zui.message({ text: '爱你哦~', type: 'success' });
421
+ setTimeout(() => showLike(Like), 1000);
422
+ }
423
+
424
+ const handleLikeClick = () => {
425
+ const isLike = $(".leancloud-like").length === 1 && $(".leancloud-like").hasClass('islike') ? true : false;
426
+ if (isLike) {
427
+ ZHAOO.zui.message({ text: '小心心不可以收回呢~', type: 'warning' });
428
+ } else {
429
+ addLike(Like);
430
+ }
431
+ }
432
+
433
+ $(function () {
434
+ addCount(Counter);
435
+ showCount(Counter);
436
+ showLike(Like);
437
+ $(".fab-like").on("click", function () {
438
+ handleLikeClick();
439
+ });
440
+ });
441
+
442
+ });
443
+ </script>
444
+
445
+
446
+
447
+
448
+
449
+ <script>
450
+ (function (i, s, o, g, r, a, m) {
451
+ i["DaoVoiceObject"] = r;
452
+ i[r] = i[r] || function () {
453
+ (i[r].q = i[r].q || []).push(arguments)
454
+ }, i[r].l = 1 * new Date();
455
+ a = s.createElement(o), m = s.getElementsByTagName(o)[0];
456
+ a.async = 1;
457
+ a.src = g;
458
+ a.charset = "utf-8";
459
+ m.parentNode.insertBefore(a, m)
460
+ })(window, document, "script", "https://widget.daovoice.io/widget/0f81ff2f.js", "daovoice")
461
+ daovoice('init', {
462
+ app_id: "f8ddc9d3"
463
+ }, {
464
+ launcher: {
465
+ disableLauncherIcon: true,
466
+ },
467
+ });
468
+ daovoice('update');
469
+ </script>
470
+
471
+
472
+
473
+ <script>
474
+ (function () {
475
+ var bp = document.createElement('script');
476
+ var curProtocol = window.location.protocol.split(':')[0];
477
+ if (curProtocol === 'https') {
478
+ bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
479
+ } else {
480
+ bp.src = 'http://push.zhanzhang.baidu.com/push.js';
481
+ }
482
+ var s = document.getElementsByTagName("script")[0];
483
+ s.parentNode.insertBefore(bp, s);
484
+ })();
485
+ </script>
486
+
487
+
488
+
489
+
490
+
491
+
492
+
493
+
494
+
495
+
496
+
497
+
498
+
499
+ </html>