From 451a3d517863cb28277488a81b3f38dcc2c8c149 Mon Sep 17 00:00:00 2001 From: wallleap <15579576761@163.com> Date: Wed, 2 Aug 2023 08:46:11 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=83=20docs:=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=83=A8=E5=88=86=E6=95=99=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .nojekyll | 0 CNAME | 1 + css/index-017c76ff.css | 1 + css/index-18473960.css | 1 + css/index-4383e72f.css | 1 + css/index-4fda7501.css | 1 + css/index-5ef251c2.css | 1 + css/index-915c157a.css | 1 + css/vendor-46cd66a0.css | 1 + favicon.ico | Bin 0 -> 4286 bytes index.html | 1 + js/index-19f2d1d0.js | 1 + js/index-58442721.js | 1 + js/index-60773d0d.js | 1 + js/index-a030c016.js | 6 ++ js/index-c487e0a5.js | 1 + js/index-dc4f6294.js | 39 +++++++++++ js/vendor-2ac22ffe.js | 145 ++++++++++++++++++++++++++++++++++++++++ png/like-63b04684.png | Bin 0 -> 29928 bytes png/quote-391fe357.png | Bin 0 -> 13221 bytes 20 files changed, 203 insertions(+) create mode 100644 .nojekyll create mode 100644 CNAME create mode 100644 css/index-017c76ff.css create mode 100644 css/index-18473960.css create mode 100644 css/index-4383e72f.css create mode 100644 css/index-4fda7501.css create mode 100644 css/index-5ef251c2.css create mode 100644 css/index-915c157a.css create mode 100644 css/vendor-46cd66a0.css create mode 100755 favicon.ico create mode 100644 index.html create mode 100644 js/index-19f2d1d0.js create mode 100644 js/index-58442721.js create mode 100644 js/index-60773d0d.js create mode 100644 js/index-a030c016.js create mode 100644 js/index-c487e0a5.js create mode 100644 js/index-dc4f6294.js create mode 100644 js/vendor-2ac22ffe.js create mode 100644 png/like-63b04684.png create mode 100644 png/quote-391fe357.png diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..d52f16d --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +myblog.wallleap.cn diff --git a/css/index-017c76ff.css b/css/index-017c76ff.css new file mode 100644 index 0000000..0e0b759 --- /dev/null +++ b/css/index-017c76ff.css @@ -0,0 +1 @@ +.related-post[data-v-a182e453]{position:relative;display:inline-block;width:100%;border-radius:1em;aspect-ratio:16/10;overflow:hidden}.related-post[data-v-a182e453]:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;border-radius:1em;background:linear-gradient(to top,var(--primary) 0%,rgba(0,0,0,0) 100%)}.related-post .post-cover[data-v-a182e453]{width:100%;height:100%;border-radius:1em;background-color:var(--bg-major);overflow:hidden}.related-post .post-cover img[data-v-a182e453]{width:100%;height:100%;object-fit:cover;transition:transform .4s ease-in-out}.related-post .post-info[data-v-a182e453]{position:absolute;width:calc(100% - 2.8em);color:#fff;bottom:1.4em;left:1.4em;z-index:2}.related-post .post-info .post-meta[data-v-a182e453]{display:flex;gap:.4em;margin-bottom:.8em}.related-post .post-info .post-meta .post-cate[data-v-a182e453]{padding:.2em .5em;border-radius:.5em;background-color:#f0f4ff;color:var(--primary);transition:.4s}.related-post .post-info .post-meta .post-tags[data-v-a182e453]{display:flex;align-items:center;gap:.4em;margin-left:1em}.related-post .post-info .post-meta .post-tags svg[data-v-a182e453]{filter:invert(1)}.related-post .post-info .post-meta .post-tags .post-tag[data-v-a182e453]:before{content:"#";margin-right:.2em}.related-post .post-info .post-text[data-v-a182e453]{width:100%}.related-post .post-info .post-text .post-title[data-v-a182e453]{width:100%;font-size:1.2rem;font-weight:700;line-height:1.4;color:#fff;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.post[data-v-58c03e35]{margin:100px auto 0;width:100%;max-width:876px}.post .toc-wrap[data-v-58c03e35]{position:fixed;top:116px;left:50%;margin-left:calc(438px + 1em);padding:1em;max-height:80vh;width:260px;border-radius:1em;background-color:var(--bg-thin);overflow-x:hidden;overflow-y:auto;z-index:4}.post .toc-wrap[data-v-58c03e35]{overflow:overlay}.post .toc-wrap[data-v-58c03e35]::-webkit-resizer,.post .toc-wrap[data-v-58c03e35]::-webkit-scrollbar-corner,.post .toc-wrap[data-v-58c03e35]::-webkit-scroll-track,.post .toc-wrap[data-v-58c03e35]::-webkit-scrollbar-button,.post .toc-wrap[data-v-58c03e35]::-webkit-scrollbar-track-piece{display:none}.post .toc-wrap[data-v-58c03e35]::-webkit-scrollbar{width:9px;height:9px;border-radius:9px;background-color:transparent}.post .toc-wrap[data-v-58c03e35]::-webkit-scrollbar-thumb{background-color:var(--weak);border-radius:6px;border:2px solid transparent;background-clip:padding-box}.post .toc-wrap[data-v-58c03e35]::-webkit-scrollbar-thumb:hover{background-color:var(--minor)}.post .toc-wrap .toc-header[data-v-58c03e35]{display:flex;justify-content:space-between;align-items:center;margin-bottom:1em}.post .toc-wrap .toc-header .toc-title[data-v-58c03e35]{font-size:.9rem;color:var(--accent);width:100px;height:42px;line-height:42px;text-align:center;border-radius:.3em;background-color:var(--bg-major);cursor:pointer}.post .toc-wrap .toc-header .toc-title svg[data-v-58c03e35]{margin-right:.2em}.post .toc-wrap .toc-header .toc-close[data-v-58c03e35]{font-size:1.2rem;width:42px;height:42px;text-align:center;line-height:42px;border-radius:.3em;color:var(--minor);background-color:var(--bg-major);transition:.4s;cursor:pointer}.post .toc-wrap .toc-header .toc-close[data-v-58c03e35]:hover{color:var(--accent)}.post .toc-wrap[data-v-58c03e35] .toc ul{font-size:.9rem}.post .toc-wrap[data-v-58c03e35] .toc ul ul{font-size:.88rem;margin-left:1em}.post .toc-wrap[data-v-58c03e35] .toc ul ul ul{font-size:.86rem}.post .toc-wrap[data-v-58c03e35] .toc ul ul ul ul{font-size:.84rem}.post .toc-wrap[data-v-58c03e35] .toc ul ul ul ul ul{font-size:.82rem}.post .toc-wrap[data-v-58c03e35] .toc ul ul ul ul ul ul{font-size:.8rem}.post .toc-wrap[data-v-58c03e35] .toc a{display:block;color:var(--minor);transition:.4s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.post .toc-wrap[data-v-58c03e35] .toc a.active{color:var(--primary)}.post .toc-wrap[data-v-58c03e35] .toc a:hover{color:var(--accent)}.post .post-header[data-v-58c03e35]{position:relative;width:100%}.post .post-header .page-control[data-v-58c03e35]{display:none;opacity:0;position:absolute;top:1.2em;justify-content:space-between;padding:0 1em;width:100%;z-index:1}.post .post-header .page-control .show-toc[data-v-58c03e35],.post .post-header .page-control .back[data-v-58c03e35]{font-size:1.4rem;width:42px;height:42px;text-align:center;line-height:42px;border-radius:.3em;color:#000;background-color:#f3f5f780;border:1px solid #e4e7ed;transition:.4s;cursor:pointer}.post .post-header .post-cover[data-v-58c03e35]{width:100%;aspect-ratio:16/10;background-color:var(--bg-thin);border-top-left-radius:2em;border-top-right-radius:2em;overflow:hidden}.post .post-header .post-cover img[data-v-58c03e35]{width:100%;height:100%;object-fit:cover}.post .post-body[data-v-58c03e35]{position:relative;width:100%;margin-top:-3em;padding:2em;background-color:var(--bg-thin);border-radius:2em;color:var(--major)}.post .post-body .post-info[data-v-58c03e35]{display:flex;justify-content:space-between;margin-bottom:2em}.post .post-body .post-info .title-wrap[data-v-58c03e35]{flex:1;display:flex;flex-direction:column;gap:.2em}.post .post-body .post-info .title-wrap .cate-wrap[data-v-58c03e35]{margin-bottom:.6em}.post .post-body .post-info .title-wrap .cate-wrap .cate-text[data-v-58c03e35]{font-size:.8rem;padding:.3em .6em;border-radius:.3em;color:var(--weak);background:var(--bg-major)}.post .post-body .post-info .title-wrap .cate-wrap .cate-link[data-v-58c03e35]{font-size:.8rem;padding:.3em .6em;border-radius:.3em;color:var(--primary);background:rgba(var(--primary-rgb),.1);transition:.4s}.post .post-body .post-info .title-wrap .cate-wrap .cate-link[data-v-58c03e35]:hover{color:var(--accent)}.post .post-body .post-info .title-wrap .post-title[data-v-58c03e35]{font-size:2rem;font-weight:700;line-height:1.4;color:var(--accent);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.post .post-body .post-info .tags-wrap[data-v-58c03e35]{display:flex;align-items:center;gap:.4em}.post .post-body .post-info .tags-wrap .author[data-v-58c03e35]{display:flex;gap:.4em;align-items:center;margin-right:1em}.post .post-body .post-info .tags-wrap .author .author-avatar[data-v-58c03e35]{width:2em;height:2em;border-radius:50%;background-color:var(--bg-major);overflow:hidden}.post .post-body .post-info .tags-wrap .author .author-avatar img[data-v-58c03e35]{width:100%;height:100%;object-fit:cover;transition:transform .4s ease-in-out}.post .post-body .post-info .tags-wrap .author .text .author-name[data-v-58c03e35]{font-size:.9rem;color:var(--major)}.post .post-body .post-info .tags-wrap .author .text .meta[data-v-58c03e35]{font-size:.6rem;color:var(--weak)}.post .post-body .post-info .tags-wrap .author .text .meta .time svg[data-v-58c03e35],.post .post-body .post-info .tags-wrap .author .text .meta .hot svg[data-v-58c03e35]{width:1.2em;height:1.2em;padding:.1em;margin-right:.2em;border-radius:50%;fill:var(--weak);background:var(--thin)}.post .post-body .post-info .tags-wrap .author .text .meta .hot[data-v-58c03e35]{margin-left:1.2em}.post .post-body .post-info .tags-wrap .tags[data-v-58c03e35]{display:flex;align-items:center}.post .post-body .post-info .tags-wrap .tags svg[data-v-58c03e35]{width:1.2em;height:1.2em;fill:var(--weak);padding:.1em;border-radius:50%;background:var(--thin);margin-right:.5em}.post .post-body .post-info .tags-wrap .tags span[data-v-58c03e35]{margin-right:.5em;padding:.2em .5em;border-radius:.5em;background-color:var(--bg-major);font-size:.8rem;color:var(--weak);transition:.4s}.post .post-body .post-text .post-title[data-v-58c03e35]{font-size:1.1rem;font-weight:700;line-height:1.4;color:var(--accent);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.post .post-body .post-text .post-content[data-v-58c03e35]{font-size:1rem;line-height:1.6;color:var(--major);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}.post .post-footer[data-v-58c03e35]{margin-top:2em}.post .post-footer .related-posts[data-v-58c03e35]{width:100%;max-width:876px}.post .post-footer .related-posts>a[data-v-58c03e35]{width:calc(50% - .5em)}.post .post-footer .related-posts>a[data-v-58c03e35]:nth-child(2n){margin-left:1em}@media screen and (max-width: 1460px){.post .toc-wrap[data-v-58c03e35]{display:none}}@media screen and (max-width: 876px){.post[data-v-58c03e35]{padding-left:9px}}@media screen and (max-width: 576px){.post .toc-wrap[data-v-58c03e35]{left:unset;right:9px;display:0;opacity:0;transform:translate(100%);transition:.3s cubic-bezier(var(--naturally))}.post .toc-wrap.show[data-v-58c03e35]{display:block;opacity:1;transform:translate(0)}.post .post-header .page-control[data-v-58c03e35]{display:flex;opacity:1}.post .post-body[data-v-58c03e35]{padding:2em 1em}.post .post-body .post-info[data-v-58c03e35]{flex-direction:column}.post .post-body .post-info .title-wrap .post-title[data-v-58c03e35]{font-size:1.6rem}.post .post-body .post-info .tags-wrap[data-v-58c03e35]{margin-top:.4em;justify-content:space-between}.post .post-body .post-info .tags-wrap .author[data-v-58c03e35]{align-items:center}.post .post-footer .related-posts>a[data-v-58c03e35]{width:100%}.post .post-footer .related-posts>a[data-v-58c03e35]:nth-child(2n){margin-top:.4em;margin-left:0}} diff --git a/css/index-18473960.css b/css/index-18473960.css new file mode 100644 index 0000000..a2254ad --- /dev/null +++ b/css/index-18473960.css @@ -0,0 +1 @@ +.about-wrap[data-v-7bc2fc8b]{margin:4em auto 0;width:100%;max-width:876px}.about-wrap .about[data-v-7bc2fc8b]{position:relative;width:100%;padding:2rem;background-color:var(--bg-thin);border-radius:2em}.about-wrap .about .like[data-v-7bc2fc8b]{display:flex;justify-content:space-between;align-items:center;margin-top:2em;padding:1em;background-color:var(--bg-weak);border-radius:1em}.about-wrap .about .like .like-img[data-v-7bc2fc8b]{height:200px}.about-wrap .about .like .like-img img[data-v-7bc2fc8b]{height:100%}.about-wrap .about .like .info[data-v-7bc2fc8b]{display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center}.about-wrap .about .like h2[data-v-7bc2fc8b]{margin-bottom:.3em;font-size:1.4rem}.about-wrap .about .like .like-btn[data-v-7bc2fc8b]{position:relative;margin-top:.5em;width:120%;font-size:2rem;cursor:pointer}.about-wrap .about .like .like-btn svg[data-v-7bc2fc8b]{transition:.3s}.about-wrap .about .like .like-btn:hover svg[data-v-7bc2fc8b]{transform:scale(1.2)}.about-wrap .about .like .like-btn[data-v-7bc2fc8b]:before{content:"";position:absolute;top:20px;left:50%;transform:translate(-50%);width:0;height:0;border:1rem solid transparent;border-bottom-color:#fdd7b8}.about-wrap .about .like .like-btn[data-v-7bc2fc8b]:after{content:attr(data-text);position:absolute;top:100%;left:50%;transform:translate(-50%);margin-top:1em;padding:.2em 1em;border-radius:5px;font-size:.76rem;color:#653014;background:linear-gradient(135deg,#FFEED5 0%,#FDCAAE 100%)}.about-wrap .about .like .alipay-qr[data-v-7bc2fc8b]{height:200px;border-radius:.8em;overflow:hidden}.about-wrap .about .like .alipay-qr img[data-v-7bc2fc8b]{height:100%}@media screen and (max-width: 768px){.about-wrap .about .like[data-v-7bc2fc8b]{flex-direction:column;gap:1em}.about-wrap .about .like .like-img[data-v-7bc2fc8b]{height:100px}.about-wrap .about .like .alipay-qr[data-v-7bc2fc8b]{margin-top:2.2em;width:100%;height:auto}.about-wrap .about .like .alipay-qr img[data-v-7bc2fc8b]{width:100%;height:auto}}.about-wrap .about .markdown[data-v-7bc2fc8b]{min-height:200px}.about-wrap .about .markdown[data-v-7bc2fc8b] svg{width:1.2em;height:1.2em;vertical-align:-5px}.about-wrap .about section[data-v-7bc2fc8b]:not(:last-child){margin-bottom:2em}.about-wrap .about section p[data-v-7bc2fc8b]:not(:last-child){margin-bottom:.4em}.about-wrap .about section p.strong[data-v-7bc2fc8b]{position:relative;padding-left:.6em;font-size:1.2rem;font-weight:700}.about-wrap .about section p.strong[data-v-7bc2fc8b]:before{content:"";position:absolute;top:50%;transform:translateY(-50%);left:0;width:4px;height:1em;border-radius:4px;background-color:var(--accent)}.about-wrap .about section .content[data-v-7bc2fc8b]{display:flex;flex-wrap:wrap;gap:.8em;margin-top:1em;margin-bottom:1em;font-size:1rem;color:var(--accent)}.about-wrap .about section .content li[data-v-7bc2fc8b]{width:calc(33.3333333333% - 8.6px)}.about-wrap .about section .content li .info[data-v-7bc2fc8b]{display:flex;align-items:center;width:100%;max-height:86px;padding:1em;background-color:var(--bg-weak);border-radius:.5em;overflow:hidden;transition:.4s ease}.about-wrap .about section .content li .info .avatar[data-v-7bc2fc8b]{flex-shrink:0;width:56px;height:56px;border-radius:50%;overflow:hidden;transition:.3s ease}.about-wrap .about section .content li .info .avatar img[data-v-7bc2fc8b]{width:100%;height:100%;object-fit:cover}.about-wrap .about section .content li .info .text[data-v-7bc2fc8b]{flex:1;width:calc(100% - 56px - 1em);margin-left:1em}.about-wrap .about section .content li .info .text .name[data-v-7bc2fc8b]{margin-bottom:.2em;font-size:1rem;font-weight:700;color:var(--accent);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:.4s ease}.about-wrap .about section .content li .info .text .desc[data-v-7bc2fc8b]{font-size:.8rem;line-height:1.3;color:var(--minor);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:.4s ease;transition-delay:.08s}.about-wrap .about section .content li .info:hover .text[data-v-7bc2fc8b]{width:100%}.about-wrap .about section .content li .info:hover .text .name[data-v-7bc2fc8b]{color:var(--primary)}.about-wrap .about section .content li .info:hover .text .name[data-v-7bc2fc8b],.about-wrap .about section .content li .info:hover .text .desc[data-v-7bc2fc8b]{transform:translate(-70px);width:100%}.about-wrap .about section .content li .info:hover .avatar[data-v-7bc2fc8b]{opacity:0;transform:translate(-70px,-70px)}.about-wrap .about section .not-added[data-v-7bc2fc8b]{display:flex;align-items:center;flex-wrap:wrap;gap:.8em;margin-top:.8em;margin-bottom:1em}.about-wrap .about section .not-added li[data-v-7bc2fc8b]{padding:.4em 1em;background-color:var(--bg-weak);border-radius:.5em}.about-wrap .about section .not-added li .name[data-v-7bc2fc8b]{font-size:.8rem}.about-wrap .about h2[data-v-7bc2fc8b]{margin-bottom:.8em;font-size:1.2rem;line-height:1.4;font-weight:700;color:var(--accent)}@media screen and (max-width: 876px){.about-wrap[data-v-7bc2fc8b]{padding-left:9px}.about-wrap .about section .content li[data-v-7bc2fc8b]{width:calc(50% - 6.4px)}}@media screen and (max-width: 576px){.about-wrap .about section .content li[data-v-7bc2fc8b]{width:100%}} diff --git a/css/index-4383e72f.css b/css/index-4383e72f.css new file mode 100644 index 0000000..a3a53db --- /dev/null +++ b/css/index-4383e72f.css @@ -0,0 +1 @@ +.idea-wrap[data-v-e2bf1bc5]{display:inline-flex;justify-content:start;align-items:start;width:100%}.idea-wrap .avatar[data-v-e2bf1bc5]{flex-shrink:0;width:2.5em;height:2.5em;border-radius:4px;overflow:hidden;margin-right:.5em}.idea-wrap .avatar img[data-v-e2bf1bc5]{width:100%;height:100%;object-fit:cover}.idea-wrap .idea[data-v-e2bf1bc5]{width:100%}.idea-wrap .idea .author[data-v-e2bf1bc5]{margin-bottom:.5em;font-size:1.02rem;color:var(--thin)}.idea-wrap .idea .content[data-v-e2bf1bc5]{width:100%;margin-bottom:.3em;padding:1em;border-radius:8px;color:var(--major);background-color:var(--bg-weak)}.idea-wrap .idea .content .markdown[data-v-e2bf1bc5]{width:100%}.idea-wrap .idea .content .markdown[data-v-e2bf1bc5] h1:first-child,.idea-wrap .idea .content .markdown[data-v-e2bf1bc5] h2:first-child,.idea-wrap .idea .content .markdown[data-v-e2bf1bc5] p:first-child,.idea-wrap .idea .content .markdown[data-v-e2bf1bc5] ul:first-child,.idea-wrap .idea .content .markdown[data-v-e2bf1bc5] ol:first-child,.idea-wrap .idea .content .markdown[data-v-e2bf1bc5] blockquote:first-child{margin-top:0}.idea-wrap .idea .content .markdown[data-v-e2bf1bc5] pre.hljs-code{max-width:100%}.idea-wrap .idea .content .markdown[data-v-e2bf1bc5] blockquote{background:var(--bg-minor)}.idea-wrap .idea .content .markdown[data-v-e2bf1bc5] img{max-width:100%}.idea-wrap .idea .publish-time[data-v-e2bf1bc5]{font-size:.8rem;color:var(--weak)}.from-bottom-enter-active[data-v-e18b3ac8],.from-bottom-leave-active[data-v-e18b3ac8]{transition:all .3s ease-in-out}.from-bottom-enter[data-v-e18b3ac8],.from-bottom-leave-to[data-v-e18b3ac8]{opacity:0;transform:translateY(20px)}.inspiration-wrap[data-v-e18b3ac8]{margin:4em auto 0;width:100%;max-width:876px}.inspiration-wrap .inspiration[data-v-e18b3ac8]{width:100%;padding:2rem;background-color:var(--bg-thin);border-radius:2em}.inspiration-wrap .inspiration h2[data-v-e18b3ac8]{margin-bottom:1.6em;font-size:1.6rem;line-height:1.4;font-weight:700;color:var(--accent)}.inspiration-wrap .inspiration .ideas-wrap[data-v-e18b3ac8]{position:relative;min-height:200px;width:100%}.inspiration-wrap .inspiration .ideas-wrap>div[data-v-e18b3ac8]{display:flex;flex-direction:column;gap:2em}.inspiration-wrap .inspiration .ideas-wrap .idea-item[data-v-e18b3ac8]{width:100%}@media screen and (max-width: 876px){.inspiration-wrap[data-v-e18b3ac8]{padding-left:9px}}@media screen and (max-width: 576px){.inspiration-wrap .inspiration[data-v-e18b3ac8]{padding:2rem 1rem}} diff --git a/css/index-4fda7501.css b/css/index-4fda7501.css new file mode 100644 index 0000000..746af38 --- /dev/null +++ b/css/index-4fda7501.css @@ -0,0 +1 @@ +.archive-card[data-v-cb711796]{display:flex;align-items:center}.archive-card .archive-cover[data-v-cb711796]{flex-shrink:0;aspect-ratio:16/10;background-color:var(--bg-thin);border-radius:4px;height:4em;margin-right:.6em;overflow:hidden}.archive-card .archive-cover img[data-v-cb711796]{width:100%;height:100%;object-fit:cover}.archive-card .archive-text[data-v-cb711796]{display:flex;flex-direction:column}.archive-card .archive-text h3[data-v-cb711796]{margin-bottom:.1em;font-size:1.1rem;color:var(--thin)}.archive-card .archive-text p[data-v-cb711796]{font-size:.9rem;color:var(--major);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.from-bottom-enter-active[data-v-02318466],.from-bottom-leave-active[data-v-02318466]{transition:all .3s ease-in-out}.from-bottom-enter[data-v-02318466],.from-bottom-leave-to[data-v-02318466]{opacity:0;transform:translateY(20px)}.archives-wrap[data-v-02318466]{margin:2em auto 0;width:100%;max-width:876px}.archives-wrap .archives[data-v-02318466]{width:100%;padding:2rem;background-color:var(--bg-thin);border-radius:2em}.archives-wrap .archives h2[data-v-02318466]{font-size:1.6rem;line-height:1.4;font-weight:700;color:var(--accent)}.archives-wrap .archives .tags[data-v-02318466]{margin-bottom:2em}.archives-wrap .archives .tags .tags-header[data-v-02318466]{display:flex;align-items:center;gap:.6em;margin-bottom:1em}.archives-wrap .archives .tags .tags-header .clear-all[data-v-02318466]{font-size:.8rem;color:#fff;background-color:var(--primary);padding:.2em 1em;border-radius:1em;cursor:pointer;transition:all .2s ease-in-out}.archives-wrap .archives .tags .tags-header .clear-all[data-v-02318466]:hover{opacity:.8}.archives-wrap .archives .tags .tags-body .tag-list[data-v-02318466]{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.6em}.archives-wrap .archives .tags .tags-body .tag-list .tag[data-v-02318466]{padding:.5em 1em;border-radius:1em;background-color:var(--bg-weak);color:var(--weak);font-size:.8rem;cursor:pointer;transition:all .2s ease-in-out;animation:drop-02318466 .3s ease-in-out forwards calc(var(--delay) * .01s)}@keyframes drop-02318466{0%{opacity:0;transform:translateY(calc(var(--delay) * -10px))}to{opacity:1;transform:translateY(0)}}.archives-wrap .archives .tags .tags-body .tag-list .tag[data-v-02318466]:hover{background-color:var(--bg-major);color:var(--major);transform:scale(1.1)}.archives-wrap .archives .tags .tags-body .tag-list .tag.active[data-v-02318466]{background-color:hsla(var(--tag-hsl),.1);color:var(--color)}.archives-wrap .archives .archives-list .archives-header[data-v-02318466]{display:flex;align-items:center;gap:.6em;margin-bottom:1em}.archives-wrap .archives .archives-list .archives-header .edit[data-v-02318466]{display:none;overflow:0;justify-content:center;align-items:center;font-size:.8rem;color:#fff;background-color:var(--primary);padding:.5em 1em;border-radius:1em;cursor:pointer;transition:all .2s ease-in-out}.archives-wrap .archives .archives-list .archives-header .edit[data-v-02318466]:hover{opacity:.8}.archives-wrap .archives .archives-list .archives-header:hover .edit[data-v-02318466]{display:inline-flex}.archives-wrap .archives .archives-list .archives-body[data-v-02318466]{position:relative;min-height:92px}.archives-wrap .archives .archives-list .archives-body .archive-items[data-v-02318466]{margin-bottom:1em}.archives-wrap .archives .archives-list .archives-body .archive-items .archive-year[data-v-02318466]{font-size:1rem;color:var(--thin);margin-bottom:.5em}.archives-wrap .archives .archives-list .archives-body .archive-items .archive-item-list[data-v-02318466]{display:flex;flex-direction:column;gap:1em}@media screen and (max-width: 876px){.archives-wrap[data-v-02318466]{padding-left:9px}}@media screen and (max-width: 576px){.archives-wrap .archives[data-v-02318466]{padding:2rem 1rem}.archives-wrap .archives .archives-list .archives-header .edit[data-v-02318466]{display:inline-flex}} diff --git a/css/index-5ef251c2.css b/css/index-5ef251c2.css new file mode 100644 index 0000000..3d17b3d --- /dev/null +++ b/css/index-5ef251c2.css @@ -0,0 +1 @@ +.friend-wrap[data-v-0ee41bb0]{margin:4em auto 0;width:100%;max-width:876px}.friend-wrap .friend[data-v-0ee41bb0]{width:100%;padding:2rem;background-color:var(--bg-thin);border-radius:2em}.friend-wrap .friend section[data-v-0ee41bb0]:not(:last-child){margin-bottom:2em}.friend-wrap .friend section p[data-v-0ee41bb0]:not(:last-child){margin-bottom:.4em}.friend-wrap .friend section p.strong[data-v-0ee41bb0]{position:relative;padding-left:.6em;font-size:1.4rem;font-weight:700}.friend-wrap .friend section p.strong[data-v-0ee41bb0]:before{content:"";position:absolute;top:50%;transform:translateY(-50%);left:0;width:4px;height:1em;border-radius:4px;background-color:var(--accent)}.friend-wrap .friend section .content[data-v-0ee41bb0]{position:relative;display:flex;flex-wrap:wrap;gap:.8em;margin-top:1em;margin-bottom:1em;min-height:200px;font-size:1rem;color:var(--accent)}.friend-wrap .friend section .content li[data-v-0ee41bb0]{width:calc(33.3333333333% - 8.6px)}.friend-wrap .friend section .content li .info[data-v-0ee41bb0]{display:flex;align-items:center;width:100%;max-height:86px;padding:1em;background-color:var(--bg-weak);border-radius:.5em;overflow:hidden;transition:.4s ease}.friend-wrap .friend section .content li .info .avatar[data-v-0ee41bb0]{flex-shrink:0;width:56px;height:56px;border-radius:50%;overflow:hidden;transition:.3s ease}.friend-wrap .friend section .content li .info .avatar img[data-v-0ee41bb0]{width:100%;height:100%;object-fit:cover}.friend-wrap .friend section .content li .info .text[data-v-0ee41bb0]{flex:1;width:calc(100% - 56px - 1em);margin-left:1em}.friend-wrap .friend section .content li .info .text .name[data-v-0ee41bb0]{margin-bottom:.2em;font-size:1rem;font-weight:700;color:var(--accent);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:.4s ease}.friend-wrap .friend section .content li .info .text .desc[data-v-0ee41bb0]{font-size:.8rem;line-height:1.3;color:var(--minor);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;transition:.4s ease;transition-delay:.08s}.friend-wrap .friend section .content li .info:hover .text[data-v-0ee41bb0]{width:100%}.friend-wrap .friend section .content li .info:hover .text .name[data-v-0ee41bb0]{color:var(--primary)}.friend-wrap .friend section .content li .info:hover .text .name[data-v-0ee41bb0],.friend-wrap .friend section .content li .info:hover .text .desc[data-v-0ee41bb0]{transform:translate(-70px);width:100%}.friend-wrap .friend section .content li .info:hover .avatar[data-v-0ee41bb0]{opacity:0;transform:translate(-70px,-70px)}.friend-wrap .friend section .not-added[data-v-0ee41bb0]{display:flex;align-items:center;flex-wrap:wrap;gap:.8em;margin-top:.8em;margin-bottom:1em}.friend-wrap .friend section .not-added li[data-v-0ee41bb0]{padding:.4em 1em;background-color:var(--bg-weak);border-radius:.5em}.friend-wrap .friend section .not-added li .name[data-v-0ee41bb0]{font-size:.8rem}.friend-wrap .friend h2[data-v-0ee41bb0]{margin-bottom:.8em;font-size:1.6rem;line-height:1.4;font-weight:700;color:var(--accent)}@media screen and (max-width: 876px){.friend-wrap[data-v-0ee41bb0]{padding-left:9px}.friend-wrap .friend section .content li[data-v-0ee41bb0]{width:calc(50% - 6.4px)}}@media screen and (max-width: 576px){.friend-wrap .friend[data-v-0ee41bb0]{padding:2rem 1rem}.friend-wrap .friend section .content li[data-v-0ee41bb0]{width:100%}} diff --git a/css/index-915c157a.css b/css/index-915c157a.css new file mode 100644 index 0000000..8b8d955 --- /dev/null +++ b/css/index-915c157a.css @@ -0,0 +1 @@ +@charset "UTF-8";.loading[data-v-dae56789]{position:absolute;top:50%;left:50%;margin:0;width:50px;height:50px;z-index:2}.loading .loading-circle[data-v-dae56789]{width:50px;height:50px;animation:rotate-dae56789 2s linear infinite}.loading .loading-circle .path[data-v-dae56789]{stroke:var(--primary);stroke-linecap:round;animation:dash-dae56789 1.5s ease-in-out infinite}@keyframes rotate-dae56789{to{transform:rotate(360deg)}}@keyframes dash-dae56789{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{margin-top:1.4em;font-weight:700;color:var(--accent);line-height:1.4}.markdown h1{font-size:1.8rem}.markdown h2{font-size:1.6rem}.markdown h3{font-size:1.4rem}.markdown h4{font-size:1.3rem}.markdown h5{font-size:1.2rem}.markdown h6{font-size:1.1rem}.markdown hr{margin:10px auto;height:1px;border:none;text-align:center;background-image:linear-gradient(to right,rgba(var(--primary-rgb),0),rgba(var(--primary-rgb),.75),rgba(var(--primary-rgb),0))}.markdown p{margin-top:1em;line-height:1.8;text-align:justify;vertical-align:middle;word-break:break-all;line-break:strict}.markdown div{margin-top:1em}.markdown strong{font-weight:700}.markdown em{font-style:italic}.markdown mark{color:inherit;background:rgba(var(--warning-rgb),.4)}.markdown del{position:relative;color:rgba(var(--danger-rgb),.5)}.markdown del span{color:var(--minor)}.markdown kbd{display:inline-block;padding:.1em .6em;font-size:.8em;line-height:1;color:var(--accent);background:rgba(255,255,255,.1);border-radius:.3em;box-shadow:0 0 1px #0000004d}.markdown code{font-size:.8em;font-family:monospace,sans-serif;padding:.1em .6em;border-radius:.3em;word-break:break-all;line-break:anywhere;color:var(--danger);background:rgba(var(--danger-rgb),.2)}.markdown .hljs-code{position:relative;width:100%;margin-top:1em;padding:.5em;border-radius:.5em;font-size:1rem;background:#1E2127}.markdown .hljs-code .pre-header{display:flex;justify-content:space-between;margin:0;padding:.5em 1em;color:var(--weak)}.markdown .hljs-code .pre-header .lang-info{text-transform:uppercase}.markdown .hljs-code .pre-header .icon-copy{cursor:pointer;transition:.4s}.markdown .hljs-code .pre-header .icon-copy:hover{color:var(--thin)}.markdown pre code,.markdown code.hljs{position:relative;display:block;border-radius:.5em;font-size:1rem;color:#fff;background:#191C20}.markdown pre code,.markdown code.hljs{overflow:overlay}.markdown pre code::-webkit-resizer,.markdown pre code::-webkit-scrollbar-corner,.markdown pre code::-webkit-scroll-track,.markdown pre code::-webkit-scrollbar-button,.markdown pre code::-webkit-scrollbar-track-piece,.markdown code.hljs::-webkit-resizer,.markdown code.hljs::-webkit-scrollbar-corner,.markdown code.hljs::-webkit-scroll-track,.markdown code.hljs::-webkit-scrollbar-button,.markdown code.hljs::-webkit-scrollbar-track-piece{display:none}.markdown pre code::-webkit-scrollbar,.markdown code.hljs::-webkit-scrollbar{width:9px;height:9px;border-radius:9px;background-color:transparent}.markdown pre code::-webkit-scrollbar-thumb,.markdown code.hljs::-webkit-scrollbar-thumb{background-color:var(--weak);border-radius:6px;border:2px solid transparent;background-clip:padding-box}.markdown pre code::-webkit-scrollbar-thumb:hover,.markdown code.hljs::-webkit-scrollbar-thumb:hover{background-color:var(--minor)}.markdown blockquote{position:relative;margin-top:1em;padding:1.6em 1em;border-radius:.5em;background:var(--bg-weak);color:var(--weak);font-style:italic;line-height:1.5}.markdown blockquote p:nth-child(1){margin-top:0}.markdown blockquote:after{content:" ";position:absolute;top:0;left:0;width:.4em;height:100%;border-radius:.5em;background:var(--primary)}.markdown table{margin-top:1em;min-width:100%;border-collapse:collapse;border-spacing:0;border:1px solid var(--bg-major);border-radius:.5em;overflow-x:auto}.markdown table th,.markdown table td{padding:.5em .8em;border:1px solid var(--bg-major);border-radius:.5em}.markdown table th{border-radius:0;background:var(--bg-weak);color:var(--major)}.markdown img{display:inline-block;max-width:100%}.markdown .picture-wrap{margin-top:1.4em}.markdown .picture-wrap img{display:block;margin:0 auto;max-width:100%;border-radius:.5em}.markdown .picture-wrap figcaption{margin-top:.8em;font-size:.8rem;text-align:center;color:var(--weak)}.markdown ul ul{padding-left:1.4em}.markdown ul li{position:relative;margin-top:.4em;padding-left:1.4em;line-height:1.5}.markdown ul li:before{content:"";position:absolute;vertical-align:middle;left:0;top:.3em;width:.6em;height:.6em;background-color:var(--minor);border:3px var(--bg-thin) solid;border-radius:.8em;z-index:1}.markdown ul li:not(:last-child):after{content:"";position:absolute;left:calc(.3em + 2px);top:20px;height:100%;width:2px;background:var(--bg-major)}.markdown ul li #task-list-item-checkbox{display:none}.markdown ul li #task-list-item-checkbox+label:before{content:"";position:absolute;left:0;top:.3em;width:1em;height:1em;box-sizing:border-box;background:var(--bg-thin);border-radius:1em;border:2px solid var(--primary);z-index:2}.markdown ul li #task-list-item-checkbox:checked+label:before{border-width:.35em}.markdown ol{counter-reset:list}.markdown ol li{position:relative;margin-top:.4em;padding-left:1.4em;line-height:1.5}.markdown ol li:before{content:counter(list-item);box-sizing:content-box;position:absolute;vertical-align:middle;display:flex;justify-content:center;text-align:center;color:#fff;font-size:.8rem;padding:.1em;left:0;top:.3em;width:1em;height:1em;line-height:1.2em;background-color:var(--primary);border-radius:1em;z-index:1}.markdown ol li:not(:last-child):after{content:"";position:absolute;left:calc(.3em + 2px);top:20px;height:100%;width:2px;background:rgba(var(--primary-rgb),.1)}.markdown>ul,.markdown>ol{margin-top:1em}.markdown a{position:relative;color:var(--primary)}.markdown a:after{content:"";position:absolute;bottom:0;left:0;width:100%;height:1.5px;background-color:var(--primary);transform:scaleX(0);transform-origin:bottom right;transition:transform .3s ease-out}.markdown a:hover:after{transform-origin:bottom left;transform:scaleX(1)}.markdown a:hover:before{opacity:1;transform:scale(1) translateY(-100%)}.markdown a:before{content:"🔗 " attr(href);position:absolute;padding:0 4px;width:max-content;pointer-events:none;font-family:Fontello;font-size:.8em;border-radius:3px;background-color:var(--bg-thin);opacity:0;transform:scale(.7) translateY(-75%);transform-origin:left center;transition:all .3s ease 0s;box-shadow:0 0 10px #0000001a}:root[data-theme=dark] .markdown a:before{box-shadow:0 0 10px #88888880}.post-card[data-v-e4e44739]{position:relative;display:flex;flex-direction:column;gap:1em;width:100%;margin-bottom:1em;padding:1em 1em 3em;border-radius:1.6em;background-color:var(--bg-thin);font-size:.8rem;color:var(--minor);transition:.4s;cursor:pointer}.post-card .post-cover[data-v-e4e44739]{width:100%;aspect-ratio:16/10;border-radius:1em;background-color:var(--bg-major);background-size:cover;background-position:center;overflow:hidden}.post-card .post-cover img[data-v-e4e44739]{width:100%;height:100%;object-fit:cover;transition:transform .4s ease-in-out}.post-card .post-info[data-v-e4e44739]{display:flex;flex-direction:column;gap:1em}.post-card .post-info .post-meta[data-v-e4e44739],.post-card .post-info .post-meta .post-tags[data-v-e4e44739]{display:flex;gap:.4em}.post-card .post-info .post-meta .post-tags .post-tag[data-v-e4e44739]{padding:.2em .5em;border-radius:.5em;background-color:var(--bg-major);color:var(--weak);transition:.4s}.post-card .post-info .post-text .post-title[data-v-e4e44739]{font-size:1.1rem;font-weight:700;line-height:1.4;color:var(--accent);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.post-card .post-info .post-text[data-v-e4e44739] .post-summary{margin-top:.4em;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.post-card .post-info .post-text[data-v-e4e44739] .post-summary .markdown p,.post-card .post-info .post-text[data-v-e4e44739] .post-summary .markdown h1,.post-card .post-info .post-text[data-v-e4e44739] .post-summary .markdown h2,.post-card .post-info .post-text[data-v-e4e44739] .post-summary .markdown h3,.post-card .post-info .post-text[data-v-e4e44739] .post-summary .markdown blockquote,.post-card .post-info .post-text[data-v-e4e44739] .post-summary .markdown{margin-top:0}.post-card .post-info .post-meta-num[data-v-e4e44739]{position:absolute;bottom:1em;display:flex;gap:1em}.post-card .post-info .post-meta-num span[data-v-e4e44739]{vertical-align:middle}.post-card .post-info .post-meta-num span svg[data-v-e4e44739]{width:1.2em;height:1.2em;background:rgba(219,219,219,.3);border-radius:2em;vertical-align:text-bottom}.post-card[data-v-e4e44739]:hover{transform:translate3d(0,-.2em,0);box-shadow:0 0 10px #0000001a}.post-card:hover .post-cover img[data-v-e4e44739]{transform:scale(1.2)}:root[data-theme=dark] .post-card[data-v-e4e44739]:hover{box-shadow:0 0 10px #88888880}.pagination[data-v-8b3e61c1]{display:flex;flex-direction:column;align-items:center;justify-content:center;margin-top:40px;user-select:none;transition:.3s}.pagination p[data-v-8b3e61c1]{font-size:1em;color:var(--minor);margin-bottom:2em}.pagination .btn-wrap[data-v-8b3e61c1]{display:flex;gap:1em;justify-content:center;align-items:center}.pagination .btn-wrap .btn[data-v-8b3e61c1]{position:relative;font-size:1.3rem;width:50px;height:50px;border-radius:50%;background-color:var(--bg-thin);border:1px solid var(--thin);color:var(--minor);cursor:pointer;transition:.3s}.pagination .btn-wrap .btn i[data-v-8b3e61c1]{position:absolute;top:18px;left:20px;display:inline-block;border:solid var(--minor);border-width:0 2px 2px 0;padding:5px}.pagination .btn-wrap .btn .next[data-v-8b3e61c1]{left:17px;transform:rotate(-45deg);vertical-align:middle}.pagination .btn-wrap .btn .prev[data-v-8b3e61c1]{transform:rotate(135deg)}.pagination .btn-wrap .btn[data-v-8b3e61c1]:hover{background-color:var(--primary);color:#fff}.pagination .btn-wrap .btn:hover i[data-v-8b3e61c1]{border-color:#fff}.pagination .btn-wrap .btn.active[data-v-8b3e61c1]{border-color:var(--primary);color:var(--primary)}.pagination .btn-wrap .btn.active[data-v-8b3e61c1]:hover{background-color:var(--bg-thin)}.pagination .btn-wrap .btn[data-v-8b3e61c1]:disabled{cursor:not-allowed;background-color:var(--bg-major)}.pagination .btn-wrap .btn:disabled:hover i[data-v-8b3e61c1]{border-color:var(--minor)}@media screen and (max-width: 576px){.pagination[data-v-8b3e61c1]{transform:scale(.7)}}.from-bottom-enter-active[data-v-ec460bb4]{transition:all .3s ease}.from-bottom-enter[data-v-ec460bb4]{opacity:0;transform:translateY(30px)}.post-list .posts-wrap[data-v-ec460bb4]{position:relative;width:100%;min-height:200px;margin:1em auto 0}.post-list .posts-wrap .posts[data-v-ec460bb4]{width:100%;display:flex;gap:1em;flex-wrap:wrap}.post-list .posts-wrap .posts>a[data-v-ec460bb4]{margin:0;width:calc(33.3333333333% - 10.7px)}.post-list .posts-wrap .posts>a>div[data-v-ec460bb4]{width:100%;height:100%}@media screen and (min-width: 876px){.post-list .posts-wrap[data-v-ec460bb4]{max-width:876px}}@media screen and (max-width: 876px){.post-list .posts-wrap .posts[data-v-ec460bb4]{padding-left:9px}}@media screen and (max-width: 768px){.post-list .posts-wrap .posts[data-v-ec460bb4]{padding:0 calc(1em - 9px) 0 1em}.post-list .posts-wrap .posts>a[data-v-ec460bb4]{width:calc(50% - 8px)}}@media screen and (max-width: 576px){.post-list .posts-wrap .posts>a[data-v-ec460bb4]{width:100%}}.fade-enter-active[data-v-47c2075e],.fade-leave-active[data-v-47c2075e]{transform:translate(0);transition:.5s}.fade-enter[data-v-47c2075e],.fade-leave-to[data-v-47c2075e]{transform:translateY(1em);opacity:0}.home-page[data-v-47c2075e]{margin-top:1em}.home-page .categories-bar[data-v-47c2075e]{width:100%;max-width:876px;margin:0 auto;overflow-x:auto}.home-page .categories-bar[data-v-47c2075e]::-webkit-scrollbar{display:none}.home-page .categories-bar .categories[data-v-47c2075e]{display:flex;gap:1em;margin-left:1em;font-size:.9rem}.home-page .categories-bar .categories a[data-v-47c2075e]{flex-shrink:0;padding:.4em 1em;border-radius:3em;text-align:center;vertical-align:middle;color:var(--weak);cursor:pointer;transition:.4s;user-select:none}.home-page .categories-bar .categories a[data-v-47c2075e]:hover{background-color:var(--bg-major)}.home-page .categories-bar .categories a.router-link-exact-active[data-v-47c2075e]{color:#fff;background-color:var(--primary)}.home-page .categories-bar .categories a.router-link-exact-active[data-v-47c2075e]:hover{opacity:.8}.svg-icon{width:1em;height:1em;vertical-align:-.15em;color:inherit;fill:currentColor;overflow:hidden}.message{position:fixed;display:flex;align-items:center;gap:8px;top:16px;left:50%;transform:translate(-50%);padding:12px 16px;border-radius:4px;color:#fff;font-size:14px;text-align:center;z-index:9999}.message.info{background-color:#1890ff}.message.success{background-color:#52c41a}.message.warning{background-color:#faad14}.message.error{background-color:#f5222d}.message .content{display:flex;align-items:center;justify-content:center}.message .content .icon{margin-right:8px;font-size:16px}.message .close-btn{color:#fff;cursor:pointer;font-size:14px}.message-enter-active,.message-leave-active{transition:opacity .3s,transform .3s}.message-enter,.message-leave-to{opacity:0;transform:translateY(-50px)}.nav-bar[data-v-144d69ab]{position:fixed;top:0;display:flex;justify-content:space-between;align-items:center;width:100%;height:76px;background-color:var(--bg-thin);color:var(--accent);z-index:3;user-select:none}.nav-bar .site-title h1[data-v-144d69ab]{margin:0;font-size:24px;letter-spacing:4px;font-weight:700}.nav-bar .site-title h1 .title[data-v-144d69ab]{position:relative;display:inline-block;padding:.6em .8em;margin-left:10px;border-radius:.4em;text-decoration:none;color:var(--accent)}.nav-bar .site-title h1 .title[data-v-144d69ab]:after{content:"";position:absolute;right:6px;bottom:50%;transform:translateY(50%);width:.3em;height:.3em;background:var(--accent);border-radius:50%}.nav-bar .site-title h1:hover .title[data-v-144d69ab]{color:#fff;background-color:var(--primary)}.nav-bar .site-title h1:hover .title[data-v-144d69ab]:after{display:none}.nav-bar .site-title h1:hover .subtitle[data-v-144d69ab]{color:var(--primary)}.nav-bar .site-nav ul[data-v-144d69ab]{display:flex;margin:0;padding:0;list-style:none}.nav-bar .site-nav ul li[data-v-144d69ab]{margin:0 2px}.nav-bar .site-nav ul li a[data-v-144d69ab]{display:flex;align-items:center;color:var(--accent);padding:.5em 1em;border-radius:.4em;font-size:16px;text-decoration:none}.nav-bar .site-nav ul li a svg[data-v-144d69ab]{margin-right:5px}.nav-bar .site-nav ul li a.router-link-exact-active[data-v-144d69ab]{color:#fff;background-color:var(--primary)}.nav-bar .site-nav ul li a.router-link-exact-active svg[data-v-144d69ab]{color:#fff}.nav-bar .site-control[data-v-144d69ab]{display:flex;align-items:center;margin-right:20px}.nav-bar .site-control .change-theme[data-v-144d69ab]{position:relative;cursor:pointer}.nav-bar .site-control .change-theme svg[data-v-144d69ab]{position:absolute;right:0;top:0;font-size:2em;fill:var(--accent)}@media screen and (max-width: 1400px){.nav-bar .site-nav[data-v-144d69ab]{background:var(--bg-thin)}}@media screen and (max-width: 828px){.nav-bar .site-title[data-v-144d69ab]{margin-left:1em}.nav-bar .site-title h1[data-v-144d69ab]{display:flex;flex-direction:column;line-height:1;text-align:left}.nav-bar .site-title h1 .title[data-v-144d69ab]{padding:0;margin:0 0 .3em;font-size:20px}.nav-bar .site-title h1 .title[data-v-144d69ab]:after{display:none}.nav-bar .site-title h1 .subtitle[data-v-144d69ab]{font-size:14px}}@media screen and (max-width: 660px){.nav-bar .site-nav ul li[data-v-144d69ab]{margin:0}.nav-bar .site-nav ul li a[data-v-144d69ab]{font-size:.8rem}}@media screen and (max-width: 576px){.nav-bar[data-v-144d69ab]{padding:0}.nav-bar .site-control[data-v-144d69ab]{margin-right:1em}.nav-bar .site-nav[data-v-144d69ab]{position:fixed;width:100%;padding:0 1rem;bottom:0;z-index:3;box-shadow:0 0 10px #0000001a}:root[data-theme=dark] .nav-bar .site-nav[data-v-144d69ab]{box-shadow:0 0 10px #88888880}.nav-bar .site-nav ul[data-v-144d69ab]{--left-du: 0%;position:relative;width:100%;display:flex}.nav-bar .site-nav ul[data-v-144d69ab]:after{content:"";position:absolute;left:var(--left-du);margin-left:10%;transform:rotate(45deg);bottom:2.2em;width:1em;height:1.2em;border-radius:50%;background-color:var(--warning);z-index:-1;transition:left .3s Cubic-bezier(var(--naturally))}.nav-bar .site-nav ul li[data-v-144d69ab]{flex:1;margin:0;left:0}.nav-bar .site-nav ul li a[data-v-144d69ab]{display:flex;flex-direction:column;justify-content:center;align-items:center;padding:10px 0;font-size:12px;color:var(--accent);text-decoration:none}.nav-bar .site-nav ul li a svg[data-v-144d69ab]{font-size:1.6rem;margin-right:0}.nav-bar .site-nav ul li a.router-link-exact-active[data-v-144d69ab]{color:var(--primary);background:transparent}.nav-bar .site-nav ul li a.router-link-exact-active svg[data-v-144d69ab]{color:var(--primary)}}.change-theme[data-v-144d69ab]{display:flex;align-items:center;position:relative;-webkit-tap-highlight-color:transparent;font-size:.5rem}.theme__icon[data-v-144d69ab]{transition:transform .3s ease-in-out}.theme__icon[data-v-144d69ab],.theme__toggle[data-v-144d69ab]{z-index:1}.theme__icon[data-v-144d69ab],.theme__icon-part[data-v-144d69ab]{position:absolute}.theme__icon[data-v-144d69ab]{display:block;top:.75em;left:.75em;width:1.5em;height:1.5em}.theme__icon-part[data-v-144d69ab]{border-radius:50%;box-shadow:.4em -.4em 0 .5em #fff inset;top:calc(50% - .5em);left:calc(50% - .5em);width:1em;height:1em;transition:box-shadow .3 ease-in-out,opacity .3 ease-in-out,transform .3 ease-in-out;transform:scale(.5)}.theme__icon-part~.theme__icon-part[data-v-144d69ab]{background-color:#fff;border-radius:.05em;box-shadow:none;top:50%;left:calc(50% - .05em);transform:rotate(0) translateY(.5em);transform-origin:50% 0;width:.1em;height:.2em}.theme__icon-part[data-v-144d69ab]:nth-child(3){transform:rotate(45deg) translateY(.5em)}.theme__icon-part[data-v-144d69ab]:nth-child(4){transform:rotate(90deg) translateY(.5em)}.theme__icon-part[data-v-144d69ab]:nth-child(5){transform:rotate(135deg) translateY(.5em)}.theme__icon-part[data-v-144d69ab]:nth-child(6){transform:rotate(180deg) translateY(.5em)}.theme__icon-part[data-v-144d69ab]:nth-child(7){transform:rotate(225deg) translateY(.5em)}.theme__icon-part[data-v-144d69ab]:nth-child(8){transform:rotate(270deg) translateY(.5em)}.theme__icon-part[data-v-144d69ab]:nth-child(9){transform:rotate(315deg) translateY(.5em)}.theme__toggle-wrap[data-v-144d69ab]{position:relative}.theme__toggle-wrap[data-v-144d69ab]{background-color:hsla(var(--primary-h),calc(var(--primary-s) * 1%),calc(var(--primary-l) * 1%),.3);border-radius:25%/50%;box-shadow:0 0 0 .125em hsl(var(--primary-h),calc(var(--primary-s) * 1%),calc(var(--primary-l) * 1%));padding:.25em;width:6em;height:3em;-webkit-appearance:none;appearance:none;transition:background-color .3 ease-in-out,box-shadow .15s ease-in-out,transform .3 ease-in-out}.theme__toggle-wrap[data-v-144d69ab]:before{content:"";display:inline-block;background-color:hsl(var(--primary-h),calc(var(--primary-s) * 1%),calc(var(--primary-l) * 1%));border-radius:50%;width:2.5em;height:2.5em;transition:background-color .3s ease-in-out,transform .3s ease-in-out}:root[data-theme=dark] .theme__toggle-wrap[data-v-144d69ab]{background-color:rgba(var(--secondary-rgb),.3)}:root[data-theme=dark] .theme__toggle-wrap[data-v-144d69ab]:before,:root[data-theme=dark] .theme__toggle-wrap .theme__icon[data-v-144d69ab]{transform:translate(3em)}:root[data-theme=dark] .theme__toggle-wrap[data-v-144d69ab]:before{background-color:rgb(var(--secondary-rgb))}:root[data-theme=dark] .theme__toggle-wrap .theme__icon .theme__icon-part[data-v-144d69ab]:nth-child(1){box-shadow:.2em -.2em 0 .2em #fff inset;transform:scale(1)}:root[data-theme=dark] .theme__toggle-wrap .theme__icon .theme__icon-part~.theme__icon-part[data-v-144d69ab]{opacity:0}:root[data-theme=dark] .theme__toggle-wrap .theme__icon .theme__icon-part[data-v-144d69ab]:nth-child(2){transform:rotate(45deg) translateY(.8em)}:root[data-theme=dark] .theme__toggle-wrap .theme__icon .theme__icon-part[data-v-144d69ab]:nth-child(3){transform:rotate(90deg) translateY(.8em)}:root[data-theme=dark] .theme__toggle-wrap .theme__icon .theme__icon-part[data-v-144d69ab]:nth-child(4){transform:rotate(135deg) translateY(.8em)}:root[data-theme=dark] .theme__toggle-wrap .theme__icon .theme__icon-part[data-v-144d69ab]:nth-child(5){transform:rotate(180deg) translateY(.8em)}:root[data-theme=dark] .theme__toggle-wrap .theme__icon .theme__icon-part[data-v-144d69ab]:nth-child(6){transform:rotate(225deg) translateY(.8em)}:root[data-theme=dark] .theme__toggle-wrap .theme__icon .theme__icon-part[data-v-144d69ab]:nth-child(7){transform:rotate(270deg) translateY(.8em)}:root[data-theme=dark] .theme__toggle-wrap .theme__icon .theme__icon-part[data-v-144d69ab]:nth-child(8){transform:rotate(315deg) translateY(.8em)}:root[data-theme=dark] .theme__toggle-wrap .theme__icon .theme__icon-part[data-v-144d69ab]:nth-child(9){transform:rotate(360deg) translateY(.8em)}:root[data-theme=dark] .theme__toggle-wrap[data-v-144d69ab]{margin:0 .75em}:root[data-theme=dark] .theme__toggle-wrap[data-v-144d69ab]{box-shadow:0 0 0 .125em rgb(var(--secondary-rgb))}.banner[data-v-309099c3]{position:relative;width:100%;display:flex;justify-content:center;text-align:center;margin-top:100px}.banner[data-v-309099c3]:before{content:"";position:absolute;top:-16px;left:50%;transform:translate(150px);width:422px;height:301px;background:url(../png/quote-391fe357.png) 0 0 no-repeat;z-index:-1}.banner[data-v-309099c3]:after{content:"";position:absolute;top:18px;left:50%;transform:translate(-490px);width:324px;height:268px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAUQAAAEMCAYAAAC84c/HAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAleSURBVHgB7dsxctu6FgZgJDeFSi/BS8gSsjQtLUtweUuXt1TxChUp3sNkOEEwBEW9GxzA5PfNZOjIHvHXweERJMspAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAc3+vr9ZImIMdcGTK1+GWWHNE+pZNYFvj9/XovFzv/PwWpz1tmSoHqZl+yjM6xZEmBWhf+qBz6k+6Whc3H8uvyODJHdIa1GozI0TpG5djqhxn6ojyOzHGm3eLhd4itZ71SxDPgVo6oHdpyjq0dYlSO+rYRO5K1ekTv0PTnXD6nE1gWslzU8hj1DNjKEXn+euiUt0XuBOp1KGsSkaN8zGu1iLz49ec8TjEQ1y621m5pVI4UYO19qrWLMCpLPYCih9HWWkSvi/6cw2l2iFs7o8gLcCvHqAzRF19rVxi5Q6xfBo7KUWYpc5y1P0c7/EBs7UJGPPONfgbe2pFFXnwzZKiz1LflDKN2iKNrMfo6obNZfntWn7++bVSOEe8htnKMyNDKkoJs1SE6RytP4lhmWeSy4Uc22sgLb6YMZY6ZMpy5FgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB18Sifz+nq9vL9f72mwkTnyuevbRmSpc8xSjxlqMUuOGa6VSKcYiGvNtohc8FaOGTJE5tjKMEsOazImx2if08E9WuhH34/IMUOGPd+PEpHjI/TFnu9HZDiTww/EGexpuN5Nuff+Z8kxA7X45SxD89ADcZYhwPN6rslHW2/9GccOEU7MsP2dgciUzvbbzVHU+XeHHogWmzUfrS/0cRw7xNS/4WZo6L0ZzlCLvdTifA4/EB813SxNGZFDLWLPsccMa7LnHGcZ3qf5SxV/CdDOMEsOf6kyNsNMOQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP6wT+kEXl+vl7Xb39+v9yTHNBnOmkMt5vFXOrhlkV9e0uV+Tz/K4+XyLd1u33+kADnHWoafx29fInL8zPDtS6sWkTnyceSabNUiek3yUX/O4XM6sPIZ73ZL9/qYF7z1rPinc+RztTLUWXtZzrWVo7elFls5ImqxWMuQjxH1KIeh/pzDoQfiYlnU+rgsfM/FXu67vtDKDFEXX3muEbVY7MnRUzmIWseco3ct6sc8ojdm6c9ZHHog7tkRRS12K0v5dc8LcIZa7NmxLzkihlFrdxi1S6zPs3b+iMG8laH++ugOPRDLhWztRKIWeyvLcuz55nVrB7A2GHp7tDuMyLFVj+XYO8eeHWIKsqce6QROsUOsL/oRi7w1gKJelmztiiJqsgz8PbvU3r/Z3Noxl8eetnaIkT1anmNkPWZwih3io8brefG1hsCI3cAMO+YZdofleUbviOqd6Fo9evfn1nu6dogHkhe7fvYb9bJkawD0HsrZcv9bu5Hy53p5e7veWuePuujKx7i1I4pYk7Un6xFD6NHOcFm3ozv8b5mXhWztRCI+dFo2/tpuIKrZyhzl+SNrURq9JnWO8hhdi3IQRg7lrH6yPNuusHSKv1TJ1j7zNeIT+PVnvkZlqG8bmWOph1qMzTBTDgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgT/mUTuD19XrJx5eXdFlue3u73lKwnKPMcLul+/v79Z6CzZBDLX7PkI/6c7zDD8SvX68veWGXha6/jlrwnKM8f5kjqvnXGr7MEpVjqxZRazJbLdYynK0/Z/A5HVhrGOZj/n/+enl27p2jPP9y7iVHeVH0Ug6A8vGXmSJyLGtS3lavT+81Ke+/lSVqTcoM9XqcqT9nceiBmNUDsPxe2QC9lAOgzFIP6t5NV9ehlannBVi/NGzVo7d8nrXhU2Yp8/bMUf6/7om1n/nTZunPWRx2IO5Z6OUY0fiPdkWpo3IQbQ3FZVCkTuqLvTWQetfjUV/UeXto7crK2yIH88j+nMmhd4itiz7/P3JnsrUTKfNEvDzas1Psaa3eaxl61aJ+66A1kKNrsfUkMUt/phM49EDc+mXKiGbbGs7564g30B/VJHX26EkqcjeydfFH90XrCTtiOG+9goratc/isANxz4W/LHjPhtv6hU50sz3KMGJX1KpPryeH5X73DOXefVGv/4j1yOwQfznsQCwbf6vZe+/M9jZ9z4ZbHt+jDPnrnh+x2PsklTrbO5R7ynXeerlcft27P9eG4Mid+0inf8ncu/nrHcmIpq/Pn49rQzGiFo92p/kY8bm3rZ36clvUmrQGUGR/1k9IkU+UM/krHdjt9v3H5fItXS7pS/7387ZfjXe/px8R79v988/3/53z25dWjpgB8LMWW08Qf/99/U/qrF6TfO7y6+VnUkf5/ls5luOIWvy8bUx/LjnKOkT25yxO8ad7Wf3bxVF/krTkmCVD/v+Zc8zWF7PkGJkBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPiTPqWDe329Xl5e0mXte29v11sK8vXr9WXt9tst3d/fr/cUYJZatHJE1iJrrckMtYjOMUN/zuDQA7G1yKWIppshx9aFF5Uh+yi1iBgEH6U/zzQUP6eDyk2/5+f2NOW/sff+9+b9fz0aANksteidY08t9vzMv/GR+jPXond/zuKwA/GZhu612M/cb88L8JmL6uiN/0wteg6j3gN3j1n6cyaHHYjP6LXYH7GJemV+dtCeZUeyR6/BfJYh94xDDsTWxZTfC0mDbWWIHALRtWhdfKPXZMT5n+3PyIwzXCMjHXIgtt4Ari/KEYtfZqjPH/nGdfTuoFXr0buUrfWI1qpFZI3Ovms89UvmZfF7XQiP7neW5ptlV1DmGPFbzaj12PPYylqM6s8z7hYPOxCfaaheF98sH1V4VItyEPT6mEddi0c5ennm8UUNhEe1iOjPUesxm8MOxHKxtxa2d9Pvvf+enzebpRblY9zK0fuzd3seZ+/P3s1Wixk+ozqDQ79kfrSIER84zff/6AKMaLYZarEnR0Qt6jVZW58ZahGxQ52lP2dx+D/dy+q/TBj1yfs6x6hGKz/GMUstZsihFnP0JwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwIn9F2KFPdQkjKyyAAAAAElFTkSuQmCC) 0 0 no-repeat;z-index:-1}@media screen and (max-width: 576px){.banner[data-v-309099c3]:before{width:80px;height:60px;background-size:80px 60px;top:50%;transform:translate(120px,-40px)}.banner[data-v-309099c3]:after{width:80px;height:60px;background-size:80px 60px;top:50%;transform:translate(-190px,-50px)}}.banner .banner-content .banner-title[data-v-309099c3]{margin-top:100px}@media screen and (max-width: 576px){.banner .banner-content .banner-title[data-v-309099c3]{margin-top:2em}}.banner .banner-content .banner-title h2[data-v-309099c3]{font-size:2em;font-weight:700;color:var(--primary)}.banner .banner-content .banner-poetry[data-v-309099c3]{margin-top:20px}.banner .banner-content .banner-poetry p[data-v-309099c3]{font-size:.9em;line-height:2;color:var(--minor)}.search-wrap[data-v-2c7d1c13]{display:flex;position:relative;flex-direction:column;align-items:center;margin:40px auto 0;padding:32px;border-radius:20px;background-color:transparent;transition:transform .4s}.search-wrap .close-btn[data-v-2c7d1c13]{opacity:0;position:absolute;top:1em;right:2em;width:30px;height:30px;line-height:30px;text-align:center;border-radius:50%;background-color:var(--bg-major);cursor:pointer}.search-wrap .close-btn svg[data-v-2c7d1c13]{color:var(--primary)}.search-wrap .search-box[data-v-2c7d1c13]{position:relative;height:58px}.search-wrap .search-box .search-input[data-v-2c7d1c13]{box-sizing:border-box;outline:none;border:none;width:360px;height:58px;padding:15px 20px;border-radius:15px;background-color:var(--bg-major);color:var(--primary);caret-color:var(--primary);font-size:16px}.search-wrap .search-box .search-input[data-v-2c7d1c13]::placeholder{font-size:14px;color:var(--weak)}.search-wrap .search-box .search-btn[data-v-2c7d1c13]{position:absolute;right:10px;bottom:50%;transform:translateY(50%);width:60px;height:40px;line-height:40px;color:#f5f5f5;font-size:14px;letter-spacing:.2em;font-weight:700;background-color:var(--primary);text-align:center;border-radius:10px}.search-wrap .search-res[data-v-2c7d1c13]{opacity:0;background-color:var(--bg-thin);width:100%;margin-top:32px;border-radius:10px;transition:opacity 1s ease}.search-wrap .search-res .posts[data-v-2c7d1c13]{position:relative;min-height:298px}.search-wrap .search-res .items[data-v-2c7d1c13]{display:flex;flex-direction:column;line-height:1.5;gap:.4em;color:var(--major)}.search-wrap .search-res .items li[data-v-2c7d1c13]{cursor:pointer}.search-wrap .search-res .items li[data-v-2c7d1c13]:hover{color:var(--accent)}.search-wrap .search-res .items .item svg[data-v-2c7d1c13]{font-size:1.2rem;margin-right:.2em}.search-wrap .search-res p[data-v-2c7d1c13]{position:relative;margin-top:2em;text-align:center;font-size:.8rem;color:var(--minor)}.search-wrap .search-res p[data-v-2c7d1c13]:before{content:"";position:absolute;top:-.8em;left:50%;transform:translate(-50%);width:5em;height:1px;background-color:var(--thin)}.search-wrap.active[data-v-2c7d1c13]{position:fixed;left:0;right:0;top:50%;transform:translateY(-50%);max-width:650px;max-height:560px;background-color:var(--bg-thin);z-index:100}.search-wrap.active .close-btn[data-v-2c7d1c13],.search-wrap.active .search-res[data-v-2c7d1c13]{opacity:1}.search-wrap.active~.mask[data-v-2c7d1c13]{position:fixed;inset:0;background-color:var(--bg-mask);z-index:99}@media screen and (max-width: 576px){.search-wrap[data-v-2c7d1c13]{padding:2vw;margin-left:9px}.search-wrap .search-box[data-v-2c7d1c13],.search-wrap .search-box .search-input[data-v-2c7d1c13]{width:100%}.search-wrap.active[data-v-2c7d1c13]{margin:0;padding-top:2em;padding-bottom:2em;top:0;transform:translateY(0);border-top-left-radius:0;border-top-right-radius:0}.search-wrap.active .close-btn[data-v-2c7d1c13]{top:calc(2em + 14px);right:2vw}.search-wrap.active .search-box[data-v-2c7d1c13]{margin-right:calc(2vw + 30px);width:calc(100% - 2vw - 30px)}.search-wrap.active .search-box .search-input[data-v-2c7d1c13]{width:100%}.search-wrap.active .search-res[data-v-2c7d1c13]{margin-top:1em}}.slide-enter-active,.slide-leave-active{transition:all .3s ease}.slide-enter,.slide-leave-to{opacity:0;transform:translate(30px)}.comments{margin:2em auto 0;padding-left:9px;width:100%;max-width:876px}.comments .comments-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.comments .comments-header h2{color:var(--accent);font-size:1.6rem;font-weight:700;margin:0}.comments .comments-header h2 svg{font-size:1.1em;margin-right:.1em;color:var(--accent)}.comments .comments-header .comments-nav{display:flex;align-items:center;background:var(--bg-minor);overflow:hidden;border-radius:2em}.comments .comments-header .comments-nav li{font-size:.9rem;border-radius:2em;padding:.3em 1em;cursor:pointer}.comments .comments-header .comments-nav li.active{color:#fff;background-color:var(--primary)}.comments .comments-body{margin-top:1rem}.utterances,.utterances .utterances{max-width:100%}.utterances .utterances .utterances-frame{position:unset;width:100%;min-height:320px;border:0;border-radius:4px}.utterances .utterances .utterances-frame .timeline{position:relative}.utterances .utterances .utterances-frame .timeline .timeline-comment:nth-last-child(1){position:absolute;top:0}.copyright[data-v-958169a0]{position:absolute;bottom:0;width:100%;text-align:center;padding:1.2rem 0;font-size:14px;z-index:0}.copyright a[data-v-958169a0]{color:var(--minor);transition:.4s}.copyright a svg[data-v-958169a0]{fill:var(--minor);vertical-align:-2px}.copyright a[data-v-958169a0]:hover{color:var(--primary)}.copyright a:hover svg[data-v-958169a0]{fill:var(--primary)}.copyright a.travel[data-v-958169a0],.copyright a.github[data-v-958169a0],.copyright a.theme[data-v-958169a0]{display:inline-block;font-size:13px;margin-right:.4em;padding:.2em .8em;border-radius:.3em;background-color:var(--major);color:var(--bg-thin)}.copyright a.travel svg[data-v-958169a0],.copyright a.github svg[data-v-958169a0],.copyright a.theme svg[data-v-958169a0]{color:var(--bg-thin)}.copyright a.travel[data-v-958169a0]:hover,.copyright a.github[data-v-958169a0]:hover,.copyright a.theme[data-v-958169a0]:hover{background-color:var(--primary);color:var(--bg-thin)}.copyright a.travel:hover svg[data-v-958169a0],.copyright a.github:hover svg[data-v-958169a0],.copyright a.theme:hover svg[data-v-958169a0]{color:var(--bg-thin)}.copyright .recommend-site[data-v-958169a0]{margin-top:.4em}.copyright .beian .separate[data-v-958169a0]{color:var(--weak)}@media screen and (max-width: 576px){.copyright[data-v-958169a0]{margin-bottom:72px}}.back-to-top[data-v-4190a972]{position:fixed;right:.4em;bottom:1em;padding:.4em;border-radius:.5em;background-color:var(--bg-thin);box-shadow:0 0 10px #0000001a;font-size:1.4rem;cursor:pointer}:root[data-theme=dark] .back-to-top[data-v-4190a972]{box-shadow:0 0 10px #88888880}.back-to-top svg[data-v-4190a972]{color:var(--accent)}.back-to-top[data-v-4190a972]:hover{background-color:var(--bg-thin-hover)}@media screen and (max-width: 576px){.back-to-top[data-v-4190a972]{bottom:80px}}.fade-enter-active[data-v-4190a972],.fade-leave-active[data-v-4190a972]{transition:all .5s}.fade-enter[data-v-4190a972],.fade-leave-to[data-v-4190a972]{opacity:0;transform:translateY(80px)}#app[data-v-af4953f5]{position:relative}.main[data-v-af4953f5]{padding-bottom:180px}.slide-left-enter[data-v-af4953f5],.slide-right-leave-active[data-v-af4953f5]{opacity:0;transform:translate(30px);transition:all .3s ease}.slide-left-leave-active[data-v-af4953f5],.slide-right-enter[data-v-af4953f5]{opacity:0;transform:translate(-30px);transition:all .3s ease}:root{--primary-h: 218;--primary-s: 95;--primary-l: 46;--primary-rgb: 6, 88, 229;--primary: rgb(var(--primary-rgb));--secondary: #FA931E;--secondary-rgb: 250, 147, 30;--tertiary: #4B65AF;--tertiary-rgb: 75, 101, 175;--success: #009154;--success-rgb: 0, 145, 84;--danger: #f01f11;--danger-rgb: 255, 89, 120;--warning: #FEC900;--warning-rgb: 254, 201, 0;--info: #00C9F3;--info-rgb: 0, 201, 243;--white: #fff;--accent: hsl(var(--primary-h), 25%, 15%);--major: hsl(var(--primary-h), 12%, 35%);--minor: hsl(var(--primary-h), 8%, 50%);--weak: hsl(var(--primary-h), 6%, 65%);--thin: hsl(var(--primary-h), 4%, 80%);--bg-thin: var(--white);--bg-weak: hsl(var(--primary-h), 4%, 98%);--bg-major: hsl(var(--primary-h), 4%, 96%);--bg-minor: hsl(var(--primary-h), 5%, 90%);--bg-mask: rgba(0, 0, 0, .5);--font-hei: -apple-system, "Noto Sans", "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Source Han Sans CN", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif;--font-kai: Baskerville, Georgia, "Liberation Serif", "Kaiti SC", STKaiti, "AR PL UKai CN", "AR PL UKai HK", "AR PL UKai TW", "AR PL UKai TW MBE", "AR PL KaitiM GB", KaiTi, KaiTi_GB2312, DFKai-SB, "TW-Kai", serif;--font-song: Georgia, "Nimbus Roman No9 L", "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "Source Han Serif CN", STSong, "AR PL New Sung", "AR PL SungtiL GB", NSimSun, SimSun, "TW-Sung", "WenQuanYi Bitmap Song", "AR PL UMing CN", "AR PL UMing HK", "AR PL UMing TW", "AR PL UMing TW MBE", PMingLiU, MingLiU, serif;--font-fang-song: Baskerville, "Times New Roman", "Liberation Serif", STFangsong, FangSong, FangSong_GB2312, "CWTEX-F", serif;--fz-base: 16;--fz-xs: calc(var(--fz-base) - 2);--fz-sm: calc(var(--fz-base) - 1);--fz-md: calc(var(--fz-base) + 2);--fz-lg: calc(var(--fz-base) + 6);--fz-xl: calc(var(--fz-base) + 12);--fz-xxl: calc(var(--fz-base) + 18);--lh-single: 1.2em;--lh-paragraph: 1.6em;--gap-base: 8;--gap-xs: calc(var(--gap-base) * 2);--gap-sm: calc(var(--gap-base) * 3);--gap-md: calc(var(--gap-base) * 4);--gap-lg: calc(var(--gap-base) * 6);--gap-xl: calc(var(--gap-base) * 8);--gap-xxl: calc(var(--gap-base) * 10);--rounded-xs: 4;--rounded-sm: calc(var(--rounded-xs) + 4);--rounded-md: calc(var(--rounded-sm) + 4);--rounded-lg: calc(var(--rounded-md) + 4);--rounded-xl: calc(var(--rounded-lg) + 4);--rounded-xxl: calc(var(--rounded-xl) + 4);--xs: 0;--sm: 576px;--md: 768px;--lg: 992px;--xl: 1200px;--xxl: 1400px;--naturally: .48, .33, .24, .95}:root[data-theme=dark]{--primary-h: 218;--primary-s: 100;--primary-l: 65;--primary-rgb: 79, 144, 255;--primary: rgb(var(--primary-rgb));--secondary: #FA931E;--secondary-rgb: 250, 147, 30;--tertiary: #4B65AF;--tertiary-rgb: 75, 101, 175;--success: #009154;--success-rgb: 0, 145, 84;--danger: rgb(255, 89, 120);--danger-rgb: 255, 89, 120;--warning: #FEC900;--warning-rgb: 254, 201, 0;--info: #00C9F3;--info-rgb: 0, 201, 243;--accent: var(--white);--major: hsl(var(--primary-h), 4%, 90%);--minor: hsl(var(--primary-h), 4%, 80%);--weak: hsl(var(--primary-h), 5%, 72%);--thin: hsl(var(--primary-h), 6%, 65%);--bg-weak: hsl(var(--primary-h), 30%, 10%);--bg-minor: hsl(var(--primary-h), 20%, 15%);--bg-major: hsl(var(--primary-h), 18%, 20%);--bg-thin: hsl(var(--primary-h), 16%, 25%);--bg-mask: rgba(0, 0, 0, .8)}.variables-test{color:var(--primary);background-color:rgba(var(--primary-rgb),.1);border-width:1px;border-style:solid;border-color:hsl(calc(var(--primary-h)),calc(var(--primary-s) * 1%),calc((var(--primary-l) + 10) * 1%))}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td,figure{margin:0;padding:0}h1,h2,h3,h4,h5,h6{font-size:100%}ol,ul{list-style:none}address,caption,cite,code,dfn,em,strong,th,var{font-size:normal;font-weight:400}table{border-collapse:collapse;border-spacing:0}fieldset,img{border:0}caption,th{text-align:left}q:before,q:after{content:""}a{text-decoration:none}*{box-sizing:border-box}html{font-family:-apple-system,Noto Sans,Helvetica Neue,Helvetica,Nimbus Sans L,Arial,Liberation Sans,PingFang SC,Hiragino Sans GB,Noto Sans CJK SC,Source Han Sans SC,Source Han Sans CN,Microsoft YaHei,Wenquanyi Micro Hei,WenQuanYi Zen Hei,ST Heiti,SimHei,WenQuanYi Zen Hei Sharp,sans-serif;font-size:calc(var(--fz-base) * 1px);width:calc(100vw - 9px)}html{overflow:overlay}html::-webkit-resizer,html::-webkit-scrollbar-corner,html::-webkit-scroll-track,html::-webkit-scrollbar-button,html::-webkit-scrollbar-track-piece{display:none}html::-webkit-scrollbar{width:9px;height:9px;border-radius:9px;background-color:transparent}html::-webkit-scrollbar-thumb{background-color:var(--weak);border-radius:6px;border:2px solid transparent;background-clip:padding-box}html::-webkit-scrollbar-thumb:hover{background-color:var(--minor)}body{width:100%;min-height:100vh;color:var(--major);background:var(--bg-weak);transition:color .5s,background-color .5s;line-height:var(--lh-single);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden}html.modal-open{overflow:hidden;height:100%}html.modal-open body{overflow:hidden}#app{width:100%;height:100%;min-height:100vh;font-weight:400}a{text-decoration:none;color:var(--primary);transition:.4s}input,button{outline:none;border:none}@media (hover: hover){a:hover{color:hsla(var(--primary-h),calc(var(--primary-s) * 1%),calc(var(--primary-l) * 1%),.8)}}:root[data-theme=dark] img{filter:brightness(.8)}p,ul,ol,dl,table,blockquote,pre,form,hr{line-height:var(--lh-paragraph)}@media screen and (max-width: 576px){html::-webkit-scrollbar,body::-webkit-scrollbar{display:none}} diff --git a/css/vendor-46cd66a0.css b/css/vendor-46cd66a0.css new file mode 100644 index 0000000..2185892 --- /dev/null +++ b/css/vendor-46cd66a0.css @@ -0,0 +1 @@ +pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#23241f;color:#f8f8f2}.hljs-subst,.hljs-tag{color:#f8f8f2}.hljs-emphasis,.hljs-strong{color:#a8a8a2}.hljs-bullet,.hljs-link,.hljs-literal,.hljs-number,.hljs-quote,.hljs-regexp{color:#ae81ff}.hljs-code,.hljs-section,.hljs-selector-class,.hljs-title{color:#a6e22e}.hljs-strong{font-weight:700}.hljs-emphasis{font-style:italic}.hljs-attr,.hljs-keyword,.hljs-name,.hljs-selector-tag{color:#f92672}.hljs-attribute,.hljs-symbol{color:#66d9ef}.hljs-class .hljs-title,.hljs-params,.hljs-title.class_{color:#f8f8f2}.hljs-addition,.hljs-built_in,.hljs-selector-attr,.hljs-selector-id,.hljs-selector-pseudo,.hljs-string,.hljs-template-variable,.hljs-type,.hljs-variable{color:#e6db74}.hljs-comment,.hljs-deletion,.hljs-meta{color:#75715e} diff --git a/favicon.ico b/favicon.ico new file mode 100755 index 0000000000000000000000000000000000000000..df36fcfb72584e00488330b560ebcf34a41c64c2 GIT binary patch literal 4286 zcmds*O-Phc6o&64GDVCEQHxsW(p4>LW*W<827=Unuo8sGpRux(DN@jWP-e29Wl%wj zY84_aq9}^Am9-cWTD5GGEo#+5Fi2wX_P*bo+xO!)p*7B;iKlbFd(U~_d(U?#hLj56 zPhFkj-|A6~Qk#@g^#D^U0XT1cu=c-vu1+SElX9NR;kzAUV(q0|dl0|%h|dI$%VICy zJnu2^L*Te9JrJMGh%-P79CL0}dq92RGU6gI{v2~|)p}sG5x0U*z<8U;Ij*hB9z?ei z@g6Xq-pDoPl=MANPiR7%172VA%r)kevtV-_5H*QJKFmd;8yA$98zCxBZYXTNZ#QFk2(TX0;Y2dt&WitL#$96|gJY=3xX zpCoi|YNzgO3R`f@IiEeSmKrPSf#h#Qd<$%Ej^RIeeYfsxhPMOG`S`Pz8q``=511zm zAm)MX5AV^5xIWPyEu7u>qYs?pn$I4nL9J!=K=SGlKLXpE<5x+2cDTXq?brj?n6sp= zphe9;_JHf40^9~}9i08r{XM$7HB!`{Ys~TK0kx<}ZQng`UPvH*11|q7&l9?@FQz;8 zx!=3<4seY*%=OlbCbcae?5^V_}*K>Uo6ZWV8mTyE^B=DKy7-sdLYkR5Z?paTgK-zyIkKjIcpyO z{+uIt&YSa_$QnN_@t~L014dyK(fOOo+W*MIxbA6Ndgr=Y!f#Tokqv}n<7-9qfHkc3 z=>a|HWqcX8fzQCT=dqVbogRq!-S>H%yA{1w#2Pn;=e>JiEj7Hl;zdt-2f+j2%DeVD zsW0Ab)ZK@0cIW%W7z}H{&~yGhn~D;aiP4=;m-HCo`BEI+Kd6 z={Xwx{TKxD#iCLfl2vQGDitKtN>z|-AdCN|$jTFDg0m3O`WLD4_s#$S literal 0 HcmV?d00001 diff --git a/index.html b/index.html new file mode 100644 index 0000000..248e152 --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +wallleap | ルー・ワン
\ No newline at end of file diff --git a/js/index-19f2d1d0.js b/js/index-19f2d1d0.js new file mode 100644 index 0000000..11252e1 --- /dev/null +++ b/js/index-19f2d1d0.js @@ -0,0 +1 @@ +import{d as l}from"./vendor-2ac22ffe.js";import{n,L as h,h as v}from"./index-dc4f6294.js";const d={name:"ArchiveCard",props:{cover:{type:String,default:""},title:{type:String,default:""},createdAt:{type:String,default:""}},computed:{create(){return this.createdAt.slice(5,10)}}};var u=function(){var t=this,e=t._self._c;return e("div",{staticClass:"archive-card"},[e("figure",{staticClass:"archive-cover"},[e("img",{attrs:{src:t.cover||t.$config.defaultCover,alt:"cover"}})]),e("div",{staticClass:"archive-text"},[e("h3",[t._v(t._s(t.create))]),e("p",[t._v(t._s(t.title))])])])},g=[],_=n(d,u,g,!1,null,"cb711796",null,null);const f=_.exports;const m={name:"Archives",components:{ArchiveCard:f,Loading:h},data(){return{totalCount:0,archives:[],archiveMap:{},tags:[],isFilter:!1,filterCount:0,timer:null,loading:!0}},computed:{editLink(){let s="https://github.com/";return s+=`${this.$config.username}/${this.$config.repository}/issues`,s},filterText(){return this.filterCount===0?"该标签下暂时没有文章~":`该标签下有 ${this.filterCount} 篇文章~`}},created(){this.getArchiveCountFn(),this.getArchivesFn(),this.getTagsFn()},beforeUnmount(){clearTimeout(this.timer)},methods:{...l({getPostsCountAction:"github/getPostsCountAction",getPostsAction:"github/getPostsAction",getTagsAction:"github/getTagsAction"}),async getArchiveCountFn(){this.totalCount=await this.getPostsCountAction().catch(s=>{throw this.$message({content:"获取文章总数失败",type:"error"}),new Error(s)})},async getArchivesFn(){this.archives=this.archives.concat(await this.getPostsAction({page:1,pageSize:100}).catch(s=>{throw this.$message({content:"获取文章列表失败",type:"error"}),new Error(s)}).finally(()=>{this.loading=!1})),this.archiveMap=this.parseArchives(this.archives)},async getTagsFn(){this.tags=await this.getTagsAction().catch(s=>{throw this.$message({content:"获取标签列表失败",type:"error"}),new Error(s)}),this.tags.forEach((s,t)=>{s.index=t,s.hslColor=v(`#${s.color}}`)})},parseArchives(s){const t={};return s.forEach(e=>{const i=e.created_at.slice(0,4);t[i]||(t[i]=[]),t[i].push(e)}),t},parseArchivesByTag(s){const t={};return s.forEach(e=>{const i=e.created_at.slice(0,4);t[i]||(t[i]=[]),t[i].push(e)}),t},filterArchives(s){const t=s.target,e=this.tags||[];if(t.classList.contains("tag")){this.loading=!0;const i=Number(t.getAttribute("data-tag")),a=e.find(r=>r.id===i);if(a){const r=this.archives.filter(c=>c.tags.find(o=>o.id===a.id));t.parentNode.querySelectorAll(".tag").forEach(c=>{c.classList.remove("active")}),t.classList.add("active"),this.archiveMap=this.parseArchives(r),this.filterCount=r.length,this.isFilter=!0,this.timer=setTimeout(()=>{clearTimeout(this.timer),this.loading=!1},1e3)}}},clearAll(){this.$refs.tagList.querySelectorAll(".tag").forEach(s=>{s.classList.remove("active")}),this.archiveMap=this.parseArchives(this.archives),this.isFilter=!1}}};var p=function(){var t=this,e=t._self._c;return e("div",{staticClass:"archives-wrap"},[e("div",{staticClass:"archives"},[e("div",{staticClass:"tags"},[e("div",{staticClass:"tags-header"},[e("h2",[e("SvgIcon",{attrs:{name:"biaoqian"}}),t._v(" 标签")],1),t.isFilter?e("div",{staticClass:"clear-all",on:{click:t.clearAll}},[t._v(" 清除选中 ")]):t._e()]),e("div",{staticClass:"tags-body"},[e("ul",{ref:"tagList",staticClass:"tag-list",on:{click:t.filterArchives}},t._l(t.tags,function(i){return e("li",{key:i.id,staticClass:"tag",style:{"--color":`#${i.color}`,"--tag-hsl":i.hslColor,"--delay":`${i.index}`},attrs:{"data-tag":i.id}},[t._v(" "+t._s(i.name||"")+" ")])}),0)])]),e("div",{staticClass:"archives-list"},[e("div",{staticClass:"archives-header"},[t.isFilter?e("h2",[e("SvgIcon",{attrs:{name:"danju"}}),t._v(" "+t._s(t.filterText)+" ")],1):e("h2",[e("SvgIcon",{attrs:{name:"danju"}}),t._v(" 你已经写了 "+t._s(t.totalCount)+" 篇文章了,继续坚持哦~ "),e("a",{staticClass:"edit",attrs:{href:t.editLink,target:"_blank"}},[e("SvgIcon",{attrs:{name:"shuru"}})],1)],1)]),e("div",{staticClass:"archives-body"},[t.loading?e("Loading"):t._e(),e("transition",{attrs:{name:"from-bottom"}},[t.loading?t._e():e("div",t._l(Object.keys(t.archiveMap).reverse(),function(i){return e("div",{key:i,staticClass:"archive-items"},[e("div",{staticClass:"archive-year"},[t._v(" "+t._s(i)+" ")]),e("div",{staticClass:"archive-item-list"},t._l(t.archiveMap[i],function(a){return e("router-link",{key:a.id,attrs:{to:{name:"Post",params:{number:a.number}}}},[e("ArchiveCard",{attrs:{cover:a.cover,title:a.title,"created-at":a.created_at}})],1)}),1)])}),0)])],1)])])])},C=[],A=n(m,p,C,!1,null,"02318466",null,null);const $=A.exports;export{$ as default}; diff --git a/js/index-58442721.js b/js/index-58442721.js new file mode 100644 index 0000000..78cc05d --- /dev/null +++ b/js/index-58442721.js @@ -0,0 +1 @@ +import{d as c}from"./vendor-2ac22ffe.js";import{n as i,M as r,a as l,u as p}from"./index-dc4f6294.js";const h={name:"RelatedPost",props:{post:{type:Object,default:()=>({})}},computed:{postCategory(){return this.post.category&&this.post.category.title||"未分类"},showTagText(){return this.post.tags&&this.post.tags.length>0}}};var u=function(){var t=this,s=t._self._c;return s("router-link",{staticClass:"related-post",attrs:{to:{name:"Post",params:{number:t.post.number}}}},[s("figure",{staticClass:"post-cover"},[t.post.cover?s("img",{attrs:{src:t.post.cover,alt:"Cover"}}):s("img",{attrs:{src:t.$config.defaultCover,alt:"Cover"}})]),s("div",{staticClass:"post-info"},[s("div",{staticClass:"post-meta"},[s("span",{staticClass:"post-cate"},[t._v(t._s(t.postCategory))]),s("span",{staticClass:"post-tags"},[t.showTagText?[s("SvgIcon",{attrs:{name:"biaoqian"}}),t._l(t.post.tags,function(e){return s("span",{key:e.id,staticClass:"post-tag"},[t._v(t._s(e.name))])})]:t._e(),t.post.tags.length===0?s("span",{staticClass:"post-tag"},[t._v("暂无标签")]):t._e()],2)]),s("div",{staticClass:"post-text"},[s("h2",{staticClass:"post-title"},[t._v(" "+t._s(t.post.title)+" ")])])])])},g=[],d=i(h,u,g,!1,null,"a182e453",null,null);const v=d.exports;const m={name:"Post",components:{Markdown:r,RelatedPost:v},data(){return{post:{},relates:[],toc:"",currentLink:0,content:"",loading:!0}},computed:{postNumber(){var s,e;const t=window.location.href.match(/\/post\/(\d+)/)[1];return((e=(s=this.$route)==null?void 0:s.params)==null?void 0:e.number)||Number(t)},showTagText(){return this.post.tags&&this.post.tags.length>0}},watch:{$route(){this.getPostFn(),this.generateRelatesFn()}},created(){this.getPostFn(),this.generateRelatesFn()},mounted(){this.$nextTick(()=>{window.addEventListener("scroll",this.updateCurrentTocLink)})},methods:{...c({getPostsCountAction:"github/getPostsCountAction",getPostsAction:"github/getPostsAction",getPostAction:"github/getPostAction",increaseHotAction:"leancloud/increaseHotAction"}),async getPostsCountFn(){return await this.getPostsCountAction().catch(a=>{throw this.$message({content:"获取文章总数失败",type:"error"}),new Error(a)})},async getPostsFn(){const a=await this.getPostsCountFn().catch(t=>{throw new Error(t)});return await this.getPostsAction({page:1,pageSize:a}).catch(t=>{throw this.$message({content:"获取文章列表失败",type:"error"}),new Error(t)})},async getPostFn(){const a=new l;this.post=await this.getPostAction({number:this.postNumber}).catch(e=>{throw this.$message({content:"获取文章失败",type:"error"}),new Error(e)}).finally(()=>{this.loading=!1});const t=await this.increaseHotAction({post:this.post}).catch(e=>{throw this.$message({content:"增加文章热度失败",type:"error"}),new Error(e)});this.$set(this.post,"hot",t);const s=await a.parse(this.post.body).catch(e=>{throw this.$message({content:"解析文章失败",type:"error"}),new Error(e)});window.document.title=this.post.title,this.toc=s==null?void 0:s.toc,this.content=s==null?void 0:s.content},async generateRelatesFn(){const t=await this.getPostsFn().catch(s=>{throw this.$message({content:"获取文章列表失败",type:"error"}),new Error(s)});for(this.relates=[];;){const s=t.length,e=Math.floor(Math.random()*s),o=t[e],n=this.postNumber;if(!this.relates.includes(o)&&(o.number!==n&&this.relates.push(o),this.relates.length>=2))break}},handleClick(a){const t=document.querySelectorAll(".toc-link");if(a.target.classList.contains("toc-link")){t.forEach(n=>{n.classList.remove("active")});const s=a.target.getAttribute("href"),e=document.querySelector(s),o=100;if(e){const n=e.getBoundingClientRect().top+window.pageYOffset-o;window.scrollTo({top:n,behavior:"smooth"})}}},updateCurrentTocLink(){p(".toc-link")},backLastPage(){this.$router.back()},showToc(){this.$refs.tocWrap.classList.add("show")},hideToc(){this.$refs.tocWrap.classList.remove("show")}}};var _=function(){var e;var t=this,s=t._self._c;return s("article",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"post"},[s("section",{ref:"tocWrap",staticClass:"toc-wrap"},[s("div",{staticClass:"toc-header"},[s("div",{staticClass:"toc-title"},[s("SvgIcon",{attrs:{name:"toc"}}),s("span",[t._v("文章目录")])],1),s("div",{staticClass:"toc-close",on:{click:t.hideToc}},[s("SvgIcon",{attrs:{name:"close"}})],1)]),s("div",{staticClass:"toc",domProps:{innerHTML:t._s(t.toc)},on:{click:function(o){return o.preventDefault(),t.handleClick.apply(null,arguments)}}})]),s("section",{staticClass:"post-header"},[s("div",{staticClass:"page-control"},[s("div",{staticClass:"back",on:{click:t.backLastPage}},[s("SvgIcon",{attrs:{name:"back"}})],1),s("div",{staticClass:"show-toc",on:{click:t.showToc}},[s("SvgIcon",{attrs:{name:"toc"}})],1)]),s("figure",{staticClass:"post-cover"},[s("img",{attrs:{src:t.post.cover||t.$config.defaultCover,alt:"cover"}})])]),s("section",{staticClass:"post-body"},[s("div",{staticClass:"post-info"},[s("div",{staticClass:"title-wrap"},[s("div",{staticClass:"cate-wrap"},[t.post.category?[s("router-link",{staticClass:"cate-link",attrs:{to:{name:"Category",params:{category:(e=t.post.category)==null?void 0:e.title,number:t.post.category.number}}}},[t._v(" "+t._s(t.post.category.title)+" ")])]:s("span",{staticClass:"cate-text"},[t._v("未分类")])],2),s("h1",{staticClass:"post-title"},[t._v(" "+t._s(t.post.title)+" ")])]),s("div",{staticClass:"tags-wrap"},[s("div",{staticClass:"author"},[s("figure",{staticClass:"author-avatar"},[s("img",{attrs:{src:t.$config.avatar,alt:"头像"}})]),s("div",{staticClass:"text"},[s("p",{staticClass:"author-name"},[t._v(" "+t._s(t.$config.author)+" ")]),s("div",{staticClass:"meta"},[s("span",{staticClass:"time"},[s("SvgIcon",{attrs:{name:"shijian"}}),t._v(" "+t._s(t.post.created_by))],1),s("span",{staticClass:"hot"},[s("SvgIcon",{attrs:{name:"huore"}}),t._v(" "+t._s(t.post.hot))],1)])])]),s("div",{staticClass:"tags"},[s("SvgIcon",{attrs:{name:"biaoqian"}}),t.showTagText?t._l(t.post.tags,function(o){return s("span",{key:o.id,staticClass:"tag",style:{color:`#${o.color}`}},[t._v(" "+t._s(o.name)+" ")])}):s("span",[t._v("无标签")])],2)])]),s("div",{staticClass:"post-main"},[s("Markdown",{attrs:{content:t.content,parsed:!0}})],1)]),s("section",{staticClass:"post-footer"},[s("div",{staticClass:"related-posts"},t._l(t.relates,function(o){return s("RelatedPost",{key:o.id,attrs:{post:o}})}),1)])])},C=[],f=i(m,_,C,!1,null,"58c03e35",null,null);const b=f.exports;export{b as default}; diff --git a/js/index-60773d0d.js b/js/index-60773d0d.js new file mode 100644 index 0000000..ffc1707 --- /dev/null +++ b/js/index-60773d0d.js @@ -0,0 +1 @@ +import{d as s}from"./vendor-2ac22ffe.js";import{n as i,M as r}from"./index-dc4f6294.js";const o={name:"IdeaItem",components:{Markdown:r},props:{idea:{type:String,default:""},create:{type:String,default:""}}};var c=function(){var t=this,a=t._self._c;return a("div",{staticClass:"idea-wrap"},[a("figure",{staticClass:"avatar"},[a("img",{attrs:{src:t.$config.avatar,alt:"avatar"}})]),a("div",{staticClass:"idea"},[a("h3",{staticClass:"author"},[t._v(" "+t._s(t.$config.author)+" ")]),a("div",{staticClass:"content"},[a("Markdown",{attrs:{content:t.idea,"need-parsed":!0}})],1),a("div",{staticClass:"publish-time"},[t._v(" 发布于 "+t._s(t.create)+" ")])])])},d=[],_=i(o,c,d,!1,null,"e2bf1bc5",null,null);const l=_.exports;const p={name:"Inspiration",components:{IdeaItem:l},data(){return{ideas:[],loading:!0}},created(){this.getInspirationFn()},methods:{...s({getInspirationCountAction:"github/getInspirationCountAction",getInspirationAction:"github/getInspirationAction"}),async getInspirationCountFn(){return await this.getInspirationCountAction().catch(n=>{throw this.$message({content:"获取灵感总数失败",type:"error"}),new Error(n)})},async getInspirationFn(){const n=await this.getInspirationCountFn();this.ideas=await this.getInspirationAction({page:1,pageSize:n}).catch(t=>{throw this.$message({content:"获取灵感失败",type:"error"}),new Error(t)}).finally(()=>{this.loading=!1})}}};var u=function(){var t=this,a=t._self._c;return a("div",{staticClass:"inspiration-wrap"},[a("div",{staticClass:"inspiration"},[a("h2",[a("SvgIcon",{attrs:{name:"tongzhi"}}),t._v(" 絮絮叨叨")],1),a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"ideas-wrap"},[a("transition",{attrs:{name:"from-bottom"}},[t.loading?t._e():a("div",t._l(t.ideas,function(e){return a("div",{key:e.id,staticClass:"idea-item"},[a("IdeaItem",{attrs:{idea:e.body,create:e.created_at.slice(0,10)}})],1)}),0)])],1)])])},g=[],v=i(p,u,g,!1,null,"e18b3ac8",null,null);const h=v.exports;export{h as default}; diff --git a/js/index-a030c016.js b/js/index-a030c016.js new file mode 100644 index 0000000..d352177 --- /dev/null +++ b/js/index-a030c016.js @@ -0,0 +1,6 @@ +import{d as r}from"./vendor-2ac22ffe.js";import{M as i,n as o}from"./index-dc4f6294.js";const c={name:"Friend",components:{Markdown:i},data(){return{filterFriends:[],loseContact:[],notAdded:[],loading:!0}},computed:{friendInfo(){return`\`\`\`js +name: ${this.$config.name} +url: ${this.$config.url} +avatar: ${this.$config.avatar} +desc: ${this.$config.desc} +\`\`\``},friendLink(){let n="https://github.com/";return n+=`${this.$config.username}/${this.$config.friendsRepo}/issues`,n},showLoseContact(){return this.loseContact.length>0},showNotAdded(){return this.notAdded.length>0}},created(){this.getFriendsFn()},methods:{...r({getFriendsCountAction:"github/getFriendsCountAction",getFriendsAction:"github/getFriendsAction"}),parseFriends(n){n.forEach(s=>{const e=s.labels.map(a=>a.name);e.includes("未添加")?this.notAdded.push(s):e.includes("失联")?this.loseContact.push(s):this.filterFriends.push(s)})},async getFriendsCountFn(){return await this.getFriendsCountAction().catch(n=>{throw this.$message({content:"获取友链总数失败",type:"error"}),new Error(n)})},async getFriendsFn(){const n=await this.getFriendsCountFn().catch(t=>{throw this.$message({content:"获取友链总数失败",type:"error"}),new Error(t)}),s=await this.getFriendsAction({page:1,pageSize:n}).catch(t=>{throw this.$message({content:"获取友链失败",type:"error"}),new Error(t)}).finally(()=>{this.loading=!1});this.parseFriends(s)}}};var l=function(){var s=this,t=s._self._c;return t("div",{staticClass:"friend-wrap"},[t("div",{staticClass:"friend"},[t("section",[t("h2",[t("SvgIcon",{attrs:{name:"lianjie"}}),s._v(" 我的友链信息")],1),t("div",{staticClass:"info-wrap"},[t("p",[s._v("欢迎各位大佬交换友链 (づ ̄ 3 ̄)づ")]),t("p",[s._v("以下是我的友链信息,各位大佬可以在页面下按照这个格式留言,或者前往 "),t("a",{attrs:{href:s.friendLink}},[s._v("Friend")]),s._v(" 自行创建")]),t("Markdown",{attrs:{content:s.friendInfo,"need-parsed":!0}})],1)]),t("section",[t("h2",[t("SvgIcon",{attrs:{name:"zhinan"}}),s._v(" 小伙伴们")],1),t("p",[s._v("※ 以下友链友链随机排序,博主将不定期更新排序并过滤阵亡名单")]),t("p",[s._v("※ 为了页面视觉体验,头像将保存到博主自己的存储空间,如果有更新请即时联系博主修改")]),t("ul",{directives:[{name:"loading",rawName:"v-loading",value:s.loading,expression:"loading"}],staticClass:"content"},s._l(s.filterFriends,function(e){return t("li",{key:e.number},[t("a",{staticClass:"info",attrs:{href:e.url,rel:"noopener noreferrer",target:"_blank"}},[t("figure",{staticClass:"avatar"},[t("img",{attrs:{src:e.avatar,alt:"avatar"}})]),t("div",{staticClass:"text"},[t("h3",{staticClass:"name"},[s._v(s._s(e.name))]),t("p",{staticClass:"desc"},[s._v(s._s(e.desc))])])])])}),0)]),s.showLoseContact?t("section",[t("p",{staticClass:"strong"},[s._v(" 失联的小伙伴们 ")]),t("ul",{staticClass:"content"},s._l(s.loseContact,function(e){return t("li",{key:e.number},[t("a",{staticClass:"info",attrs:{href:e.url,rel:"noopener noreferrer",target:"_blank"}},[t("figure",{staticClass:"avatar"},[t("img",{attrs:{src:e.avatar,alt:"avatar"}})]),t("div",{staticClass:"text"},[t("h3",{staticClass:"name"},[s._v(s._s(e.name))]),t("p",{staticClass:"desc"},[s._v(s._s(e.desc))])])])])}),0),t("p",[s._v("请以上失联的小伙伴尽快恢复网站的正常访问,并且通知博主")])]):s._e(),s.showNotAdded?t("section",[t("p",{staticClass:"strong"},[s._v(" 未添加本站的小伙伴们 ")]),t("ul",{staticClass:"not-added"},s._l(s.notAdded,function(e){return t("li",{key:e.number},[t("h3",{staticClass:"name"},[s._v(" "+s._s(e.name)+" ")])])}),0),t("p",[s._v("如果需要本博客继续收录您的站点,请于您的站点添加本站后联系博主")])]):s._e()])])},d=[],u=o(c,l,d,!1,null,"0ee41bb0",null,null);const g=u.exports;export{g as default}; diff --git a/js/index-c487e0a5.js b/js/index-c487e0a5.js new file mode 100644 index 0000000..bc36b63 --- /dev/null +++ b/js/index-c487e0a5.js @@ -0,0 +1 @@ +import{n as a,M as o,a as r}from"./index-dc4f6294.js";import"./vendor-2ac22ffe.js";const c=""+new URL("../png/like-63b04684.png",import.meta.url).href;const l={name:"About",components:{Markdown:o},data(){return{about:"",isLiked:"notLiked",likeTimes:0,loading:!0}},created(){localStorage.getItem("isLiked")==="undefined"?(localStorage.setItem("isLiked","notLiked"),this.isLiked="notLiked"):this.isLiked=localStorage.getItem("isLiked"),this.getAboutFn()},mounted(){this.queryLikeFn()},methods:{async getAboutFn(){const i=await this.$store.dispatch("github/getAboutAction").catch(n=>{throw this.$message({content:"获取关于内容失败",type:"error"}),new Error(n)}).finally(()=>{this.loading=!1}),t=(i==null?void 0:i.body)||"",s=await new r().parse(t).catch(n=>{throw this.$message({content:"解析 markdown 失败",type:"error"}),new Error(n)});this.about=s==null?void 0:s.content,this.appendBusuanzi(s==null?void 0:s.content)},async queryLikeFn(){const i=await this.$store.dispatch("leancloud/queryLikeAction","getTimes").catch(t=>{throw this.$message({content:"获取点赞次数失败",type:"error"}),new Error(t)});i!=="undefined"&&(this.likeTimes=i)},likeClick(){if(this.isLiked==="isLiked"){this.$message({content:"您已经点过赞了哦~",type:"warning"});return}this.likeTimes=this.$store.dispatch("leancloud/queryLikeAction").catch(i=>{throw this.$message({content:"点赞失败",type:"error"}),new Error(i)}),this.isLiked="isLiked",localStorage.setItem("isLiked","isLiked"),this.$message({content:"谢谢您的点赞~",type:"success"})},appendBusuanzi(i){if(!i)return;if(i.includes("busuanzi")){const e=document.querySelector('script[src*="busuanzi"]');e&&e.remove();const s=document.createElement("script");s.src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js",document.body.appendChild(s)}}}};var u=function(){var t=this,e=t._self._c;return e("div",{staticClass:"about-wrap"},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"about"},[e("Markdown",{attrs:{content:t.about}}),e("div",{staticClass:"like"},[t._m(0),e("div",{staticClass:"info"},[e("h2",[t._v("喜欢就点赞 疼爱就打赏")]),e("p",[t._v("觉得博客不错的话,就点个赞吧")]),e("div",{staticClass:"like-btn",attrs:{"data-text":`已经有 ${t.likeTimes} 人点赞了~`},on:{click:t.likeClick}},[e("SvgIcon",{attrs:{name:"like"}})],1)]),e("figure",{staticClass:"alipay-qr"},[e("img",{attrs:{src:t.$config.alipay_qr,alt:"支付宝二维码"}})])])],1)])},d=[function(){var i=this,t=i._self._c;return t("figure",{staticClass:"like-img"},[t("img",{attrs:{src:c,alt:"like"}})])}],m=a(l,u,d,!1,null,"7bc2fc8b",null,null);const _=m.exports;export{_ as default}; diff --git a/js/index-dc4f6294.js b/js/index-dc4f6294.js new file mode 100644 index 0000000..a94bd28 --- /dev/null +++ b/js/index-dc4f6294.js @@ -0,0 +1,39 @@ +import{a as A,f as nt,A as _,V as h,b as U,c as at,M as ot,m as it,H as M,C as ct,d as W,e as B,g as lt}from"./vendor-2ac22ffe.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))r(n);new MutationObserver(n=>{for(const a of n)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function s(n){const a={};return n.integrity&&(a.integrity=n.integrity),n.referrerPolicy&&(a.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?a.credentials="include":n.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function r(n){if(n.ep)return;n.ep=!0;const a=s(n);fetch(n.href,a)}})();const p={title:"wallleap",subtitle:"ルー・ワン",description:"Luwang's blog",keywords:"Luwang, blog, wallleap",favicon:"/favicon.ico",favicon16:"/favicon.ico",favicon32:"/favicon.ico",createdTime:"2019-08-01",icp:"赣ICP备20000895号-1",icpLink:"//beian.miit.gov.cn/",beian:"",beianLink:"",alipay_qr:"//cdn.wallleap.cn/img/custom/donate/alipayQr.jpg",username:"wallleap",repository:"myblogs",friendsRepo:"friends",author:"Luwang",email:"luwang@oicode.cn",link:"//luwang.info",github:"//github.com/wallleap",name:"wallleap",url:"//myblog.wallleap.cn",avatar:"//gravatar.wallleap.cn/avatar/be1ccdcf025a92b98a92e331e1b3662a?size=256",desc:"Luwang's blog",pageSize:12,defaultCover:"//cdn.wallleap.cn/img/post/1.jpg",errorImg:"//cdn.wallleap.cn/img/pic/cover/image_processing20200524-7638-6itpxj.gif",utterances:{code:`