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.
- package/.DS_Store +0 -0
- package/.npmignore +6 -0
- package/2020/01/30//351/227/256/351/242/2303/index.html +540 -0
- package/2020/05/05//351/227/256/351/242/2302/index.html +540 -0
- package/2022/10/28//351/227/256/351/242/2304/index.html +539 -0
- package/2022/10/30//351/227/256/351/242/2301/index.html +540 -0
- package/README.md +3 -0
- package/about/index.html +535 -0
- package/api/articles//351/227/256/351/242/2301.json +1 -0
- package/api/articles//351/227/256/351/242/2302.json +1 -0
- package/api/articles//351/227/256/351/242/2303.json +1 -0
- package/api/articles//351/227/256/351/242/2304.json +1 -0
- package/api/categories//351/241/271/347/233/256.json +1 -0
- package/api/categories.json +1 -0
- package/api/galleries/all.json +1 -0
- package/api/galleries/babecue.json +1 -0
- package/api/galleries/colorful.json +1 -0
- package/api/galleries//345/274/200/344/274/232.json +1 -0
- 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
- 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
- package/api/galleries.json +1 -0
- package/api/pages/------------.json +1 -0
- package/api/pages/-----mac-ipad-windows--.json +1 -0
- package/api/pages/--.json +1 -0
- package/api/pages/babecue.json +1 -0
- package/api/pages/colorful.json +1 -0
- package/api/posts/1.json +1 -0
- package/api/posts.json +1 -0
- package/api/site.json +1 -0
- package/api/tags/1.json +1 -0
- package/api/tags/2.json +1 -0
- package/api/tags/4.json +1 -0
- package/api/tags/5.json +1 -0
- package/api/tags/9.json +1 -0
- package/api/tags.json +1 -0
- package/archives/2020/01/index.html +457 -0
- package/archives/2020/05/index.html +457 -0
- package/archives/2020/index.html +457 -0
- package/archives/2022/10/index.html +457 -0
- package/archives/2022/index.html +457 -0
- package/archives/index.html +457 -0
- package/categories/index.html +427 -0
- package/categories//351/241/271/347/233/256/index.html +457 -0
- package/css/style.css +2118 -0
- package/galleries/babecue/index.html +499 -0
- package/galleries/colorful/index.html +499 -0
- package/galleries/index.html +482 -0
- package/galleries//345/274/200/344/274/232/index.html +499 -0
- 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
- 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
- package/images/donate/alipay.jpg +0 -0
- package/images/donate/wechat.jpg +0 -0
- package/images/icons/128x128.png +0 -0
- package/images/icons/16x16.png +0 -0
- package/images/icons/16x16wo.png +0 -0
- package/images/icons/32x32.png +0 -0
- package/images/icons/32x32wo.png +0 -0
- package/images/icons/500x500.png +0 -0
- package/images/icons/80x80.png +0 -0
- package/images/icons/960x960.png +0 -0
- package/images/icons/apple-touch-icon180x180.png +0 -0
- package/images/icons/favicon-144x144.png +0 -0
- package/images/icons//347/254/224/350/256/260.tex +9 -0
- package/images/theme/01.webp +0 -0
- package/images/theme/Mountains.jpg +0 -0
- package/images/theme/Sea.jpg +0 -0
- package/images/theme/babecue.jpg +0 -0
- package/images/theme/bingshan.jpeg +0 -0
- package/images/theme/cloud.png +0 -0
- package/images/theme/google-blue.png +0 -0
- package/images/theme/hong.jpg +0 -0
- package/images/theme/jidan.jpg +0 -0
- package/images/theme/kh.jpeg +0 -0
- package/images/theme/kh1.jpg +0 -0
- package/images/theme/loading.gif +0 -0
- package/images/theme/nujiangxiagu.jpg +0 -0
- package/images/theme/nujiangxiagu.webp +0 -0
- package/images/theme/nujiangxiagu02.webp +0 -0
- package/images/theme/photo_2022-11-01_11-55-52.jpg +0 -0
- package/images/theme/post-image-01.gif +0 -0
- package/images/theme/post-image-02.jpg +0 -0
- package/images/theme/post-image-03.png +0 -0
- package/images/theme/post-image-04.gif +0 -0
- package/images/theme/post-image-04.png +0 -0
- package/images/theme/post-image-99.png +0 -0
- package/images/theme/post-image.JPEG +0 -0
- package/images/theme/post-image.jpg.png +0 -0
- package/images/theme/s.webp +0 -0
- package/images/theme/s1.webp +0 -0
- package/images/theme/s2.jpg +0 -0
- package/images/theme/s3.jpg +0 -0
- package/images/theme/shengbidebao.jpg +0 -0
- package/images/theme/shoubiao.jpg +0 -0
- package/images/theme/shouxin.jpg +0 -0
- package/images/theme/taolun.jpg +0 -0
- package/images/theme/taolun1.jpg +0 -0
- package/images/theme/tengxuntuxiaochao.png +0 -0
- package/images/theme/welcome-image.jpg +0 -0
- package/images/theme/xiong.jpg +0 -0
- package/images/theme/y.jpeg +0 -0
- package/images/theme/yao.jpg +0 -0
- package/index.html +600 -0
- package/js/color-mode.js +75 -0
- package/js/script.js +492 -0
- package/js/utils.js +167 -0
- package/lib/daovoice/daovoice.js +21 -0
- package/lib/fancybox/fancybox.css +1 -0
- package/lib/fancybox/fancybox.js +13 -0
- package/lib/gitalk/gitalk.css +1211 -0
- package/lib/gitalk/gitalk.js +25 -0
- package/lib/highlight/a11y-dark.css +1 -0
- package/lib/highlight/highlight.js +2 -0
- package/lib/jquery/jquery.js +2 -0
- package/lib/lazyload/lazyload.js +2 -0
- package/lib/lottie/lottie.js +15 -0
- package/lib/pjax/pjax.js +2 -0
- package/lib/qrcode/qrcode.js +28 -0
- package/package.json +10 -0
- package/tags/1/index.html +451 -0
- package/tags/2/index.html +445 -0
- package/tags/4/index.html +437 -0
- package/tags/5/index.html +437 -0
- package/tags/9/index.html +437 -0
- package/tags/index.html +429 -0
package/lib/pjax/pjax.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(t){function e(e,a,r){return r=m(a,r),this.on("click.pjax",e,function(e){var a=r;a.container||(a=t.extend({},r),a.container=t(this).attr("data-pjax")),n(e,a)})}function n(e,n,a){a=m(n,a);var i=e.currentTarget,o=t(i);if("A"!==i.tagName.toUpperCase())throw"$.fn.pjax or $.pjax.click requires an anchor element";if(!(e.which>1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||location.protocol!==i.protocol||location.hostname!==i.hostname||i.href.indexOf("#")>-1&&h(i)==h(location)||e.isDefaultPrevented())){var c={url:i.href,container:o.attr("data-pjax"),target:i},s=t.extend({},c,a),u=t.Event("pjax:click");o.trigger(u,[s]),u.isDefaultPrevented()||(r(s),e.preventDefault(),o.trigger("pjax:clicked",[s]))}}function a(e,n,a){a=m(n,a);var i=e.currentTarget,o=t(i);if("FORM"!==i.tagName.toUpperCase())throw"$.pjax.submit requires a form element";var c={type:(o.attr("method")||"GET").toUpperCase(),url:o.attr("action"),container:o.attr("data-pjax"),target:i};if("GET"!==c.type&&void 0!==window.FormData)c.data=new FormData(i),c.processData=!1,c.contentType=!1;else{if(o.find(":file").length)return;c.data=o.serializeArray()}r(t.extend({},c,a)),e.preventDefault()}function r(e){function n(n,a,r){r||(r={}),r.relatedTarget=e.target;var i=t.Event(n,r);return c.trigger(i,a),!i.isDefaultPrevented()}e=t.extend(!0,{},t.ajaxSettings,r.defaults,e),t.isFunction(e.url)&&(e.url=e.url());var a=f(e.url).hash,i=t.type(e.container);if("string"!==i)throw"expected string value for 'container' option; got "+i;var c=e.context=t(e.container);if(!c.length)throw"the container selector '"+e.container+"' did not match anything";e.data||(e.data={}),t.isArray(e.data)?e.data.push({name:"_pjax",value:e.container}):e.data._pjax=e.container;var s;e.beforeSend=function(t,r){if("GET"!==r.type&&(r.timeout=0),t.setRequestHeader("X-PJAX","true"),t.setRequestHeader("X-PJAX-Container",e.container),!n("pjax:beforeSend",[t,r]))return!1;r.timeout>0&&(s=setTimeout(function(){n("pjax:timeout",[t,e])&&t.abort("timeout")},r.timeout),r.timeout=0);var i=f(r.url);a&&(i.hash=a),e.requestUrl=d(i)},e.complete=function(t,a){s&&clearTimeout(s),n("pjax:complete",[t,a,e]),n("pjax:end",[t,e])},e.error=function(t,a,r){var i=g("",t,e),c=n("pjax:error",[t,a,r,e]);"GET"==e.type&&"abort"!==a&&c&&o(i.url)},e.success=function(i,s,u){var p=r.state,d="function"==typeof t.pjax.defaults.version?t.pjax.defaults.version():t.pjax.defaults.version,h=u.getResponseHeader("X-PJAX-Version"),m=g(i,u,e),v=f(m.url);if(a&&(v.hash=a,m.url=v.href),d&&h&&d!==h)return void o(m.url);if(!m.contents)return void o(m.url);r.state={id:e.id||l(),url:m.url,title:m.title,container:e.container,fragment:e.fragment,timeout:e.timeout},(e.push||e.replace)&&window.history.replaceState(r.state,m.title,m.url);var x=t.contains(c,document.activeElement);if(x)try{document.activeElement.blur()}catch(t){}m.title&&(document.title=m.title),n("pjax:beforeReplace",[m.contents,e],{state:r.state,previousState:p}),c.html(m.contents);var j=c.find("input[autofocus], textarea[autofocus]").last()[0];j&&document.activeElement!==j&&j.focus(),y(m.scripts);var w=e.scrollTo;if(a){var b=decodeURIComponent(a.slice(1)),T=document.getElementById(b)||document.getElementsByName(b)[0];T&&(w=t(T).offset().top)}"number"==typeof w&&t(window).scrollTop(w),n("pjax:success",[i,s,u,e])},r.state||(r.state={id:l(),url:window.location.href,title:document.title,container:e.container,fragment:e.fragment,timeout:e.timeout},window.history.replaceState(r.state,document.title)),u(r.xhr),r.options=e;var h=r.xhr=t.ajax(e);return h.readyState>0&&(e.push&&!e.replace&&(j(r.state.id,[e.container,p(c)]),window.history.pushState(null,"",e.requestUrl)),n("pjax:start",[h,e]),n("pjax:send",[h,e])),r.xhr}function i(e,n){var a={url:window.location.href,push:!1,replace:!0,scrollTo:!1};return r(t.extend(a,m(e,n)))}function o(t){window.history.replaceState(null,"",r.state.url),window.location.replace(t)}function c(e){P||u(r.xhr);var n,a=r.state,i=e.state;if(i&&i.container){if(P&&C==i.url)return;if(a){if(a.id===i.id)return;n=a.id<i.id?"forward":"back"}var c=D[i.id]||[],s=c[0]||i.container,l=t(s),d=c[1];if(l.length){a&&w(n,a.id,[s,p(l)]);var f=t.Event("pjax:popstate",{state:i,direction:n});l.trigger(f);var h={id:i.id,url:i.url,container:s,push:!1,fragment:i.fragment,timeout:i.timeout,scrollTo:!1};if(d){l.trigger("pjax:start",[null,h]),r.state=i,i.title&&(document.title=i.title);var m=t.Event("pjax:beforeReplace",{state:i,previousState:a});l.trigger(m,[d,h]),l.html(d),l.trigger("pjax:end",[null,h])}else r(h);l[0].offsetHeight}else o(location.href)}P=!1}function s(e){var n=t.isFunction(e.url)?e.url():e.url,a=e.type?e.type.toUpperCase():"GET",r=t("<form>",{method:"GET"===a?"GET":"POST",action:n,style:"display:none"});"GET"!==a&&"POST"!==a&&r.append(t("<input>",{type:"hidden",name:"_method",value:a.toLowerCase()}));var i=e.data;if("string"==typeof i)t.each(i.split("&"),function(e,n){var a=n.split("=");r.append(t("<input>",{type:"hidden",name:a[0],value:a[1]}))});else if(t.isArray(i))t.each(i,function(e,n){r.append(t("<input>",{type:"hidden",name:n.name,value:n.value}))});else if("object"==typeof i){var o;for(o in i)r.append(t("<input>",{type:"hidden",name:o,value:i[o]}))}t(document.body).append(r),r.submit()}function u(e){e&&e.readyState<4&&(e.onreadystatechange=t.noop,e.abort())}function l(){return(new Date).getTime()}function p(e){var n=e.clone();return n.find("script").each(function(){this.src||t._data(this,"globalEval",!1)}),n.contents()}function d(t){return t.search=t.search.replace(/([?&])(_pjax|_)=[^&]*/g,"").replace(/^&/,""),t.href.replace(/\?($|#)/,"$1")}function f(t){var e=document.createElement("a");return e.href=t,e}function h(t){return t.href.replace(/#.*/,"")}function m(e,n){return e&&n?(n=t.extend({},n),n.container=e,n):t.isPlainObject(e)?e:{container:e}}function v(t,e){return t.filter(e).add(t.find(e))}function x(e){return t.parseHTML(e,document,!0)}function g(e,n,a){var r={},i=/<html/i.test(e),o=n.getResponseHeader("X-PJAX-URL");r.url=o?d(f(o)):a.requestUrl;var c,s;if(i){s=t(x(e.match(/<body[^>]*>([\s\S.]*)<\/body>/i)[0]));var u=e.match(/<head[^>]*>([\s\S.]*)<\/head>/i);c=null!=u?t(x(u[0])):s}else c=s=t(x(e));if(0===s.length)return r;if(r.title=v(c,"title").last().text(),a.fragment){var l=s;"body"!==a.fragment&&(l=v(l,a.fragment).first()),l.length&&(r.contents="body"===a.fragment?l:l.contents(),r.title||(r.title=l.attr("title")||l.data("title")))}else i||(r.contents=s);return r.contents&&(r.contents=r.contents.not(function(){return t(this).is("title")}),r.contents.find("title").remove(),r.scripts=v(r.contents,"script[src]").remove(),r.contents=r.contents.not(r.scripts)),r.title&&(r.title=t.trim(r.title)),r}function y(e){if(e){var n=t("script[src]");e.each(function(){var e=this.src,a=n.filter(function(){return this.src===e});if(!a.length){var r=document.createElement("script"),i=t(this).attr("type");i&&(r.type=i),r.src=t(this).attr("src"),document.head.appendChild(r)}})}}function j(t,e){D[t]=e,U.push(t),b(R,0),b(U,r.defaults.maxCacheLength)}function w(t,e,n){var a,i;D[e]=n,"forward"===t?(a=U,i=R):(a=R,i=U),a.push(e),e=i.pop(),e&&delete D[e],b(a,r.defaults.maxCacheLength)}function b(t,e){for(;t.length>e;)delete D[t.shift()]}function T(){return t("meta").filter(function(){var e=t(this).attr("http-equiv");return e&&"X-PJAX-VERSION"===e.toUpperCase()}).attr("content")}function E(){t.fn.pjax=e,t.pjax=r,t.pjax.enable=t.noop,t.pjax.disable=S,t.pjax.click=n,t.pjax.submit=a,t.pjax.reload=i,t.pjax.defaults={timeout:650,push:!0,replace:!1,type:"GET",dataType:"html",scrollTo:0,maxCacheLength:20,version:T},t(window).on("popstate.pjax",c)}function S(){t.fn.pjax=function(){return this},t.pjax=s,t.pjax.enable=E,t.pjax.disable=t.noop,t.pjax.click=t.noop,t.pjax.submit=t.noop,t.pjax.reload=function(){window.location.reload()},t(window).off("popstate.pjax",c)}var P=!0,C=window.location.href,A=window.history.state;A&&A.container&&(r.state=A),"state"in window.history&&(P=!1);var D={},R=[],U=[];t.event.props&&t.inArray("state",t.event.props)<0?t.event.props.push("state"):"state"in t.Event.prototype||t.event.addProp("state"),t.support.pjax=window.history&&window.history.pushState&&window.history.replaceState&&!navigator.userAgent.match(/((iPod|iPhone|iPad).+\bOS\s+[1-4]\D|WebApps\/.+CFNetwork)/),t.support.pjax?E():S()}(jQuery);
|
|
2
|
+
//# sourceMappingURL=jquery.pjax.min.js.map
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
(function(r){r.fn.qrcode=function(h){var s;function u(a){this.mode=s;this.data=a}function o(a,c){this.typeNumber=a;this.errorCorrectLevel=c;this.modules=null;this.moduleCount=0;this.dataCache=null;this.dataList=[]}function q(a,c){if(void 0==a.length)throw Error(a.length+"/"+c);for(var d=0;d<a.length&&0==a[d];)d++;this.num=Array(a.length-d+c);for(var b=0;b<a.length-d;b++)this.num[b]=a[b+d]}function p(a,c){this.totalCount=a;this.dataCount=c}function t(){this.buffer=[];this.length=0}u.prototype={getLength:function(){return this.data.length},
|
|
2
|
+
write:function(a){for(var c=0;c<this.data.length;c++)a.put(this.data.charCodeAt(c),8)}};o.prototype={addData:function(a){this.dataList.push(new u(a));this.dataCache=null},isDark:function(a,c){if(0>a||this.moduleCount<=a||0>c||this.moduleCount<=c)throw Error(a+","+c);return this.modules[a][c]},getModuleCount:function(){return this.moduleCount},make:function(){if(1>this.typeNumber){for(var a=1,a=1;40>a;a++){for(var c=p.getRSBlocks(a,this.errorCorrectLevel),d=new t,b=0,e=0;e<c.length;e++)b+=c[e].dataCount;
|
|
3
|
+
for(e=0;e<this.dataList.length;e++)c=this.dataList[e],d.put(c.mode,4),d.put(c.getLength(),j.getLengthInBits(c.mode,a)),c.write(d);if(d.getLengthInBits()<=8*b)break}this.typeNumber=a}this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(a,c){this.moduleCount=4*this.typeNumber+17;this.modules=Array(this.moduleCount);for(var d=0;d<this.moduleCount;d++){this.modules[d]=Array(this.moduleCount);for(var b=0;b<this.moduleCount;b++)this.modules[d][b]=null}this.setupPositionProbePattern(0,0);this.setupPositionProbePattern(this.moduleCount-
|
|
4
|
+
7,0);this.setupPositionProbePattern(0,this.moduleCount-7);this.setupPositionAdjustPattern();this.setupTimingPattern();this.setupTypeInfo(a,c);7<=this.typeNumber&&this.setupTypeNumber(a);null==this.dataCache&&(this.dataCache=o.createData(this.typeNumber,this.errorCorrectLevel,this.dataList));this.mapData(this.dataCache,c)},setupPositionProbePattern:function(a,c){for(var d=-1;7>=d;d++)if(!(-1>=a+d||this.moduleCount<=a+d))for(var b=-1;7>=b;b++)-1>=c+b||this.moduleCount<=c+b||(this.modules[a+d][c+b]=
|
|
5
|
+
0<=d&&6>=d&&(0==b||6==b)||0<=b&&6>=b&&(0==d||6==d)||2<=d&&4>=d&&2<=b&&4>=b?!0:!1)},getBestMaskPattern:function(){for(var a=0,c=0,d=0;8>d;d++){this.makeImpl(!0,d);var b=j.getLostPoint(this);if(0==d||a>b)a=b,c=d}return c},createMovieClip:function(a,c,d){a=a.createEmptyMovieClip(c,d);this.make();for(c=0;c<this.modules.length;c++)for(var d=1*c,b=0;b<this.modules[c].length;b++){var e=1*b;this.modules[c][b]&&(a.beginFill(0,100),a.moveTo(e,d),a.lineTo(e+1,d),a.lineTo(e+1,d+1),a.lineTo(e,d+1),a.endFill())}return a},
|
|
6
|
+
setupTimingPattern:function(){for(var a=8;a<this.moduleCount-8;a++)null==this.modules[a][6]&&(this.modules[a][6]=0==a%2);for(a=8;a<this.moduleCount-8;a++)null==this.modules[6][a]&&(this.modules[6][a]=0==a%2)},setupPositionAdjustPattern:function(){for(var a=j.getPatternPosition(this.typeNumber),c=0;c<a.length;c++)for(var d=0;d<a.length;d++){var b=a[c],e=a[d];if(null==this.modules[b][e])for(var f=-2;2>=f;f++)for(var i=-2;2>=i;i++)this.modules[b+f][e+i]=-2==f||2==f||-2==i||2==i||0==f&&0==i?!0:!1}},setupTypeNumber:function(a){for(var c=
|
|
7
|
+
j.getBCHTypeNumber(this.typeNumber),d=0;18>d;d++){var b=!a&&1==(c>>d&1);this.modules[Math.floor(d/3)][d%3+this.moduleCount-8-3]=b}for(d=0;18>d;d++)b=!a&&1==(c>>d&1),this.modules[d%3+this.moduleCount-8-3][Math.floor(d/3)]=b},setupTypeInfo:function(a,c){for(var d=j.getBCHTypeInfo(this.errorCorrectLevel<<3|c),b=0;15>b;b++){var e=!a&&1==(d>>b&1);6>b?this.modules[b][8]=e:8>b?this.modules[b+1][8]=e:this.modules[this.moduleCount-15+b][8]=e}for(b=0;15>b;b++)e=!a&&1==(d>>b&1),8>b?this.modules[8][this.moduleCount-
|
|
8
|
+
b-1]=e:9>b?this.modules[8][15-b-1+1]=e:this.modules[8][15-b-1]=e;this.modules[this.moduleCount-8][8]=!a},mapData:function(a,c){for(var d=-1,b=this.moduleCount-1,e=7,f=0,i=this.moduleCount-1;0<i;i-=2)for(6==i&&i--;;){for(var g=0;2>g;g++)if(null==this.modules[b][i-g]){var n=!1;f<a.length&&(n=1==(a[f]>>>e&1));j.getMask(c,b,i-g)&&(n=!n);this.modules[b][i-g]=n;e--; -1==e&&(f++,e=7)}b+=d;if(0>b||this.moduleCount<=b){b-=d;d=-d;break}}}};o.PAD0=236;o.PAD1=17;o.createData=function(a,c,d){for(var c=p.getRSBlocks(a,
|
|
9
|
+
c),b=new t,e=0;e<d.length;e++){var f=d[e];b.put(f.mode,4);b.put(f.getLength(),j.getLengthInBits(f.mode,a));f.write(b)}for(e=a=0;e<c.length;e++)a+=c[e].dataCount;if(b.getLengthInBits()>8*a)throw Error("code length overflow. ("+b.getLengthInBits()+">"+8*a+")");for(b.getLengthInBits()+4<=8*a&&b.put(0,4);0!=b.getLengthInBits()%8;)b.putBit(!1);for(;!(b.getLengthInBits()>=8*a);){b.put(o.PAD0,8);if(b.getLengthInBits()>=8*a)break;b.put(o.PAD1,8)}return o.createBytes(b,c)};o.createBytes=function(a,c){for(var d=
|
|
10
|
+
0,b=0,e=0,f=Array(c.length),i=Array(c.length),g=0;g<c.length;g++){var n=c[g].dataCount,h=c[g].totalCount-n,b=Math.max(b,n),e=Math.max(e,h);f[g]=Array(n);for(var k=0;k<f[g].length;k++)f[g][k]=255&a.buffer[k+d];d+=n;k=j.getErrorCorrectPolynomial(h);n=(new q(f[g],k.getLength()-1)).mod(k);i[g]=Array(k.getLength()-1);for(k=0;k<i[g].length;k++)h=k+n.getLength()-i[g].length,i[g][k]=0<=h?n.get(h):0}for(k=g=0;k<c.length;k++)g+=c[k].totalCount;d=Array(g);for(k=n=0;k<b;k++)for(g=0;g<c.length;g++)k<f[g].length&&
|
|
11
|
+
(d[n++]=f[g][k]);for(k=0;k<e;k++)for(g=0;g<c.length;g++)k<i[g].length&&(d[n++]=i[g][k]);return d};s=4;for(var j={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,
|
|
12
|
+
78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(a){for(var c=a<<10;0<=j.getBCHDigit(c)-j.getBCHDigit(j.G15);)c^=j.G15<<j.getBCHDigit(c)-j.getBCHDigit(j.G15);return(a<<10|c)^j.G15_MASK},getBCHTypeNumber:function(a){for(var c=a<<12;0<=j.getBCHDigit(c)-
|
|
13
|
+
j.getBCHDigit(j.G18);)c^=j.G18<<j.getBCHDigit(c)-j.getBCHDigit(j.G18);return a<<12|c},getBCHDigit:function(a){for(var c=0;0!=a;)c++,a>>>=1;return c},getPatternPosition:function(a){return j.PATTERN_POSITION_TABLE[a-1]},getMask:function(a,c,d){switch(a){case 0:return 0==(c+d)%2;case 1:return 0==c%2;case 2:return 0==d%3;case 3:return 0==(c+d)%3;case 4:return 0==(Math.floor(c/2)+Math.floor(d/3))%2;case 5:return 0==c*d%2+c*d%3;case 6:return 0==(c*d%2+c*d%3)%2;case 7:return 0==(c*d%3+(c+d)%2)%2;default:throw Error("bad maskPattern:"+
|
|
14
|
+
a);}},getErrorCorrectPolynomial:function(a){for(var c=new q([1],0),d=0;d<a;d++)c=c.multiply(new q([1,l.gexp(d)],0));return c},getLengthInBits:function(a,c){if(1<=c&&10>c)switch(a){case 1:return 10;case 2:return 9;case s:return 8;case 8:return 8;default:throw Error("mode:"+a);}else if(27>c)switch(a){case 1:return 12;case 2:return 11;case s:return 16;case 8:return 10;default:throw Error("mode:"+a);}else if(41>c)switch(a){case 1:return 14;case 2:return 13;case s:return 16;case 8:return 12;default:throw Error("mode:"+
|
|
15
|
+
a);}else throw Error("type:"+c);},getLostPoint:function(a){for(var c=a.getModuleCount(),d=0,b=0;b<c;b++)for(var e=0;e<c;e++){for(var f=0,i=a.isDark(b,e),g=-1;1>=g;g++)if(!(0>b+g||c<=b+g))for(var h=-1;1>=h;h++)0>e+h||c<=e+h||0==g&&0==h||i==a.isDark(b+g,e+h)&&f++;5<f&&(d+=3+f-5)}for(b=0;b<c-1;b++)for(e=0;e<c-1;e++)if(f=0,a.isDark(b,e)&&f++,a.isDark(b+1,e)&&f++,a.isDark(b,e+1)&&f++,a.isDark(b+1,e+1)&&f++,0==f||4==f)d+=3;for(b=0;b<c;b++)for(e=0;e<c-6;e++)a.isDark(b,e)&&!a.isDark(b,e+1)&&a.isDark(b,e+
|
|
16
|
+
2)&&a.isDark(b,e+3)&&a.isDark(b,e+4)&&!a.isDark(b,e+5)&&a.isDark(b,e+6)&&(d+=40);for(e=0;e<c;e++)for(b=0;b<c-6;b++)a.isDark(b,e)&&!a.isDark(b+1,e)&&a.isDark(b+2,e)&&a.isDark(b+3,e)&&a.isDark(b+4,e)&&!a.isDark(b+5,e)&&a.isDark(b+6,e)&&(d+=40);for(e=f=0;e<c;e++)for(b=0;b<c;b++)a.isDark(b,e)&&f++;a=Math.abs(100*f/c/c-50)/5;return d+10*a}},l={glog:function(a){if(1>a)throw Error("glog("+a+")");return l.LOG_TABLE[a]},gexp:function(a){for(;0>a;)a+=255;for(;256<=a;)a-=255;return l.EXP_TABLE[a]},EXP_TABLE:Array(256),
|
|
17
|
+
LOG_TABLE:Array(256)},m=0;8>m;m++)l.EXP_TABLE[m]=1<<m;for(m=8;256>m;m++)l.EXP_TABLE[m]=l.EXP_TABLE[m-4]^l.EXP_TABLE[m-5]^l.EXP_TABLE[m-6]^l.EXP_TABLE[m-8];for(m=0;255>m;m++)l.LOG_TABLE[l.EXP_TABLE[m]]=m;q.prototype={get:function(a){return this.num[a]},getLength:function(){return this.num.length},multiply:function(a){for(var c=Array(this.getLength()+a.getLength()-1),d=0;d<this.getLength();d++)for(var b=0;b<a.getLength();b++)c[d+b]^=l.gexp(l.glog(this.get(d))+l.glog(a.get(b)));return new q(c,0)},mod:function(a){if(0>
|
|
18
|
+
this.getLength()-a.getLength())return this;for(var c=l.glog(this.get(0))-l.glog(a.get(0)),d=Array(this.getLength()),b=0;b<this.getLength();b++)d[b]=this.get(b);for(b=0;b<a.getLength();b++)d[b]^=l.gexp(l.glog(a.get(b))+c);return(new q(d,0)).mod(a)}};p.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],
|
|
19
|
+
[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,
|
|
20
|
+
116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,
|
|
21
|
+
43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,
|
|
22
|
+
3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,
|
|
23
|
+
55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,
|
|
24
|
+
45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];p.getRSBlocks=function(a,c){var d=p.getRsBlockTable(a,c);if(void 0==d)throw Error("bad rs block @ typeNumber:"+a+"/errorCorrectLevel:"+c);for(var b=d.length/3,e=[],f=0;f<b;f++)for(var h=d[3*f+0],g=d[3*f+1],j=d[3*f+2],l=0;l<h;l++)e.push(new p(g,j));return e};p.getRsBlockTable=function(a,c){switch(c){case 1:return p.RS_BLOCK_TABLE[4*(a-1)+0];case 0:return p.RS_BLOCK_TABLE[4*(a-1)+1];case 3:return p.RS_BLOCK_TABLE[4*
|
|
25
|
+
(a-1)+2];case 2:return p.RS_BLOCK_TABLE[4*(a-1)+3]}};t.prototype={get:function(a){return 1==(this.buffer[Math.floor(a/8)]>>>7-a%8&1)},put:function(a,c){for(var d=0;d<c;d++)this.putBit(1==(a>>>c-d-1&1))},getLengthInBits:function(){return this.length},putBit:function(a){var c=Math.floor(this.length/8);this.buffer.length<=c&&this.buffer.push(0);a&&(this.buffer[c]|=128>>>this.length%8);this.length++}};"string"===typeof h&&(h={text:h});h=r.extend({},{render:"canvas",width:256,height:256,typeNumber:-1,
|
|
26
|
+
correctLevel:2,background:"#ffffff",foreground:"#000000"},h);return this.each(function(){var a;if("canvas"==h.render){a=new o(h.typeNumber,h.correctLevel);a.addData(h.text);a.make();var c=document.createElement("canvas");c.width=h.width;c.height=h.height;for(var d=c.getContext("2d"),b=h.width/a.getModuleCount(),e=h.height/a.getModuleCount(),f=0;f<a.getModuleCount();f++)for(var i=0;i<a.getModuleCount();i++){d.fillStyle=a.isDark(f,i)?h.foreground:h.background;var g=Math.ceil((i+1)*b)-Math.floor(i*b),
|
|
27
|
+
j=Math.ceil((f+1)*b)-Math.floor(f*b);d.fillRect(Math.round(i*b),Math.round(f*e),g,j)}}else{a=new o(h.typeNumber,h.correctLevel);a.addData(h.text);a.make();c=r("<table></table>").css("width",h.width+"px").css("height",h.height+"px").css("border","0px").css("border-collapse","collapse").css("background-color",h.background);d=h.width/a.getModuleCount();b=h.height/a.getModuleCount();for(e=0;e<a.getModuleCount();e++){f=r("<tr></tr>").css("height",b+"px").appendTo(c);for(i=0;i<a.getModuleCount();i++)r("<td></td>").css("width",
|
|
28
|
+
d+"px").css("background-color",a.isDark(e,i)?h.foreground:h.background).appendTo(f)}}a=c;jQuery(a).appendTo(this)})}})(jQuery);
|
package/package.json
ADDED
|
@@ -0,0 +1,451 @@
|
|
|
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>1 - 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
|
+
<main id="main">
|
|
191
|
+
<section class="archive">
|
|
192
|
+
<div class="archive-container">
|
|
193
|
+
<div class="archive-post">
|
|
194
|
+
<h2 class="archive-total"># 1</h2>
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
<h3 class="archive-year">2022 年</h3>
|
|
199
|
+
|
|
200
|
+
<div class="archive-item">
|
|
201
|
+
<a class="archive-date" href="/2022/10/30/%E9%97%AE%E9%A2%981/">10/30</a>
|
|
202
|
+
<a class="archive-title" href="/2022/10/30/%E9%97%AE%E9%A2%981/">笔辛</a>
|
|
203
|
+
</div>
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
<div class="archive-item">
|
|
207
|
+
<a class="archive-date" href="/2022/10/28/%E9%97%AE%E9%A2%984/">10/28</a>
|
|
208
|
+
<a class="archive-title" href="/2022/10/28/%E9%97%AE%E9%A2%984/">罗丹的思想者</a>
|
|
209
|
+
</div>
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
<h3 class="archive-year">2020 年</h3>
|
|
213
|
+
|
|
214
|
+
<div class="archive-item">
|
|
215
|
+
<a class="archive-date" href="/2020/05/05/%E9%97%AE%E9%A2%982/">05/05</a>
|
|
216
|
+
<a class="archive-title" href="/2020/05/05/%E9%97%AE%E9%A2%982/">头像</a>
|
|
217
|
+
</div>
|
|
218
|
+
|
|
219
|
+
</div>
|
|
220
|
+
</div>
|
|
221
|
+
</section>
|
|
222
|
+
</main>
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
<footer class="footer">
|
|
226
|
+
<div class="footer-social"><a
|
|
227
|
+
href="tencent://message/?Menu=yes&uin=392637221 "
|
|
228
|
+
target="_blank"
|
|
229
|
+
class="footer-social-item"
|
|
230
|
+
onMouseOver="this.style.color= '#12B7F5'"
|
|
231
|
+
onMouseOut="this.style.color='#33333D'">
|
|
232
|
+
<i class="iconfont iconQQ "></i>
|
|
233
|
+
</a><a
|
|
234
|
+
href="javascript:; "
|
|
235
|
+
target="_blank"
|
|
236
|
+
class="footer-social-item"
|
|
237
|
+
onMouseOver="this.style.color= '#09BB07'"
|
|
238
|
+
onMouseOut="this.style.color='#33333D'">
|
|
239
|
+
<i class="iconfont iconwechat-fill "></i>
|
|
240
|
+
</a><a
|
|
241
|
+
href="https://www.instagram.com/izhaoo/ "
|
|
242
|
+
target="_blank"
|
|
243
|
+
class="footer-social-item"
|
|
244
|
+
onMouseOver="this.style.color= '#DA2E76'"
|
|
245
|
+
onMouseOut="this.style.color='#33333D'">
|
|
246
|
+
<i class="iconfont iconinstagram "></i>
|
|
247
|
+
</a><a
|
|
248
|
+
href="https://yzyys.gitee.io/reai/ydongtai.html "
|
|
249
|
+
target="_blank"
|
|
250
|
+
class="footer-social-item"
|
|
251
|
+
onMouseOver="this.style.color= '#9f7be1'"
|
|
252
|
+
onMouseOut="this.style.color='#33333D'">
|
|
253
|
+
<i class="iconfont icongithub-fill "></i>
|
|
254
|
+
</a><a
|
|
255
|
+
href="wodeweixinshi "
|
|
256
|
+
target="_blank"
|
|
257
|
+
class="footer-social-item"
|
|
258
|
+
onMouseOver="this.style.color=#FF3B00"
|
|
259
|
+
onMouseOut="this.style.color='#33333D'">
|
|
260
|
+
<i class="iconfont iconmail"></i>
|
|
261
|
+
</a></div>
|
|
262
|
+
|
|
263
|
+
<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>
|
|
264
|
+
|
|
265
|
+
</footer>
|
|
266
|
+
|
|
267
|
+
<div class="fab fab-plus">
|
|
268
|
+
<i class="iconfont iconplus"></i>
|
|
269
|
+
</div>
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
<div class="fab fab-daovoice">
|
|
273
|
+
<i class="iconfont iconcomment"></i>
|
|
274
|
+
</div>
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
<div class="fab fab-up">
|
|
278
|
+
<i class="iconfont iconcaret-up"></i>
|
|
279
|
+
</div>
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
<script src="/js/color-mode.js"></script>
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
</body>
|
|
289
|
+
|
|
290
|
+
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
<script src="https://cdn.bootcdn.net/ajax/libs/jquery.lazyload/1.9.1/jquery.lazyload.min.js"></script>
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js"></script>
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
<script src="https://cdn.bootcdn.net/ajax/libs/jquery.qrcode/1.0/jquery.qrcode.min.js"></script>
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
<script src="/js/utils.js"></script>
|
|
317
|
+
<script src="/js/script.js"></script>
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
<script>
|
|
322
|
+
$.getScript("//cdn.jsdelivr.net/npm/leancloud-storage@4.1.0/dist/av-min.js", () => {
|
|
323
|
+
|
|
324
|
+
AV.init({
|
|
325
|
+
appId: '9SpXH9odSXLYjnnm5J9UG9mm-gzGzoHsz',
|
|
326
|
+
appKey: 'FL69KukifEA1Rrnd9yrAwTXi',
|
|
327
|
+
serverURLs: 'https://9spxh9od.lc-cn-n1-shared.com/',
|
|
328
|
+
});
|
|
329
|
+
|
|
330
|
+
const Counter = AV.Object.extend("Counter");
|
|
331
|
+
const Like = AV.Object.extend("Like");
|
|
332
|
+
|
|
333
|
+
const showCount = (Counter) => {
|
|
334
|
+
const asyncLimit = new AsyncLimit(2);
|
|
335
|
+
$(".leancloud-counter").each(async (e) => {
|
|
336
|
+
const url = $(".leancloud-counter").eq(e).attr('id').trim();
|
|
337
|
+
const query = new AV.Query("Counter");
|
|
338
|
+
query.equalTo("words", url);
|
|
339
|
+
let count = await asyncLimit.run(() => query.count());
|
|
340
|
+
$(".leancloud-counter").eq(e).text(count ? count : 0);
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
const addCount = (Counter) => {
|
|
345
|
+
const url = $(".leancloud-counter").length === 1 ? $(".leancloud-counter").attr('id').trim() : 'http://yzyys.gitee.io';
|
|
346
|
+
var query = new Counter;
|
|
347
|
+
query.save({
|
|
348
|
+
words: url
|
|
349
|
+
});
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
const showLike = (Like) => {
|
|
353
|
+
const asyncLimit = new AsyncLimit(2);
|
|
354
|
+
$(".leancloud-like").each(async (e) => {
|
|
355
|
+
const url = $(".leancloud-like").eq(e).attr('id').trim();
|
|
356
|
+
const query = new AV.Query("Like");
|
|
357
|
+
query.equalTo("path", url);
|
|
358
|
+
let count = await asyncLimit.run(() => query.count());
|
|
359
|
+
$(".leancloud-like").eq(e).text(count ? count : 0);
|
|
360
|
+
});
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
const addLike = (Like) => {
|
|
364
|
+
const url = $(".leancloud-like").length === 1 ? $(".leancloud-like").attr('id').trim() : 'http://yzyys.gitee.io';
|
|
365
|
+
var query = new Like;
|
|
366
|
+
query.save({
|
|
367
|
+
path: url,
|
|
368
|
+
nickName: 'Anonymous'
|
|
369
|
+
});
|
|
370
|
+
$(".leancloud-like").addClass('islike');
|
|
371
|
+
$(".fab-like").children(".iconfont").removeClass("iconheart").addClass("iconheart-fill").css("color", "#eb3223");
|
|
372
|
+
ZHAOO.zui.message({ text: '爱你哦~', type: 'success' });
|
|
373
|
+
setTimeout(() => showLike(Like), 1000);
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
const handleLikeClick = () => {
|
|
377
|
+
const isLike = $(".leancloud-like").length === 1 && $(".leancloud-like").hasClass('islike') ? true : false;
|
|
378
|
+
if (isLike) {
|
|
379
|
+
ZHAOO.zui.message({ text: '小心心不可以收回呢~', type: 'warning' });
|
|
380
|
+
} else {
|
|
381
|
+
addLike(Like);
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
$(function () {
|
|
386
|
+
addCount(Counter);
|
|
387
|
+
showCount(Counter);
|
|
388
|
+
showLike(Like);
|
|
389
|
+
$(".fab-like").on("click", function () {
|
|
390
|
+
handleLikeClick();
|
|
391
|
+
});
|
|
392
|
+
});
|
|
393
|
+
|
|
394
|
+
});
|
|
395
|
+
</script>
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
<script>
|
|
402
|
+
(function (i, s, o, g, r, a, m) {
|
|
403
|
+
i["DaoVoiceObject"] = r;
|
|
404
|
+
i[r] = i[r] || function () {
|
|
405
|
+
(i[r].q = i[r].q || []).push(arguments)
|
|
406
|
+
}, i[r].l = 1 * new Date();
|
|
407
|
+
a = s.createElement(o), m = s.getElementsByTagName(o)[0];
|
|
408
|
+
a.async = 1;
|
|
409
|
+
a.src = g;
|
|
410
|
+
a.charset = "utf-8";
|
|
411
|
+
m.parentNode.insertBefore(a, m)
|
|
412
|
+
})(window, document, "script", "https://widget.daovoice.io/widget/0f81ff2f.js", "daovoice")
|
|
413
|
+
daovoice('init', {
|
|
414
|
+
app_id: "f8ddc9d3"
|
|
415
|
+
}, {
|
|
416
|
+
launcher: {
|
|
417
|
+
disableLauncherIcon: true,
|
|
418
|
+
},
|
|
419
|
+
});
|
|
420
|
+
daovoice('update');
|
|
421
|
+
</script>
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
<script>
|
|
426
|
+
(function () {
|
|
427
|
+
var bp = document.createElement('script');
|
|
428
|
+
var curProtocol = window.location.protocol.split(':')[0];
|
|
429
|
+
if (curProtocol === 'https') {
|
|
430
|
+
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
|
431
|
+
} else {
|
|
432
|
+
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
|
433
|
+
}
|
|
434
|
+
var s = document.getElementsByTagName("script")[0];
|
|
435
|
+
s.parentNode.insertBefore(bp, s);
|
|
436
|
+
})();
|
|
437
|
+
</script>
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
</html>
|