├── version.txt ├── assets ├── js │ ├── jquery_function.js │ ├── manifest.9c14e4c25ff8a4ffed18.js │ └── 3.deac70890ffb1825009b.js ├── .DS_Store ├── img │ ├── ba.jpg │ ├── log.jpg │ ├── miku.jpg │ ├── alipay.png │ ├── search.png │ ├── wechat.png │ ├── bg-clock.png │ ├── default.png │ ├── miku_img.jpg │ ├── minions.png │ ├── postchat.jpg │ ├── search-bg.png │ ├── textarea.png │ ├── thumbnail.jpg │ ├── textarea_2.png │ └── thumbnail2.jpg ├── css │ ├── iconfont.eot │ ├── styles_nav.css │ ├── prism.css │ ├── base-style.css │ ├── search-form.css │ ├── count-down.css │ ├── hexagons.css │ └── jquery.fancybox.min.css ├── fonts │ ├── proximanova.943bfb3.eot │ ├── proximanova.e82905b.ttf │ ├── element-icons.6f0a763.ttf │ ├── proximanova.3d5b0ad.woff │ ├── FiraCode-Regular.32d1e9f.eot │ ├── FiraCode-Regular.cb83346.ttf │ ├── FiraCode-Regular.2fe2d29.woff │ ├── fontawesome-webfont.674f50d.eot │ ├── fontawesome-webfont.b06871f.ttf │ ├── fontawesome-webfont.af7ae50.woff2 │ └── fontawesome-webfont.fee66e7.woff └── OwO │ ├── OwO.min.css │ ├── OwO.min.js │ └── OwO.json ├── .DS_Store ├── favicon.ico ├── screenshot.png ├── static ├── favicon.ico ├── images │ ├── kamuyi.jpg │ └── miku.jpg ├── fonts │ ├── proximanova.943bfb3.eot │ ├── proximanova.e82905b.ttf │ ├── element-icons.6f0a763.ttf │ ├── proximanova.3d5b0ad.woff │ ├── FiraCode-Regular.32d1e9f.eot │ ├── FiraCode-Regular.cb83346.ttf │ ├── FiraCode-Regular.2fe2d29.woff │ ├── fontawesome-webfont.674f50d.eot │ ├── fontawesome-webfont.b06871f.ttf │ ├── fontawesome-webfont.af7ae50.woff2 │ └── fontawesome-webfont.fee66e7.woff ├── js │ ├── 0.70dabc1c0009631e2a0e.js.gz │ ├── 1.bcea4c6d162aee194d2f.js.gz │ ├── 2.3cfdff1b7c1cae50046a.js.gz │ ├── app.bc036f9167871d39aecf.js.gz │ ├── vendor.e12dc8c9af1f7aa12436.js.gz │ ├── manifest.992b63bf2abbf3194771.js │ ├── 5.c7fc1283ec1fdfd0717e.js │ ├── 3.deac70890ffb1825009b.js │ ├── 7.cae543e622eab56f781f.js │ ├── 4.b530ea7d5ec4696df8e1.js │ ├── 6.881c66edb9204f71bb5d.js │ ├── manifest.992b63bf2abbf3194771.js.map │ ├── 5.c7fc1283ec1fdfd0717e.js.map │ ├── 7.cae543e622eab56f781f.js.map │ └── 3.deac70890ffb1825009b.js.map └── css │ └── app.c64eadfc8d3abfc9d85514dba4054813.css.gz ├── count-down ├── fonts │ ├── journal-webfont.eot │ ├── journal-webfont.ttf │ ├── journal-webfont.woff │ └── journal-webfont_162a16fe.eot └── js │ ├── jquery.custom.js │ ├── html5shiv.js │ ├── jquery.countdown.min.js │ └── bootstrap-tooltip.js ├── lib └── getQRCode.php ├── page-archives.php ├── README.md ├── page.php ├── index.php ├── archive.php ├── post.php ├── footer.php ├── comments.php └── header.php /version.txt: -------------------------------------------------------------------------------- 1 | 1.1.0 -------------------------------------------------------------------------------- /assets/js/jquery_function.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/.DS_Store -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/favicon.ico -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/screenshot.png -------------------------------------------------------------------------------- /assets/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/.DS_Store -------------------------------------------------------------------------------- /assets/img/ba.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/img/ba.jpg -------------------------------------------------------------------------------- /assets/img/log.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/img/log.jpg -------------------------------------------------------------------------------- /assets/img/miku.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/img/miku.jpg -------------------------------------------------------------------------------- /static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/favicon.ico -------------------------------------------------------------------------------- /assets/img/alipay.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/img/alipay.png -------------------------------------------------------------------------------- /assets/img/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/img/search.png -------------------------------------------------------------------------------- /assets/img/wechat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/img/wechat.png -------------------------------------------------------------------------------- /assets/css/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/css/iconfont.eot -------------------------------------------------------------------------------- /assets/img/bg-clock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/img/bg-clock.png -------------------------------------------------------------------------------- /assets/img/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/img/default.png -------------------------------------------------------------------------------- /assets/img/miku_img.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/img/miku_img.jpg -------------------------------------------------------------------------------- /assets/img/minions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/img/minions.png -------------------------------------------------------------------------------- /assets/img/postchat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/img/postchat.jpg -------------------------------------------------------------------------------- /assets/img/search-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/img/search-bg.png -------------------------------------------------------------------------------- /assets/img/textarea.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/img/textarea.png -------------------------------------------------------------------------------- /assets/img/thumbnail.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/img/thumbnail.jpg -------------------------------------------------------------------------------- /static/images/kamuyi.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/images/kamuyi.jpg -------------------------------------------------------------------------------- /static/images/miku.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/images/miku.jpg -------------------------------------------------------------------------------- /assets/img/textarea_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/img/textarea_2.png -------------------------------------------------------------------------------- /assets/img/thumbnail2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/img/thumbnail2.jpg -------------------------------------------------------------------------------- /assets/fonts/proximanova.943bfb3.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/fonts/proximanova.943bfb3.eot -------------------------------------------------------------------------------- /assets/fonts/proximanova.e82905b.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/fonts/proximanova.e82905b.ttf -------------------------------------------------------------------------------- /count-down/fonts/journal-webfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/count-down/fonts/journal-webfont.eot -------------------------------------------------------------------------------- /count-down/fonts/journal-webfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/count-down/fonts/journal-webfont.ttf -------------------------------------------------------------------------------- /static/fonts/proximanova.943bfb3.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/fonts/proximanova.943bfb3.eot -------------------------------------------------------------------------------- /static/fonts/proximanova.e82905b.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/fonts/proximanova.e82905b.ttf -------------------------------------------------------------------------------- /assets/fonts/element-icons.6f0a763.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/fonts/element-icons.6f0a763.ttf -------------------------------------------------------------------------------- /assets/fonts/proximanova.3d5b0ad.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/fonts/proximanova.3d5b0ad.woff -------------------------------------------------------------------------------- /count-down/fonts/journal-webfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/count-down/fonts/journal-webfont.woff -------------------------------------------------------------------------------- /static/fonts/element-icons.6f0a763.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/fonts/element-icons.6f0a763.ttf -------------------------------------------------------------------------------- /static/fonts/proximanova.3d5b0ad.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/fonts/proximanova.3d5b0ad.woff -------------------------------------------------------------------------------- /static/js/0.70dabc1c0009631e2a0e.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/js/0.70dabc1c0009631e2a0e.js.gz -------------------------------------------------------------------------------- /static/js/1.bcea4c6d162aee194d2f.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/js/1.bcea4c6d162aee194d2f.js.gz -------------------------------------------------------------------------------- /static/js/2.3cfdff1b7c1cae50046a.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/js/2.3cfdff1b7c1cae50046a.js.gz -------------------------------------------------------------------------------- /assets/fonts/FiraCode-Regular.32d1e9f.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/fonts/FiraCode-Regular.32d1e9f.eot -------------------------------------------------------------------------------- /assets/fonts/FiraCode-Regular.cb83346.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/fonts/FiraCode-Regular.cb83346.ttf -------------------------------------------------------------------------------- /static/fonts/FiraCode-Regular.32d1e9f.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/fonts/FiraCode-Regular.32d1e9f.eot -------------------------------------------------------------------------------- /static/fonts/FiraCode-Regular.cb83346.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/fonts/FiraCode-Regular.cb83346.ttf -------------------------------------------------------------------------------- /static/js/app.bc036f9167871d39aecf.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/js/app.bc036f9167871d39aecf.js.gz -------------------------------------------------------------------------------- /assets/fonts/FiraCode-Regular.2fe2d29.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/fonts/FiraCode-Regular.2fe2d29.woff -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.674f50d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/fonts/fontawesome-webfont.674f50d.eot -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.b06871f.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/fonts/fontawesome-webfont.b06871f.ttf -------------------------------------------------------------------------------- /static/fonts/FiraCode-Regular.2fe2d29.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/fonts/FiraCode-Regular.2fe2d29.woff -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.674f50d.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/fonts/fontawesome-webfont.674f50d.eot -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.b06871f.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/fonts/fontawesome-webfont.b06871f.ttf -------------------------------------------------------------------------------- /static/js/vendor.e12dc8c9af1f7aa12436.js.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/js/vendor.e12dc8c9af1f7aa12436.js.gz -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.af7ae50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/fonts/fontawesome-webfont.af7ae50.woff2 -------------------------------------------------------------------------------- /assets/fonts/fontawesome-webfont.fee66e7.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/assets/fonts/fontawesome-webfont.fee66e7.woff -------------------------------------------------------------------------------- /count-down/fonts/journal-webfont_162a16fe.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/count-down/fonts/journal-webfont_162a16fe.eot -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.af7ae50.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/fonts/fontawesome-webfont.af7ae50.woff2 -------------------------------------------------------------------------------- /static/fonts/fontawesome-webfont.fee66e7.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/fonts/fontawesome-webfont.fee66e7.woff -------------------------------------------------------------------------------- /static/css/app.c64eadfc8d3abfc9d85514dba4054813.css.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/H-rafael/Typecho-Theme-Simple/HEAD/static/css/app.c64eadfc8d3abfc9d85514dba4054813.css.gz -------------------------------------------------------------------------------- /lib/getQRCode.php: -------------------------------------------------------------------------------- 1 | window.location.href = '//' + window.location.hostname;"; 9 | } 10 | -------------------------------------------------------------------------------- /count-down/js/jquery.custom.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | 3 | /* Tooltip */ 4 | $('#social-icons li a').tooltip(); 5 | 6 | /* Counter */ 7 | var date_time = $('#date_time').val(); 8 | var finished = false; 9 | var toDate = new Date(date_time); // Counter end date/time. 10 | 11 | function callback(event) { 12 | $this = $(this); 13 | switch(event.type) { 14 | case "seconds": 15 | case "minutes": 16 | case "hours": 17 | case "days": 18 | case "weeks": 19 | case "daysLeft": 20 | $this.find('span#'+event.type).html(event.value); 21 | if(finished) { 22 | $this.fadeTo(0, 1); 23 | finished = false; 24 | } 25 | break; 26 | case "finished": 27 | $this.fadeTo('slow', .5); 28 | finished = true; 29 | break; 30 | } 31 | } 32 | 33 | $('div#countdown').countdown(toDate, callback); 34 | 35 | /* Google Map */ 36 | $('#subscribe').on('shown', function () { 37 | var gMap = $('#map_canvas').gmap({'center': '27.7166667,85.3166667', 'zoom': 8, 'disableDefaultUI': true, 'callback': function() { 38 | this.addMarker({'position': '27.7166667,85.3166667' }); 39 | this.addMarker({'position': '27.672887,85.430031' }); 40 | }}); 41 | }); 42 | 43 | }); -------------------------------------------------------------------------------- /assets/css/styles_nav.css: -------------------------------------------------------------------------------- 1 | 2 | #colorNav > ul{ 3 | width: 450px; /* Increase when adding more menu items */ 4 | margin:0 auto; 5 | } 6 | 7 | #colorNav > ul > li{ /* will style only the top level li */ 8 | list-style: none; 9 | box-shadow: 0 0 10px rgba(100, 100, 100, 0.2) inset,1px 1px 1px #CCC; 10 | display: inline-block; 11 | line-height: 1; 12 | margin: 1px; 13 | border-radius: 3px; 14 | position:relative; 15 | } 16 | 17 | #colorNav > ul > li > a{ 18 | color:inherit; 19 | text-decoration:none !important; 20 | font-size:24px; 21 | padding: 25px; 22 | } 23 | 24 | #colorNav li ul{ 25 | position:absolute; 26 | list-style:none; 27 | text-align:center; 28 | font:bold 12px 'Open Sans Condensed', sans-serif; 29 | -webkit-transition:max-height 0.4s linear; 30 | -moz-transition:max-height 0.4s linear; 31 | transition:max-height 0.4s linear; 32 | } 33 | 34 | #colorNav li ul li a{ 35 | padding:9px; 36 | text-decoration:none !important; 37 | display:block; 38 | } 39 | 40 | #colorNav li ul li:first-child{ 41 | border-radius:3px 3px 0 0; 42 | position:relative; 43 | } 44 | 45 | #colorNav li ul li:last-child{ 46 | border-bottom-left-radius:3px; 47 | border-bottom-right-radius:3px; 48 | } 49 | 50 | /* This will trigger the CSS */ 51 | /* transition animation on hover */ 52 | 53 | #colorNav li:hover ul{ 54 | max-height:200px; /* Increase when adding more dropdown items */ 55 | } 56 | -------------------------------------------------------------------------------- /assets/js/manifest.9c14e4c25ff8a4ffed18.js: -------------------------------------------------------------------------------- 1 | !function(e){function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var r=window.webpackJsonp;window.webpackJsonp=function(t,c,a){for(var f,i,u,d=0,s=[];dneed('header.php'); 10 | ?> 11 | 48 | 61 | need('footer.php'); ?> 62 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Typecho-Theme-Simple 2 | Typecho Theme Simple - 由心而发,简单的 3 | 4 | ## 使用方法 5 | [Simple](http://bl.qqexit.com/index.php/archives/3/) 6 | 7 | 8 | ## 安装 9 | 10 | 下载压缩包解压上传至/usr/themes文件夹,注意要将文件夹重命名为Simple。 11 | 或者使用命令行安装 12 | 13 | 登陆Typecho后台,控制台 -> 外观 -> 可以使用的外观,选择Simple启用 14 | 15 | ## 功能与特点 16 | * 调整优化响应式布局,移动端舒适体验 17 | * 傻瓜式后台设置,告别使用疑惑 18 | * 评论头像换用cn.gravatar.org的源 19 | * 支持自定义Favicon图标,自定义头部跟随或固定,自定义标题或LOGO,自定义导航栏显示内容 20 | * 支持自定义文章缩略图或者获取文章内任意图片作为缩略图 21 | * 支持面包屑导航、文章目录、文章二维码打赏 22 | * 支持“轻语”功能(类似说说) 23 | * 自带链接功能,链接模板内显示 24 | * 支持自定义备案号、自定义网站统计代码 25 | * 自动百度显示是否收录 26 | * 高考倒计时日期 27 | * 自定义JS、底部链接组件 28 | 29 | ## 更新 30 | 31 | 更新版本时,下载新版主题包并解压,直接把解压后的文件覆盖上传即可(对主题有修改请自行备份),无需切换至其他主题(这样就不会丢失设置)。 32 | 33 | 如发现BUG等问题,也请随时[站内反馈](http://qqexit.com/index.php/archives/23.html) 34 | 35 | 36 | ## 后台设置 37 | 38 | * 下载好文件改名为Simple:**控制台->外观->开启**,这样基本就显示出来了 39 | * 站点头像设置:默认为博主后台邮箱设置的Gravatar头像,更换请写全头像地址名 40 | ```$xslt 41 | http://www.gravatar.com/avatar/0b8e4bd30bcdb7da74167bb5f5027c0a?s=220&r=X&d=mm 42 | ``` 43 | * 默认文章缩略图:请填写图片的完整地址,换行为第二张随机图 44 | ```$xslt 45 | //ww1.sinaimg.cn/large/ac1a0c4agy1ftz78cfrj2j21hc0u0kio.jpg 46 | //ww1.sinaimg.cn/large/ac1a0c4agy1ftz7qj6l3xj21hc0u0b29.jpg 47 | ``` 48 | * 首页背景图片:请填写图片的完整地址,换行为第二张随机背景图 49 | * 统计代码:这个可以根据你是百度的还是360的统计代码,喜欢那个用那个咯 50 | * .导航栏配置:默认都是一级导航,加二级导航代码,主要是sub开始是二级 51 | ```$xslt 52 | 53 | 54 | { 55 | "text":"归档", 56 | "href":"http://qqexit.com/index.php/archives/23.html", 57 | "icon":"iconfont icon-aria-book", 58 | "sub" : [ 59 | { 60 | "text":"图标展示", 61 | "href":"http://qqexit.com/index.php/icon.html", 62 | "icon":"el-icon-setting" 63 | }, 64 | ] 65 | } 66 | 67 | ``` 68 | * 高考倒计时:不写时间默认不出现,填写格式比如:2019-06-07 69 | ```$xslt 70 | 格式 2019-06-07 71 | 72 | ``` 73 | 74 | * 打赏功能配置:主要是配置,前面是什么类型的支付,后面是支付二维码 75 | ```$xslt 76 | "Alipay":"http://bl.qqexit.com/usr/themes/Simple/assets/img/alipay.png", 77 | "Wechat":"http://bl.qqexit.com/usr/themes/Simple/assets/img/wechat.png" 78 | ``` 79 | 80 | ## 友链代码 81 | 说明:[link-box]是代表着开始和结束,link-item 这个才是链接,各位同学们复制的时候不要复制错了 82 | ```$xslt 83 | !!! 84 | [link-box] 85 | 86 | [link-item href="http://qqexit.com" title="Kiln" img="http://animtv.cn/anim_wo/html/user_img/img_3172.jpg" name="Kiln窑"] 87 | 88 | [/link-box] 89 | !!! 90 | 91 | ``` 92 | 93 | 94 | 95 | -------------------------------------------------------------------------------- /count-down/js/html5shiv.js: -------------------------------------------------------------------------------- 1 | /* 2 | HTML5 Shiv v3.6.2pre | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed 3 | */ 4 | (function(l,f){function m(){var a=e.elements;return"string"==typeof a?a.split(" "):a}function i(a){var b=n[a[o]];b||(b={},h++,a[o]=h,n[h]=b);return b}function p(a,b,c){b||(b=f);if(g)return b.createElement(a);c||(c=i(b));b=c.cache[a]?c.cache[a].cloneNode():r.test(a)?(c.cache[a]=c.createElem(a)).cloneNode():c.createElem(a);return b.canHaveChildren&&!s.test(a)?c.frag.appendChild(b):b}function t(a,b){if(!b.cache)b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag(); 5 | a.createElement=function(c){return!e.shivMethods?b.createElem(c):p(c,a,b)};a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+m().join().replace(/\w+/g,function(a){b.createElem(a);b.frag.createElement(a);return'c("'+a+'")'})+");return n}")(e,b.frag)}function q(a){a||(a=f);var b=i(a);if(e.shivCSS&&!j&&!b.hasCSS){var c,d=a;c=d.createElement("p");d=d.getElementsByTagName("head")[0]||d.documentElement;c.innerHTML="x"; 6 | c=d.insertBefore(c.lastChild,d.firstChild);b.hasCSS=!!c}g||t(a,b);return a}var k=l.html5||{},s=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,r=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,j,o="_html5shiv",h=0,n={},g;(function(){try{var a=f.createElement("a");a.innerHTML="";j="hidden"in a;var b;if(!(b=1==a.childNodes.length)){f.createElement("a");var c=f.createDocumentFragment();b="undefined"==typeof c.cloneNode|| 7 | "undefined"==typeof c.createDocumentFragment||"undefined"==typeof c.createElement}g=b}catch(d){g=j=!0}})();var e={elements:k.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",version:"3.6.2pre",shivCSS:!1!==k.shivCSS,supportsUnknownElements:g,shivMethods:!1!==k.shivMethods,type:"default",shivDocument:q,createElement:p,createDocumentFragment:function(a,b){a||(a=f);if(g)return a.createDocumentFragment(); 8 | for(var b=b||i(a),c=b.frag.cloneNode(),d=0,e=m(),h=e.length;d code[class*="language-"], 41 | pre[class*="language-"] { 42 | background: #272822; 43 | } 44 | 45 | /* Inline code */ 46 | :not(pre) > code[class*="language-"] { 47 | padding: .1em; 48 | border-radius: .3em; 49 | white-space: normal; 50 | } 51 | 52 | .token.comment, 53 | .token.prolog, 54 | .token.doctype, 55 | .token.cdata { 56 | color: slategray; 57 | } 58 | 59 | .token.punctuation { 60 | color: #f8f8f2; 61 | } 62 | 63 | .namespace { 64 | opacity: .7; 65 | } 66 | 67 | .token.property, 68 | .token.tag, 69 | .token.constant, 70 | .token.symbol, 71 | .token.deleted { 72 | color: #f92672; 73 | } 74 | 75 | .token.boolean, 76 | .token.number { 77 | color: #ae81ff; 78 | } 79 | 80 | .token.selector, 81 | .token.attr-name, 82 | .token.string, 83 | .token.char, 84 | .token.builtin, 85 | .token.inserted { 86 | color: #a6e22e; 87 | } 88 | 89 | .token.operator, 90 | .token.entity, 91 | .token.url, 92 | .language-css .token.string, 93 | .style .token.string, 94 | .token.variable { 95 | color: #f8f8f2; 96 | } 97 | 98 | .token.atrule, 99 | .token.attr-value, 100 | .token.function, 101 | .token.class-name { 102 | color: #e6db74; 103 | } 104 | 105 | .token.keyword { 106 | color: #66d9ef; 107 | } 108 | 109 | .token.regex, 110 | .token.important { 111 | color: #fd971f; 112 | } 113 | 114 | .token.important, 115 | .token.bold { 116 | font-weight: bold; 117 | } 118 | .token.italic { 119 | font-style: italic; 120 | } 121 | 122 | .token.entity { 123 | cursor: help; 124 | } 125 | 126 | -------------------------------------------------------------------------------- /count-down/js/jquery.countdown.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery The Final Countdown plugin v1.0.0 beta 3 | * http://github.com/hilios/jquery.countdown 4 | * 5 | * Copyright (c) 2011 Edson Hilios 6 | * 7 | * Permission is hereby granted, free of charge, to any person obtaining 8 | * a copy of this software and associated documentation files (the 9 | * "Software"), to deal in the Software without restriction, including 10 | * without limitation the rights to use, copy, modify, merge, publish, 11 | * distribute, sublicense, and/or sell copies of the Software, and to 12 | * permit persons to whom the Software is furnished to do so, subject to 13 | * the following conditions: 14 | * 15 | * The above copyright notice and this permission notice shall be 16 | * included in all copies or substantial portions of the Software. 17 | * 18 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 19 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 20 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 21 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 22 | * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 23 | * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 24 | * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 25 | */ 26 | (function(h){h.fn.countdown=function(a,l){function m(a,d){return function(){return d.call(a)}}var k="seconds minutes hours days weeks daysLeft".split(" ");return this.each(function(){function j(){if(0===e.closest("html").length)clearInterval(f),d("removed");else{c--;0>c&&(c=0);g={seconds:c%60,minutes:Math.floor(c/60)%60,hours:Math.floor(c/60/60)%24,days:Math.floor(c/60/60/24),weeks:Math.floor(c/60/60/24/7),daysLeft:Math.floor(c/60/60/24)%7};for(var a=0;ab.value?"0"+b.value.toString():b.value.toString();break;default:b.value&&(b.value=b.value.toString())}l.call(e,b)}if(!(a instanceof Date))if(String(a).match(/^[0-9]*$/))a=new Date(a);else if(a.match(/([0-9]{1,2})\/([0-9]{1,2})\/([0-9]{2,4})\s([0-9]{1,2})\:([0-9]{2})\:([0-9]{2})/)||a.match(/([0-9]{2,4})\/([0-9]{1,2})\/([0-9]{1,2})\s([0-9]{1,2})\:([0-9]{2})\:([0-9]{2})/))a=new Date(a);else if(a.match(/([0-9]{1,2})\/([0-9]{1,2})\/([0-9]{2,4})/)||a.match(/([0-9]{2,4})\/([0-9]{1,2})\/([0-9]{1,2})/))a=new Date(a);else throw Error("Doesn't seen to be a valid date object or string");var e=h(this),i={},g={},f=e.data("countdownInterval"),c=Math.floor((a.valueOf()-(new Date).valueOf())/1E3);j();f&&clearInterval(f);e.data("countdownInterval",setInterval(m(e,j),1E3));f=e.data("countdownInterval")})}})(jQuery); -------------------------------------------------------------------------------- /page.php: -------------------------------------------------------------------------------- 1 | 2 | need('header.php'); ?> 3 | 22 | 66 | need('footer.php'); ?> -------------------------------------------------------------------------------- /index.php: -------------------------------------------------------------------------------- 1 | Github | Home 5 | * @package Simple 6 | * @author Kiln 7 | * @version 1.2.0 8 | * @link http://qqexit.com/index.php/archives/23/ 9 | */ 10 | 11 | if (!defined('__TYPECHO_ROOT_DIR__')) exit; 12 | $this->need('header.php'); 13 | ?> 14 | 19 | 75 | 76 | need('footer.php'); ?> 77 | -------------------------------------------------------------------------------- /assets/css/base-style.css: -------------------------------------------------------------------------------- 1 | 2 | /*@charset "UTF-8";*/ 3 | /*#detailable-content {*/ 4 | /*text-align: left;*/ 5 | /*word-break: normal;*/ 6 | /*word-wrap: break-word;*/ 7 | /*-webkit-box-sizing: border-box;*/ 8 | /*box-sizing: border-box;*/ 9 | /*}*/ 10 | /*#detailable-content p, #detailable-content li {*/ 11 | /*line-height: 1.6;*/ 12 | /*}*/ 13 | /*#detailable-content h1,*/ 14 | /*#detailable-content h2,*/ 15 | /*#detailable-content h3,*/ 16 | /*#detailable-content h4,*/ 17 | /*#detailable-content h5,*/ 18 | /*#detailable-content h6,*/ 19 | /*#detailable-content p,*/ 20 | /*#detailable-content blockquote,*/ 21 | /*#detailable-content table,*/ 22 | /*#detailable-content pre,*/ 23 | /*#detailable-content ul,*/ 24 | /*#detailable-content ol {*/ 25 | /*margin-top: 0;*/ 26 | /*margin-bottom: 1rem;*/ 27 | /*}*/ 28 | /*#detailable-content h1:last-child,*/ 29 | /*#detailable-content h2:last-child,*/ 30 | /*#detailable-content h3:last-child,*/ 31 | /*#detailable-content h4:last-child,*/ 32 | /*#detailable-content h5:last-child,*/ 33 | /*#detailable-content h6:last-child,*/ 34 | /*#detailable-content p:last-child,*/ 35 | /*#detailable-content blockquote:last-child,*/ 36 | /*#detailable-content table:last-child,*/ 37 | /*#detailable-content pre:last-child,*/ 38 | /*#detailable-content ul:last-child,*/ 39 | /*#detailable-content ol:last-child {*/ 40 | /*margin-bottom: 0;*/ 41 | /*}*/ 42 | /*#detailable-content h1 {*/ 43 | /*font-size: 1.5rem;*/ 44 | /*}*/ 45 | /*#detailable-content h2 {*/ 46 | /*font-size: 1.3rem;*/ 47 | /*}*/ 48 | /*#detailable-content h3 {*/ 49 | /*font-size: 1.2rem;*/ 50 | /*}*/ 51 | /*#detailable-content h4, #detailable-content h5, #detailable-content h6 {*/ 52 | /*font-size: 1.1rem;*/ 53 | /*}*/ 54 | /*#detailable-content ul {*/ 55 | /*padding-left: 2rem;*/ 56 | /*list-style: circle;*/ 57 | /*}*/ 58 | /*#detailable-content ul > * {*/ 59 | /*margin-top: 0;*/ 60 | /*margin-bottom: 1rem;*/ 61 | /*}*/ 62 | /*#detailable-content ul > *:last-child {*/ 63 | /*margin-bottom: 0;*/ 64 | /*}*/ 65 | /*#detailable-content ol {*/ 66 | /*padding-left: 2rem;*/ 67 | /*list-style: decimal;*/ 68 | /*}*/ 69 | /*#detailable-content ol > * {*/ 70 | /*margin-top: 0;*/ 71 | /*margin-bottom: 1rem;*/ 72 | /*}*/ 73 | /*#detailable-content ol > *:last-child {*/ 74 | /*margin-bottom: 0;*/ 75 | /*}*/ 76 | /*#detailable-content dl {*/ 77 | /*padding-left: 2rem;*/ 78 | /*list-style: none;*/ 79 | /*}*/ 80 | /*#detailable-content dl > * {*/ 81 | /*margin-top: 0;*/ 82 | /*margin-bottom: 1rem;*/ 83 | /*}*/ 84 | /*#detailable-content dl > *:last-child {*/ 85 | /*margin-bottom: 0;*/ 86 | /*}*/ 87 | /*#detailable-content blockquote {*/ 88 | /*border-left: 0.3rem solid #5c5c5c;*/ 89 | /*padding-left: .8rem;*/ 90 | /*margin-left: 0;*/ 91 | /*margin-right: 0;*/ 92 | /*}*/ 93 | /*#detailable-content .pullquote {*/ 94 | /*width: 50%;*/ 95 | /*margin: .5rem;*/ 96 | /*}*/ 97 | /*#detailable-content .left {*/ 98 | /*float: left;*/ 99 | /*}*/ 100 | /*#detailable-content .right {*/ 101 | /*float: right;*/ 102 | /*}*/ 103 | /*#detailable-content code, #detailable-content tt {*/ 104 | /*margin: 0 .1rem;*/ 105 | /*padding: .1rem .3rem;*/ 106 | /*color: #5c5c5c;*/ 107 | /*background-color: #f7f7f7;*/ 108 | /*font-family: "Fira-Code", "Consolas", "Proxima Nova Rg", "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;*/ 109 | /*border-radius: .1rem;*/ 110 | /*text-shadow: 1px 1px 3px white;*/ 111 | /*}*/ 112 | /*#detailable-content img {*/ 113 | /*display: block;*/ 114 | /*max-width: 100%;*/ 115 | /*margin: .5em auto;*/ 116 | /*}*/ 117 | /*#detailable-content .video-container {*/ 118 | /*text-align: center;*/ 119 | /*}*/ 120 | /*#detailable-content a {*/ 121 | /*text-decoration: underline;*/ 122 | /*}*/ 123 | /*#detailable-content table {*/ 124 | /*width: 100%;*/ 125 | /*text-align: center;*/ 126 | /*}*/ 127 | -------------------------------------------------------------------------------- /static/js/5.c7fc1283ec1fdfd0717e.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([5],{P7yI:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("/5sW"),r=n("c+8m"),s=n.n(r),i=n("GMMN"),o=this&&this.__decorate||function(e,t,n,a){var r,s=arguments.length,i=s<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,a);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(i=(s<3?r(i):s>3?r(t,n,i):r(t,n))||i);return s>3&&i&&Object.defineProperty(t,n,i),i},c=this&&this.__awaiter||function(e,t,n,a){return new(n||(n=Promise))(function(r,s){function i(e){try{c(a.next(e))}catch(e){s(e)}}function o(e){try{c(a.throw(e))}catch(e){s(e)}}function c(e){e.done?r(e.value):new n(function(t){t(e.value)}).then(i,o)}c((a=a.apply(e,t||[])).next())})};let l=class extends a.default{constructor(){super(...arguments),this.search=""}get categoriesTree(){return this.$store.getters[`categories/${i.a}`]}get treeProps(){return{label:"name",isLeaf:e=>!Array.isArray(e)&&!e.children.length}}fetch({store:e,route:t}){return c(this,void 0,void 0,function*(){yield e.dispatch(`categories/${i.c}`)})}nodeClick(e){this.$router.push({name:"related-posts-page",params:{type:"category",slug:e.slug}})}filter(e,t){return!e||-1!==t.name.toLowerCase().indexOf(e.toLowerCase())}renderContent(e,{data:t}){const n=this.$data.search,a=t.name,r=a.toLowerCase().indexOf(n.toLowerCase()),s=a.substr(0,r),i=a.substr(r,n.length),o=a.substr(r+n.length);return e("span",{},-1!==r?[s,e("span",{style:{fontWeight:"bolder",fontSize:"1.1em"}},[i]),o]:[a])}};var d=l=o([s()({name:"categories-page",watch:{search(e){this.$refs.tree.filter(e)}}})],l),f={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"categories-page"},[n("el-input",{staticClass:"search",attrs:{placeholder:"Search categories by name..."},model:{value:e.search,callback:function(t){e.search=t},expression:"search"}},[n("div",{staticClass:"fix",attrs:{slot:"prefix"},slot:"prefix"},[n("i",{staticClass:"fa fa-bookmark",attrs:{"aria-hidden":"true"}})]),e._v(" "),n("div",{staticClass:"fix",attrs:{slot:"suffix"},slot:"suffix"},[n("i",{staticClass:"fa fa-search",attrs:{"aria-hidden":"true"}})])]),e._v(" "),n("el-tree",{ref:"tree",attrs:{data:e.categoriesTree,props:e.treeProps,"node-key":"slug","empty-text":"No data :)","default-expand-all":"","expand-on-click-node":!1,"render-content":e.renderContent,"filter-node-method":e.filter},on:{"node-click":e.nodeClick}})],1)},staticRenderFns:[]},g=n("VU/8")(d,f,!1,function(e){n("mYZP")},"data-v-c1689620",null);t.default=g.exports},mYZP:function(e,t,n){var a=n("xUwO");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);n("rjj0")("7bb86805",a,!0)},xUwO:function(e,t,n){(e.exports=n("FZ+f")(!0)).push([e.i,"\n.categories-page[data-v-c1689620] {\n margin-bottom: 2rem;\n}\n.categories-page .fix[data-v-c1689620] {\n height: 100%;\n width: 1.5rem;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.categories-page > *[data-v-c1689620] {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n.categories-page > *[data-v-c1689620]:last-child {\n margin-bottom: 0;\n}\n","",{version:3,sources:["D:/WebProject/hexo-theme-lite/src/views/pages/categories/CategoriesPage.vue"],names:[],mappings:";AACA;EACE,oBAAoB;CACrB;AACD;IACI,aAAa;IACb,cAAc;IACd,qBAAqB;IACrB,qBAAqB;IACrB,cAAc;IACd,0BAA0B;QACtB,uBAAuB;YACnB,oBAAoB;IAC5B,yBAAyB;QACrB,sBAAsB;YAClB,wBAAwB;CACnC;AACD;IACI,cAAc;IACd,oBAAoB;CACvB;AACD;MACM,iBAAiB;CACtB",file:"CategoriesPage.vue",sourcesContent:["\n.categories-page[data-v-c1689620] {\n margin-bottom: 2rem;\n}\n.categories-page .fix[data-v-c1689620] {\n height: 100%;\n width: 1.5rem;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.categories-page > *[data-v-c1689620] {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n.categories-page > *[data-v-c1689620]:last-child {\n margin-bottom: 0;\n}\n"],sourceRoot:""}])}}); 2 | //# sourceMappingURL=5.c7fc1283ec1fdfd0717e.js.map -------------------------------------------------------------------------------- /archive.php: -------------------------------------------------------------------------------- 1 | Github | Home 6 | * 7 | * @package Simple 8 | * @author Kiln 9 | * @version 1.2.0 10 | * @link http://qqexit.com/index.php/archives/23/ 11 | */ 12 | 13 | if (!defined('__TYPECHO_ROOT_DIR__')) exit; 14 | $this->need('header.php'); 15 | ?> 16 | 21 | 22 | 23 | 85 | 86 | need('footer.php'); ?> 87 | -------------------------------------------------------------------------------- /assets/js/3.deac70890ffb1825009b.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([3],{"3NPz":function(t,e,o){(t.exports=o("FZ+f")(!0)).push([t.i,"\n.el-pagination .el-pager .active {\n background-color: #5c5c5c;\n color: white;\n border-radius: 0.2rem;\n margin-left: 0.2rem;\n margin-right: 0.2rem;\n}\n","",{version:3,sources:["D:/WebProject/hexo-theme-lite/src/views/pages/home/HomePage.vue"],names:[],mappings:";AACA;EACE,0BAA0B;EAC1B,aAAa;EACb,sBAAsB;EACtB,oBAAoB;EACpB,qBAAqB;CACtB",file:"HomePage.vue",sourcesContent:["\n.el-pagination .el-pager .active {\n background-color: #5c5c5c;\n color: white;\n border-radius: 0.2rem;\n margin-left: 0.2rem;\n margin-right: 0.2rem;\n}\n"],sourceRoot:""}])},QisF:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=o("/5sW"),n=o("c+8m"),i=o.n(n),r=o("GMMN"),s=o("HkmY"),c=o("FKcG"),l=this&&this.__decorate||function(t,e,o,a){var n,i=arguments.length,r=i<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,o,a);else for(var s=t.length-1;s>=0;s--)(n=t[s])&&(r=(i<3?n(r):i>3?n(e,o,r):n(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r},p=this&&this.__awaiter||function(t,e,o,a){return new(o||(o=Promise))(function(n,i){function r(t){try{c(a.next(t))}catch(t){i(t)}}function s(t){try{c(a.throw(t))}catch(t){i(t)}}function c(t){t.done?n(t.value):new o(function(e){e(t.value)}).then(r,s)}c((a=a.apply(t,e||[])).next())})};let m=class extends a.default{constructor(){super(...arguments),this.modal=new c.a}get posts(){return this.$store.state.home.postsList.data}get pagination(){const{pageCount:t,pageSize:e,total:o}=this.$store.state.home.postsList;return{pageCount:t,pageSize:e,total:o}}get page(){return this.$store.state.home.page}get format(){return this.$store.state.meta.hexoConfig.dateTimeFormat.date_format}get shouldPage(){return this.$store.getters[`meta/${r.s}`]}fetch({store:t}){return p(this,void 0,void 0,function*(){1!==t.state.home.page&&(yield t.dispatch(`home/${r.e}`,{page:1}))})}onPage(t){return p(this,void 0,void 0,function*(){this.page!==t&&(this.$nprogress.start(),yield this.$store.dispatch(`home/${r.e}`,{page:t}),window&&window.scrollTo(0,0),this.$nprogress.done())})}showPhotoDetail({url:t,post:e}){this.$data.modal.post=e,this.$data.modal.url=t,this.$nextTick(()=>{this.$data.modal.isShown=!0})}};var u=m=l([i()({name:"home-page",components:{ArticleCard:s.a}})],m),g={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{attrs:{id:"home-page"}},[o("el-button",{directives:[{name:"show",rawName:"v-show",value:1!==t.page,expression:"page !== 1"}],staticClass:"back",attrs:{plain:"",size:"mini"},on:{click:function(e){t.onPage(1)}}},[o("i",{staticClass:"fa fa-undo",attrs:{"aria-hidden":"true"}}),t._v(" "),o("span",[t._v("Back")])]),t._v(" "),o("div",{staticClass:"article-card-list"},t._l(t.posts,function(e){return o("article-card",{key:e.slug,attrs:{format:t.format,post:e,showPhotos:!0},on:{"photo-zoom-in":t.showPhotoDetail}})})),t._v(" "),t.shouldPage?o("el-pagination",{staticClass:"pagination",attrs:{small:"",layout:"prev, pager, next",total:t.pagination.total,"page-size":t.pagination.pageSize,"current-page":t.page},on:{"current-change":t.onPage}}):t._e(),t._v(" "),o("el-dialog",{attrs:{visible:t.modal.isShown,width:"min-content"},on:{"update:visible":function(e){t.$set(t.modal,"isShown",e)}}},[o("img",{staticClass:"modal-picture",attrs:{src:t.modal.url,alt:t.modal.url},on:{click:function(e){t.modal.isShown=!1}}})])],1)},staticRenderFns:[]},h=o("VU/8")(u,g,!1,function(t){o("Vbw3"),o("bMxf")},"data-v-802392fc",null);e.default=h.exports},Vbw3:function(t,e,o){var a=o("vOng");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);o("rjj0")("37c76644",a,!0)},bMxf:function(t,e,o){var a=o("3NPz");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);o("rjj0")("a9bfd0bc",a,!0)},vOng:function(t,e,o){(t.exports=o("FZ+f")(!0)).push([t.i,"\n#home-page .back[data-v-802392fc] {\n margin-bottom: 1rem;\n}\n#home-page .modal-picture[data-v-802392fc] {\n max-width: 950px;\n min-width: 150px;\n min-height: 100px;\n cursor: -webkit-zoom-out;\n cursor: zoom-out;\n}\n#home-page .pagination[data-v-802392fc] {\n text-align: center;\n}\n","",{version:3,sources:["D:/WebProject/hexo-theme-lite/src/views/pages/home/HomePage.vue"],names:[],mappings:";AACA;EACE,oBAAoB;CACrB;AACD;EACE,iBAAiB;EACjB,iBAAiB;EACjB,kBAAkB;EAClB,yBAAyB;EACzB,iBAAiB;CAClB;AACD;EACE,mBAAmB;CACpB",file:"HomePage.vue",sourcesContent:["\n#home-page .back[data-v-802392fc] {\n margin-bottom: 1rem;\n}\n#home-page .modal-picture[data-v-802392fc] {\n max-width: 950px;\n min-width: 150px;\n min-height: 100px;\n cursor: -webkit-zoom-out;\n cursor: zoom-out;\n}\n#home-page .pagination[data-v-802392fc] {\n text-align: center;\n}\n"],sourceRoot:""}])}}); 2 | //# sourceMappingURL=3.deac70890ffb1825009b.js.map -------------------------------------------------------------------------------- /static/js/3.deac70890ffb1825009b.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([3],{"3NPz":function(t,e,o){(t.exports=o("FZ+f")(!0)).push([t.i,"\n.el-pagination .el-pager .active {\n background-color: #5c5c5c;\n color: white;\n border-radius: 0.2rem;\n margin-left: 0.2rem;\n margin-right: 0.2rem;\n}\n","",{version:3,sources:["D:/WebProject/hexo-theme-lite/src/views/pages/home/HomePage.vue"],names:[],mappings:";AACA;EACE,0BAA0B;EAC1B,aAAa;EACb,sBAAsB;EACtB,oBAAoB;EACpB,qBAAqB;CACtB",file:"HomePage.vue",sourcesContent:["\n.el-pagination .el-pager .active {\n background-color: #5c5c5c;\n color: white;\n border-radius: 0.2rem;\n margin-left: 0.2rem;\n margin-right: 0.2rem;\n}\n"],sourceRoot:""}])},QisF:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=o("/5sW"),n=o("c+8m"),i=o.n(n),r=o("GMMN"),s=o("HkmY"),c=o("FKcG"),l=this&&this.__decorate||function(t,e,o,a){var n,i=arguments.length,r=i<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,o):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,o,a);else for(var s=t.length-1;s>=0;s--)(n=t[s])&&(r=(i<3?n(r):i>3?n(e,o,r):n(e,o))||r);return i>3&&r&&Object.defineProperty(e,o,r),r},p=this&&this.__awaiter||function(t,e,o,a){return new(o||(o=Promise))(function(n,i){function r(t){try{c(a.next(t))}catch(t){i(t)}}function s(t){try{c(a.throw(t))}catch(t){i(t)}}function c(t){t.done?n(t.value):new o(function(e){e(t.value)}).then(r,s)}c((a=a.apply(t,e||[])).next())})};let m=class extends a.default{constructor(){super(...arguments),this.modal=new c.a}get posts(){return this.$store.state.home.postsList.data}get pagination(){const{pageCount:t,pageSize:e,total:o}=this.$store.state.home.postsList;return{pageCount:t,pageSize:e,total:o}}get page(){return this.$store.state.home.page}get format(){return this.$store.state.meta.hexoConfig.dateTimeFormat.date_format}get shouldPage(){return this.$store.getters[`meta/${r.s}`]}fetch({store:t}){return p(this,void 0,void 0,function*(){1!==t.state.home.page&&(yield t.dispatch(`home/${r.e}`,{page:1}))})}onPage(t){return p(this,void 0,void 0,function*(){this.page!==t&&(this.$nprogress.start(),yield this.$store.dispatch(`home/${r.e}`,{page:t}),window&&window.scrollTo(0,0),this.$nprogress.done())})}showPhotoDetail({url:t,post:e}){this.$data.modal.post=e,this.$data.modal.url=t,this.$nextTick(()=>{this.$data.modal.isShown=!0})}};var u=m=l([i()({name:"home-page",components:{ArticleCard:s.a}})],m),g={render:function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{attrs:{id:"home-page"}},[o("el-button",{directives:[{name:"show",rawName:"v-show",value:1!==t.page,expression:"page !== 1"}],staticClass:"back",attrs:{plain:"",size:"mini"},on:{click:function(e){t.onPage(1)}}},[o("i",{staticClass:"fa fa-undo",attrs:{"aria-hidden":"true"}}),t._v(" "),o("span",[t._v("Back")])]),t._v(" "),o("div",{staticClass:"article-card-list"},t._l(t.posts,function(e){return o("article-card",{key:e.slug,attrs:{format:t.format,post:e,showPhotos:!0},on:{"photo-zoom-in":t.showPhotoDetail}})})),t._v(" "),t.shouldPage?o("el-pagination",{staticClass:"pagination",attrs:{small:"",layout:"prev, pager, next",total:t.pagination.total,"page-size":t.pagination.pageSize,"current-page":t.page},on:{"current-change":t.onPage}}):t._e(),t._v(" "),o("el-dialog",{attrs:{visible:t.modal.isShown,width:"min-content"},on:{"update:visible":function(e){t.$set(t.modal,"isShown",e)}}},[o("img",{staticClass:"modal-picture",attrs:{src:t.modal.url,alt:t.modal.url},on:{click:function(e){t.modal.isShown=!1}}})])],1)},staticRenderFns:[]},h=o("VU/8")(u,g,!1,function(t){o("Vbw3"),o("bMxf")},"data-v-802392fc",null);e.default=h.exports},Vbw3:function(t,e,o){var a=o("vOng");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);o("rjj0")("37c76644",a,!0)},bMxf:function(t,e,o){var a=o("3NPz");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);o("rjj0")("a9bfd0bc",a,!0)},vOng:function(t,e,o){(t.exports=o("FZ+f")(!0)).push([t.i,"\n#home-page .back[data-v-802392fc] {\n margin-bottom: 1rem;\n}\n#home-page .modal-picture[data-v-802392fc] {\n max-width: 950px;\n min-width: 150px;\n min-height: 100px;\n cursor: -webkit-zoom-out;\n cursor: zoom-out;\n}\n#home-page .pagination[data-v-802392fc] {\n text-align: center;\n}\n","",{version:3,sources:["D:/WebProject/hexo-theme-lite/src/views/pages/home/HomePage.vue"],names:[],mappings:";AACA;EACE,oBAAoB;CACrB;AACD;EACE,iBAAiB;EACjB,iBAAiB;EACjB,kBAAkB;EAClB,yBAAyB;EACzB,iBAAiB;CAClB;AACD;EACE,mBAAmB;CACpB",file:"HomePage.vue",sourcesContent:["\n#home-page .back[data-v-802392fc] {\n margin-bottom: 1rem;\n}\n#home-page .modal-picture[data-v-802392fc] {\n max-width: 950px;\n min-width: 150px;\n min-height: 100px;\n cursor: -webkit-zoom-out;\n cursor: zoom-out;\n}\n#home-page .pagination[data-v-802392fc] {\n text-align: center;\n}\n"],sourceRoot:""}])}}); 2 | //# sourceMappingURL=3.deac70890ffb1825009b.js.map -------------------------------------------------------------------------------- /assets/OwO/OwO.min.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 3 | function _classCallCheck(e, t) { 4 | if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function") 5 | } 6 | var _createClass = function() { 7 | function e(e, t) { 8 | for (var a = 0; a < t.length; a++) { 9 | var s = t[a]; 10 | s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(e, s.key, s) 11 | } 12 | } 13 | return function(t, a, s) { 14 | return a && e(t.prototype, a), s && e(t, s), t 15 | } 16 | }(); 17 | ! function() { 18 | var e = function() { 19 | function e(t) { 20 | var a = this; 21 | _classCallCheck(this, e); 22 | var s = { 23 | logo: "OwO表情", 24 | container: document.getElementsByClassName("OwO")[0], 25 | target: document.getElementsByTagName("textarea")[0], 26 | position: "down", 27 | width: "100%", 28 | maxHeight: "250px", 29 | api: "https://api.anotherhome.net/OwO/OwO.json" 30 | }; 31 | for (var n in s) s.hasOwnProperty(n) && !t.hasOwnProperty(n) && (t[n] = s[n]); 32 | this.container = t.container, this.target = t.target, "up" === t.position && this.container.classList.add("OwO-up"); 33 | var i = new XMLHttpRequest; 34 | i.onreadystatechange = function() { 35 | 4 === i.readyState && (i.status >= 200 && i.status < 300 || 304 === i.status ? (a.odata = JSON.parse(i.responseText), a.init(t)) : console.log("OwO data request was unsuccessful: " + i.status)) 36 | }, i.open("get", t.api, !0), i.send(null) 37 | } 38 | return _createClass(e, [{ 39 | key: "init", 40 | value: function(e) { 41 | var t = this; 42 | this.area = e.target, this.packages = Object.keys(this.odata); 43 | for (var a = '\n \n
', s = 0; s < this.packages.length; s++) { 44 | a += '\n
    '; 45 | for (var n = this.odata[this.packages[s]].container, i = 0; i < n.length; i++) a += '\n
  • ' + n[i].icon + "
  • "; 46 | a += "\n
" 47 | } 48 | console.log(this.container) 49 | 50 | a += '\n
\n
    '; 51 | for (var o = 0; o < this.packages.length; o++) a += "\n
  • " + this.packages[o] + "
  • "; 52 | a += "\n
\n
\n
\n ", this.container.innerHTML = a, this.logo = this.container.getElementsByClassName("OwO-logo")[0], this.logo.addEventListener("click", function() { 53 | 54 | t.toggle() 55 | }), this.container.getElementsByClassName("OwO-body")[0].addEventListener("click", function(e) { 56 | var a = null; 57 | if (e.target.classList.contains("OwO-item") ? a = e.target : e.target.parentNode.classList.contains("OwO-item") && (a = e.target.parentNode), a) { 58 | var s = t.area.selectionEnd, 59 | n = t.area.value; 60 | t.area.value = n.slice(0, s) + a.innerHTML + n.slice(s), t.area.focus(), t.toggle() 61 | } 62 | }), this.packagesEle = this.container.getElementsByClassName("OwO-packages")[0]; 63 | for (var c = function(e) { 64 | ! function(a) { 65 | t.packagesEle.children[e].addEventListener("click", function() { 66 | t.tab(a) 67 | }) 68 | }(e) 69 | }, l = 0; l < this.packagesEle.children.length; l++) c(l); 70 | this.tab(0) 71 | } 72 | }, { 73 | key: "toggle", 74 | value: function() { 75 | this.container.classList.contains("OwO-open") ? this.container.classList.remove("OwO-open") : this.container.classList.add("OwO-open") 76 | } 77 | }, { 78 | key: "tab", 79 | value: function(e) { 80 | var t = this.container.getElementsByClassName("OwO-items-show")[0]; 81 | t && t.classList.remove("OwO-items-show"), this.container.getElementsByClassName("OwO-items")[e].classList.add("OwO-items-show"); 82 | var a = this.container.getElementsByClassName("OwO-package-active")[0]; 83 | a && a.classList.remove("OwO-package-active"), this.packagesEle.getElementsByTagName("li")[e].classList.add("OwO-package-active") 84 | } 85 | }]), e 86 | }(); 87 | "undefined" != typeof module && "undefined" != typeof module.exports ? module.exports = e : window.OwO = e 88 | }(); -------------------------------------------------------------------------------- /static/js/7.cae543e622eab56f781f.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([7],{"4+y1":function(t,e,n){(t.exports=n("FZ+f")(!0)).push([t.i,"\n.tags-page[data-v-46fb68f6] {\n margin-bottom: 2rem;\n}\n.tags-page .fix[data-v-46fb68f6] {\n height: 100%;\n width: 1.5rem;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.tags-page > *[data-v-46fb68f6] {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n.tags-page > *[data-v-46fb68f6]:last-child {\n margin-bottom: 0;\n}\n.tags-page .tags-list[data-v-46fb68f6] {\n padding: 0 3rem;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-flow: row wrap;\n flex-flow: row wrap;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.tags-page .tags-list > *[data-v-46fb68f6] {\n margin-right: 0.8rem;\n margin-bottom: 1rem;\n}\n.tags-page .tags-list > *[data-v-46fb68f6]:last-child {\n margin-right: 0;\n}\n.tags-page .tags-list .one-tag[data-v-46fb68f6] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-transition: all 250ms;\n transition: all 250ms;\n}\n.tags-page .tags-list .one-tag[data-v-46fb68f6]:hover {\n -webkit-transform: scale(1.1);\n transform: scale(1.1);\n}\n","",{version:3,sources:["D:/WebProject/hexo-theme-lite/src/views/pages/tags/TagsPage.vue"],names:[],mappings:";AACA;EACE,oBAAoB;CACrB;AACD;IACI,aAAa;IACb,cAAc;IACd,qBAAqB;IACrB,qBAAqB;IACrB,cAAc;IACd,0BAA0B;QACtB,uBAAuB;YACnB,oBAAoB;IAC5B,yBAAyB;QACrB,sBAAsB;YAClB,wBAAwB;CACnC;AACD;IACI,cAAc;IACd,oBAAoB;CACvB;AACD;MACM,iBAAiB;CACtB;AACD;IACI,gBAAgB;IAChB,qBAAqB;IACrB,qBAAqB;IACrB,cAAc;IACd,+BAA+B;IAC/B,8BAA8B;QAC1B,wBAAwB;YACpB,oBAAoB;IAC5B,yBAAyB;QACrB,sBAAsB;YAClB,wBAAwB;CACnC;AACD;MACM,qBAAqB;MACrB,oBAAoB;CACzB;AACD;QACQ,gBAAgB;CACvB;AACD;MACM,qBAAqB;MACrB,qBAAqB;MACrB,cAAc;MACd,0BAA0B;UACtB,uBAAuB;cACnB,oBAAoB;MAC5B,8BAA8B;MAC9B,sBAAsB;CAC3B;AACD;QACQ,8BAA8B;gBACtB,sBAAsB;CACrC",file:"TagsPage.vue",sourcesContent:["\n.tags-page[data-v-46fb68f6] {\n margin-bottom: 2rem;\n}\n.tags-page .fix[data-v-46fb68f6] {\n height: 100%;\n width: 1.5rem;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.tags-page > *[data-v-46fb68f6] {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n.tags-page > *[data-v-46fb68f6]:last-child {\n margin-bottom: 0;\n}\n.tags-page .tags-list[data-v-46fb68f6] {\n padding: 0 3rem;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-orient: horizontal;\n -webkit-box-direction: normal;\n -ms-flex-flow: row wrap;\n flex-flow: row wrap;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.tags-page .tags-list > *[data-v-46fb68f6] {\n margin-right: 0.8rem;\n margin-bottom: 1rem;\n}\n.tags-page .tags-list > *[data-v-46fb68f6]:last-child {\n margin-right: 0;\n}\n.tags-page .tags-list .one-tag[data-v-46fb68f6] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-transition: all 250ms;\n transition: all 250ms;\n}\n.tags-page .tags-list .one-tag[data-v-46fb68f6]:hover {\n -webkit-transform: scale(1.1);\n transform: scale(1.1);\n}\n"],sourceRoot:""}])},bRW8:function(t,e,n){var a=n("4+y1");"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);n("rjj0")("7b2ede43",a,!0)},kR74:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=n("/5sW"),s=n("c+8m"),i=n.n(s),r=n("GMMN"),o=this&&this.__decorate||function(t,e,n,a){var s,i=arguments.length,r=i<3?e:null===a?a=Object.getOwnPropertyDescriptor(e,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,n,a);else for(var o=t.length-1;o>=0;o--)(s=t[o])&&(r=(i<3?s(r):i>3?s(e,n,r):s(e,n))||r);return i>3&&r&&Object.defineProperty(e,n,r),r},l=this&&this.__awaiter||function(t,e,n,a){return new(n||(n=Promise))(function(s,i){function r(t){try{l(a.next(t))}catch(t){i(t)}}function o(t){try{l(a.throw(t))}catch(t){i(t)}}function l(t){t.done?s(t.value):new n(function(e){e(t.value)}).then(r,o)}l((a=a.apply(t,e||[])).next())})};let A=class extends a.default{constructor(){super(...arguments),this.search=""}get tags(){return this.$store.state.tags.tags}get displayTags(){const t=this.$data.search;return t.length?this.tags.filter(e=>-1!==e.slug.toLowerCase().indexOf(t.toLowerCase())):this.tags}fetch({store:t,route:e}){return l(this,void 0,void 0,function*(){yield t.dispatch(`tags/${r.i}`)})}};var c=A=o([i()({name:"tags-page"})],A),g={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tags-page"},[n("el-input",{staticClass:"search",attrs:{placeholder:"Search tags by name..."},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}},[n("div",{staticClass:"fix",attrs:{slot:"suffix"},slot:"suffix"},[n("i",{staticClass:"fa fa-search",attrs:{"aria-hidden":"true"}})]),t._v(" "),n("div",{staticClass:"fix",attrs:{slot:"prefix"},slot:"prefix"},[n("i",{staticClass:"fa fa-hashtag",attrs:{"aria-hidden":"true"}})])]),t._v(" "),n("transition-group",{staticClass:"tags-list",attrs:{tag:"div",name:"tags"}},t._l(t.displayTags,function(e){return n("router-link",{key:e.slug,staticClass:"one-tag",attrs:{to:{name:"related-posts-page",params:{type:"tag",slug:e.slug}}}},[n("span",{style:"fontSize: calc(100% + 0."+(.5*e.count*e.count+1)+"em)"},[t._v(t._s(e.slug))])])}))],1)},staticRenderFns:[]},f=n("VU/8")(c,g,!1,function(t){n("bRW8")},"data-v-46fb68f6",null);e.default=f.exports}}); 2 | //# sourceMappingURL=7.cae543e622eab56f781f.js.map -------------------------------------------------------------------------------- /post.php: -------------------------------------------------------------------------------- 1 | 2 | Github | Home 7 | * 8 | * @package Simple 9 | * @author Kiln 10 | * @version 1.2.0 11 | * @link http://qqexit.com/index.php/archives/23/ 12 | */ 13 | 14 | if (!defined('__TYPECHO_ROOT_DIR__')) exit; 15 | $this->need('header.php'); 16 | ?> 17 | 96 | 97 | 98 | 99 | need('footer.php'); ?> -------------------------------------------------------------------------------- /assets/css/search-form.css: -------------------------------------------------------------------------------- 1 | html,body {height: 100%;} 2 | body {padding: 0px; margin:0px; background:url(assets/img/image.jpg) ; background-position: center; background-size: cover; background-attachment: fixed; background-repeat: no-repeat;} 3 | 4 | .search-wrapper { 5 | position: absolute; 6 | -webkit-transform: translate(-50%, -50%); 7 | -moz-transform: translate(-50%, -50%); 8 | transform: translate(-50%, -50%); 9 | top:60%; 10 | left:95%; 11 | } 12 | .search-wrapper.active {} 13 | 14 | .search-wrapper .input-holder { 15 | overflow: hidden; 16 | height: 70px; 17 | background: rgba(255,255,255,0); 18 | border-radius:6px; 19 | position: relative; 20 | width:70px; 21 | -webkit-transition: all 0.3s ease-in-out; 22 | -moz-transition: all 0.3s ease-in-out; 23 | transition: all 0.3s ease-in-out; 24 | } 25 | .search-wrapper.active .input-holder { 26 | border-radius: 50px; 27 | width:450px; 28 | background: rgba(0,0,0,0.5); 29 | -webkit-transition: all .5s cubic-bezier(0.000, 0.105, 0.035, 1.570); 30 | -moz-transition: all .5s cubic-bezier(0.000, 0.105, 0.035, 1.570); 31 | transition: all .5s cubic-bezier(0.000, 0.105, 0.035, 1.570); 32 | } 33 | 34 | .search-wrapper .input-holder .search-input { 35 | width:100%; 36 | height: 50px; 37 | padding:0px 70px 0 20px; 38 | opacity: 0; 39 | position: absolute; 40 | top:0px; 41 | left:0px; 42 | background: transparent; 43 | -webkit-box-sizing: border-box; 44 | -moz-box-sizing: border-box; 45 | box-sizing: border-box; 46 | border:none; 47 | outline:none; 48 | font-family:"Open Sans", Arial, Verdana; 49 | font-size: 16px; 50 | font-weight: 400; 51 | line-height: 20px; 52 | color:#FFF; 53 | -webkit-transform: translate(0, 60px); 54 | -moz-transform: translate(0, 60px); 55 | transform: translate(0, 60px); 56 | -webkit-transition: all .3s cubic-bezier(0.000, 0.105, 0.035, 1.570); 57 | -moz-transition: all .3s cubic-bezier(0.000, 0.105, 0.035, 1.570); 58 | transition: all .3s cubic-bezier(0.000, 0.105, 0.035, 1.570); 59 | 60 | -webkit-transition-delay: 0.3s; 61 | -moz-transition-delay: 0.3s; 62 | transition-delay: 0.3s; 63 | } 64 | .search-wrapper.active .input-holder .search-input { 65 | opacity: 1; 66 | -webkit-transform: translate(0, 10px); 67 | -moz-transform: translate(0, 10px); 68 | transform: translate(0, 10px); 69 | } 70 | 71 | .search-wrapper .input-holder .search-icon { 72 | width:50px; 73 | height:50px; 74 | border:none; 75 | border-radius:6px; 76 | background: #FFF; 77 | padding:0px; 78 | outline:none; 79 | position: relative; 80 | z-index: 2; 81 | float:right; 82 | cursor: pointer; 83 | -webkit-transition: all 0.3s ease-in-out; 84 | -moz-transition: all 0.3s ease-in-out; 85 | transition: all 0.3s ease-in-out; 86 | } 87 | .search-wrapper.active .input-holder .search-icon { 88 | width: 50px; 89 | height:50px; 90 | margin: 10px; 91 | border-radius: 30px; 92 | } 93 | .search-wrapper .input-holder .search-icon span { 94 | width:22px; 95 | height:22px; 96 | display: inline-block; 97 | vertical-align: middle; 98 | position:relative; 99 | -webkit-transform: rotate(45deg); 100 | -moz-transform: rotate(45deg); 101 | transform: rotate(45deg); 102 | -webkit-transition: all .4s cubic-bezier(0.650, -0.600, 0.240, 1.650); 103 | -moz-transition: all .4s cubic-bezier(0.650, -0.600, 0.240, 1.650); 104 | transition: all .4s cubic-bezier(0.650, -0.600, 0.240, 1.650); 105 | 106 | } 107 | .search-wrapper.active .input-holder .search-icon span { 108 | -webkit-transform: rotate(-45deg); 109 | -moz-transform: rotate(-45deg); 110 | transform: rotate(-45deg); 111 | } 112 | .search-wrapper .input-holder .search-icon span::before, .search-wrapper .input-holder .search-icon span::after { 113 | position: absolute; 114 | content:''; 115 | } 116 | .search-wrapper .input-holder .search-icon span::before { 117 | width: 4px; 118 | height: 11px; 119 | left: 9px; 120 | top: 18px; 121 | border-radius: 2px; 122 | background: #974BE0; 123 | } 124 | .search-wrapper .input-holder .search-icon span::after { 125 | width: 14px; 126 | height: 14px; 127 | left: 0px; 128 | top: 0px; 129 | border-radius: 16px; 130 | border: 4px solid #974BE0; 131 | } 132 | 133 | .search-wrapper .close { 134 | position: absolute; 135 | z-index: 1; 136 | top:24px; 137 | right:20px; 138 | width:25px; 139 | height:25px; 140 | cursor: pointer; 141 | -webkit-transform: rotate(-180deg); 142 | -moz-transform: rotate(-180deg); 143 | transform: rotate(-180deg); 144 | -webkit-transition: all .3s cubic-bezier(0.285, -0.450, 0.935, 0.110); 145 | -moz-transition: all .3s cubic-bezier(0.285, -0.450, 0.935, 0.110); 146 | transition: all .3s cubic-bezier(0.285, -0.450, 0.935, 0.110); 147 | -webkit-transition-delay: 0.2s; 148 | -moz-transition-delay: 0.2s; 149 | transition-delay: 0.2s; 150 | } 151 | .search-wrapper.active .close { 152 | right:-50px; 153 | -webkit-transform: rotate(45deg); 154 | -moz-transform: rotate(45deg); 155 | transform: rotate(45deg); 156 | -webkit-transition: all .6s cubic-bezier(0.000, 0.105, 0.035, 1.570); 157 | -moz-transition: all .6s cubic-bezier(0.000, 0.105, 0.035, 1.570); 158 | transition: all .6s cubic-bezier(0.000, 0.105, 0.035, 1.570); 159 | -webkit-transition-delay: 0.5s; 160 | -moz-transition-delay: 0.5s; 161 | transition-delay: 0.5s; 162 | } 163 | .search-wrapper .close::before, .search-wrapper .close::after { 164 | position:absolute; 165 | content:''; 166 | background: #FFF; 167 | border-radius: 2px; 168 | } 169 | .search-wrapper .close::before { 170 | width: 5px; 171 | height: 25px; 172 | left: 10px; 173 | top: 0px; 174 | } 175 | .search-wrapper .close::after { 176 | width: 25px; 177 | height: 5px; 178 | left: 0px; 179 | top: 10px; 180 | } 181 | .search-wrapper .result-container { 182 | width: 100%; 183 | position: absolute; 184 | top:80px; 185 | left:0px; 186 | text-align: center; 187 | font-family: "Open Sans", Arial, Verdana; 188 | font-size: 14px; 189 | display:none; 190 | color:#B7B7B7; 191 | } 192 | 193 | 194 | @media screen and (max-width: 560px) { 195 | .search-wrapper.active .input-holder {width:200px;} 196 | } -------------------------------------------------------------------------------- /assets/css/count-down.css: -------------------------------------------------------------------------------- 1 | 2 | .container-count { 3 | margin-right: auto; 4 | margin-left: auto; 5 | *zoom: 1; 6 | } 7 | 8 | .container-count, .navbar-static-top .container-count, .navbar-fixed-top .container-count, .navbar-fixed-bottom .container-count { 9 | /*width: 940px;*/ 10 | } 11 | 12 | .container-count:before, .container-count:after { 13 | display: table; 14 | line-height: 0; 15 | content: ""; 16 | } 17 | 18 | .clock .span6 { 19 | width: 240px; 20 | } 21 | .clock { 22 | position: relative; 23 | } 24 | .clock .span6 { 25 | margin: 96px auto 0; 26 | float: none; 27 | position: relative; 28 | } 29 | .img-clock { 30 | display: block; 31 | margin: 0 auto; 32 | max-height: 146px; 33 | } 34 | .span6 img { 35 | width: auto\9; 36 | height: auto; 37 | max-width: 100%; 38 | vertical-align: middle; 39 | border: 0; 40 | -ms-interpolation-mode: bicubic; 41 | } 42 | #countdown { 43 | left: 15%; 44 | position: absolute; 45 | /*left: 28%;*/ 46 | bottom: 18%; 47 | } 48 | #countdown div { 49 | font-size: 20px; 50 | line-height: 16px; 51 | } 52 | #countdown div { 53 | float: left; 54 | font-family: 'JournalRegular', Arial, sans-serif; 55 | font-size: 50px; 56 | line-height: 38px; 57 | } 58 | 59 | 60 | #countdown div.days span { 61 | width: 50px; 62 | display: inline-block; 63 | text-align: right; 64 | } 65 | #countdown ins { 66 | color: #ffbd38; 67 | text-decoration: none; 68 | } 69 | #countdown em { 70 | font-size: 16px; 71 | } 72 | 73 | #countdown em { 74 | display: block; 75 | font-size: 34px; 76 | text-align: right; 77 | padding: 0 10px 0 0; 78 | } 79 | em { 80 | font-style: italic; 81 | } 82 | #countdown div { 83 | font-size: 20px; 84 | line-height: 16px; 85 | } 86 | #countdown div.hours span { 87 | padding: 0 14px; 88 | } 89 | #countdown div.minutes span { 90 | padding: 0 0 0 7px; 91 | } 92 | 93 | 94 | .social-links { 95 | clear: both; 96 | overflow: hidden; 97 | margin-bottom: 30px; 98 | } 99 | 100 | .social-links .span9 { 101 | padding-left: 20%; 102 | } 103 | 104 | .social-links ul { 105 | list-style: none; 106 | margin: 0; 107 | padding: 0; 108 | } 109 | 110 | .social-links ul li { 111 | float: left; 112 | padding: 0 28px 10px 0; 113 | } 114 | 115 | .social-links ul li a{ 116 | display: block; 117 | text-indent: -999em; 118 | width: 66px; 119 | height: 66px; 120 | cursor: pointer; 121 | } 122 | 123 | .social-links ul li.facebook a { 124 | background: url(../img/icon-facebook.png) no-repeat 0 0; 125 | } 126 | 127 | .social-links ul li.twitter a { 128 | background: url(../img/icon-twitter.png) no-repeat 0 0; 129 | } 130 | 131 | .social-links ul li.flickr a { 132 | background: url(../img/icon-flickr.png) no-repeat 0 0; 133 | } 134 | 135 | .social-links ul li.pinterest a { 136 | background: url(../img/icon-pinterest.png) no-repeat 0 0; 137 | } 138 | 139 | .social-links ul li.dribble a { 140 | background: url(../img/icon-dribble.png) no-repeat 0 0; 141 | } 142 | 143 | .social-links ul li.gplus a { 144 | background: url(../img/icon-gplus.png) no-repeat 0 0; 145 | } 146 | 147 | .social-links ul li.instagram a { 148 | background: url(../img/icon-instagram.png) no-repeat 0 0; 149 | } 150 | 151 | .clock { 152 | position: relative; 153 | } 154 | 155 | .clock .span6{ 156 | margin: 96px auto 0; 157 | float: none; 158 | position: relative; 159 | } 160 | 161 | .img-clock { 162 | display: block; 163 | margin: 0 auto; 164 | max-height: 146px; 165 | } 166 | 167 | #countdown { 168 | position: absolute; 169 | left: 28%; 170 | bottom: 18%; 171 | } 172 | 173 | #countdown div { 174 | float: left; 175 | font-family: 'JournalRegular', Arial, sans-serif; 176 | font-size: 50px; 177 | line-height: 38px; 178 | } 179 | 180 | #countdown em { 181 | display: block; 182 | font-size: 34px; 183 | text-align: right; 184 | padding: 0 10px 0 0; 185 | } 186 | 187 | #countdown ins { 188 | color: #ffbd38; 189 | text-decoration: none; 190 | } 191 | 192 | #countdown div.days span { 193 | width: 50px; 194 | display: inline-block; 195 | text-align: right; 196 | } 197 | 198 | #countdown div.hours span { 199 | padding: 0 14px; 200 | } 201 | 202 | #countdown div.hours em { 203 | text-align: left; 204 | } 205 | 206 | #countdown div.minutes span { 207 | padding: 0 0 0 7px; 208 | } 209 | 210 | #countdown div.minutes em { 211 | text-align: left; 212 | margin-left: -10px; 213 | } 214 | 215 | #countdown div.seconds span { 216 | padding-left: 10px; 217 | } 218 | 219 | #countdown div.seconds em { 220 | text-align: left; 221 | margin-left: -10px; 222 | } 223 | 224 | .form-container-count { 225 | padding: 0 50px; 226 | } 227 | 228 | .form-container-count h2 { 229 | color: #fff; 230 | text-transform: uppercase; 231 | font-size: 36px; 232 | font-weight: bold; 233 | width: 80%; 234 | border: none; 235 | } 236 | 237 | .form-container-count input { 238 | width: 97%; 239 | line-height:30px !important; 240 | } 241 | 242 | .form-container-count .btn { 243 | float: right; 244 | } 245 | 246 | .addthis { 247 | padding: 10px 10px 0px 10px; 248 | background: #ffffff; 249 | position: fixed; 250 | right: 0; 251 | bottom: 0; 252 | } 253 | 254 | 255 | /* iPhone 4 ----------- */ 256 | @media 257 | only screen and (-webkit-min-device-pixel-ratio : 1.5), 258 | only screen and (min-device-pixel-ratio : 1.5) { 259 | .nav-collapse.collapse { 260 | height: auto !important; 261 | overflow: visible !important; 262 | } 263 | .hero-unit { 264 | /*padding-top: 15px;*/ 265 | /*padding-bottom: 20px;*/ 266 | } 267 | .hero-unit h1 { 268 | font-size: 12px; 269 | } 270 | .clock .span6 { 271 | margin-top: 10px; 272 | } 273 | .social-links { 274 | margin-bottom: 0px; 275 | } 276 | .social-links ul li a { 277 | height: 20px; 278 | width: 20px; 279 | } 280 | .social-links ul li.facebook a, 281 | .social-links ul li.twitter a, 282 | .social-links ul li.flickr a, 283 | .social-links ul li.pinterest a, 284 | .social-links ul li.dribble a, 285 | .social-links ul li.gplus a, 286 | .social-links ul li.instagram a 287 | { 288 | background-size: 20px; 289 | } 290 | 291 | #countdown { 292 | left: 15%; 293 | 294 | } 295 | #countdown div { 296 | font-size: 20px; 297 | line-height: 16px; 298 | } 299 | #countdown em { 300 | font-size: 16px 301 | } 302 | .clock .span6 { 303 | width: 240px; 304 | 305 | } 306 | } 307 | 308 | .hero-unit { 309 | font-size: 18px; 310 | color: inherit; 311 | } 312 | .hero-unit h1 { 313 | font-size: 12px; 314 | } 315 | .hero-unit h1 { 316 | margin-bottom: 0; 317 | font-size: 14px; 318 | line-height: 1.3; 319 | letter-spacing: -1px; 320 | color: red; 321 | text-align: center; 322 | } -------------------------------------------------------------------------------- /static/js/4.b530ea7d5ec4696df8e1.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([4],{ISEo:function(e,t,n){(e.exports=n("FZ+f")(!0)).push([e.i,"\n.el-pagination .el-pager .active {\n background-color: #5c5c5c;\n color: white;\n border-radius: 0.2rem;\n margin-left: 0.2rem;\n margin-right: 0.2rem;\n}\n.v-appear-active {\n -webkit-transition: all 500ms;\n transition: all 500ms;\n}\n.v-appear {\n opacity: 0;\n -webkit-transform: translateX(-2em);\n transform: translateX(-2em);\n}\n.v-move {\n -webkit-transition: all 500ms;\n transition: all 500ms;\n}\n","",{version:3,sources:["D:/WebProject/hexo-theme-lite/src/views/pages/archives/ArchivesPage.vue"],names:[],mappings:";AACA;EACE,0BAA0B;EAC1B,aAAa;EACb,sBAAsB;EACtB,oBAAoB;EACpB,qBAAqB;CACtB;AACD;EACE,8BAA8B;EAC9B,sBAAsB;CACvB;AACD;EACE,WAAW;EACX,oCAAoC;UAC5B,4BAA4B;CACrC;AACD;EACE,8BAA8B;EAC9B,sBAAsB;CACvB",file:"ArchivesPage.vue",sourcesContent:["\n.el-pagination .el-pager .active {\n background-color: #5c5c5c;\n color: white;\n border-radius: 0.2rem;\n margin-left: 0.2rem;\n margin-right: 0.2rem;\n}\n.v-appear-active {\n -webkit-transition: all 500ms;\n transition: all 500ms;\n}\n.v-appear {\n opacity: 0;\n -webkit-transform: translateX(-2em);\n transform: translateX(-2em);\n}\n.v-move {\n -webkit-transition: all 500ms;\n transition: all 500ms;\n}\n"],sourceRoot:""}])},IUq3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("/5sW"),i=n("GMMN"),r=n("c+8m"),s=n.n(r),o=this&&this.__decorate||function(e,t,n,a){var i,r=arguments.length,s=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,n):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,a);else for(var o=e.length-1;o>=0;o--)(i=e[o])&&(s=(r<3?i(s):r>3?i(t,n,s):i(t,n))||s);return r>3&&s&&Object.defineProperty(t,n,s),s},l=this&&this.__awaiter||function(e,t,n,a){return new(n||(n=Promise))(function(i,r){function s(e){try{l(a.next(e))}catch(e){r(e)}}function o(e){try{l(a.throw(e))}catch(e){r(e)}}function l(e){e.done?i(e.value):new n(function(t){t(e.value)}).then(s,o)}l((a=a.apply(e,t||[])).next())})};let c=class extends a.default{get timeLines(){return this.$store.getters[`archives/${i.t}`]}get pagination(){const{pageCount:e,pageSize:t,total:n}=this.$store.state.archives.postsList;return{pageCount:e,pageSize:t,total:n}}get page(){return this.$store.state.archives.page}get format(){return this.$store.state.meta.hexoConfig.dateTimeFormat.date_format}get shouldPage(){return this.$store.getters[`meta/${i.s}`]}fetch({store:e}){return l(this,void 0,void 0,function*(){1!==e.state.archives.page&&(yield e.dispatch(`archives/${i.b}`,{page:1}))})}onPage(e){return l(this,void 0,void 0,function*(){this.$nprogress.start(),yield this.$store.dispatch(`archives/${i.b}`,{page:e}),window&&window.scrollTo(0,0),this.$nprogress.done()})}};var A=c=o([s()({name:"archives-page"})],c),p={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"archives-page"},[n("el-button",{directives:[{name:"show",rawName:"v-show",value:1!==e.page,expression:"page !== 1"}],attrs:{plain:"",size:"mini"},on:{click:function(t){e.onPage(1)}}},[n("i",{staticClass:"fa fa-undo",attrs:{"aria-hidden":"true"}}),e._v(" "),n("span",[e._v("Back")])]),e._v(" "),e._l(e.timeLines.keys,function(t){return n("div",{key:t,staticClass:"timeline"},[n("div",{staticClass:"leading"},[n("i",{staticClass:"fa fa-clock-o",attrs:{"aria-hidden":"true"}}),e._v(" "),n("span",[e._v(e._s(e._f("format")(t,"MMM. YYYY")))])]),e._v(" "),e._l(e.timeLines.entities[t],function(t){return n("el-row",{key:"title-"+t.slug,staticClass:"one-timeline",attrs:{type:"flex",gutter:10}},[n("el-col",{staticClass:"one-time",attrs:{span:6,offset:2}},[e._v(e._s(e._f("format")(t.date,"Do. MMM")))]),e._v(" "),n("el-col",{staticClass:"one-title",attrs:{span:16}},[t.link&&t.link.length?n("a",{attrs:{href:t.link,target:"_blank"}},[e._v("\n "+e._s(t.title||"Untitled")+"\n "),n("i",{staticClass:"fa fa-link external-link",attrs:{"aria-hidden":"true"}})]):n("router-link",{attrs:{to:{name:"post-page",params:{slug:t.slug}}}},[e._v("\n "+e._s(t.title||"Untitled")+"\n ")])],1)],1)})],2)}),e._v(" "),e.shouldPage?n("el-pagination",{staticClass:"pagination",attrs:{small:"",layout:"prev, pager, next",total:e.pagination.total,"page-size":e.pagination.pageSize,"current-page":e.page},on:{"current-change":e.onPage}}):e._e()],2)},staticRenderFns:[]},m=n("VU/8")(A,p,!1,function(e){n("mTb6"),n("rOE/")},"data-v-06bf989f",null);t.default=m.exports},mTb6:function(e,t,n){var a=n("qXMy");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);n("rjj0")("68853dc5",a,!0)},qXMy:function(e,t,n){(e.exports=n("FZ+f")(!0)).push([e.i,"\n.archives-page a[data-v-06bf989f] {\n border-bottom: 1px solid transparent;\n -webkit-transition: all 200ms;\n transition: all 200ms;\n}\n.archives-page a[data-v-06bf989f]:hover {\n border-bottom-color: #5c5c5c;\n}\n.archives-page .timeline .leading[data-v-06bf989f],\n.archives-page .timeline .one-timeline[data-v-06bf989f] {\n margin-top: 0;\n margin-bottom: 1.5rem;\n}\n.archives-page .timeline .leading[data-v-06bf989f] {\n text-align: center;\n font-size: 1.3rem;\n text-shadow: 0 0 1px #c2c2c2;\n margin-top: 0;\n}\n.archives-page .timeline .leading > *[data-v-06bf989f] {\n margin: 0 0.2rem;\n}\n.archives-page .timeline .one-timeline .one-time[data-v-06bf989f] {\n text-align: center;\n white-space: nowrap;\n}\n.archives-page .timeline .one-timeline .one-title[data-v-06bf989f] {\n word-break: break-all;\n}\n.archives-page .timeline .one-timeline .one-title .external-link[data-v-06bf989f] {\n font-size: 0.8em;\n}\n.archives-page .pagination[data-v-06bf989f] {\n text-align: center;\n}\n","",{version:3,sources:["D:/WebProject/hexo-theme-lite/src/views/pages/archives/ArchivesPage.vue"],names:[],mappings:";AACA;EACE,qCAAqC;EACrC,8BAA8B;EAC9B,sBAAsB;CACvB;AACD;IACI,6BAA6B;CAChC;AACD;;EAEE,cAAc;EACd,sBAAsB;CACvB;AACD;EACE,mBAAmB;EACnB,kBAAkB;EAClB,6BAA6B;EAC7B,cAAc;CACf;AACD;IACI,iBAAiB;CACpB;AACD;EACE,mBAAmB;EACnB,oBAAoB;CACrB;AACD;EACE,sBAAsB;CACvB;AACD;IACI,iBAAiB;CACpB;AACD;EACE,mBAAmB;CACpB",file:"ArchivesPage.vue",sourcesContent:["\n.archives-page a[data-v-06bf989f] {\n border-bottom: 1px solid transparent;\n -webkit-transition: all 200ms;\n transition: all 200ms;\n}\n.archives-page a[data-v-06bf989f]:hover {\n border-bottom-color: #5c5c5c;\n}\n.archives-page .timeline .leading[data-v-06bf989f],\n.archives-page .timeline .one-timeline[data-v-06bf989f] {\n margin-top: 0;\n margin-bottom: 1.5rem;\n}\n.archives-page .timeline .leading[data-v-06bf989f] {\n text-align: center;\n font-size: 1.3rem;\n text-shadow: 0 0 1px #c2c2c2;\n margin-top: 0;\n}\n.archives-page .timeline .leading > *[data-v-06bf989f] {\n margin: 0 0.2rem;\n}\n.archives-page .timeline .one-timeline .one-time[data-v-06bf989f] {\n text-align: center;\n white-space: nowrap;\n}\n.archives-page .timeline .one-timeline .one-title[data-v-06bf989f] {\n word-break: break-all;\n}\n.archives-page .timeline .one-timeline .one-title .external-link[data-v-06bf989f] {\n font-size: 0.8em;\n}\n.archives-page .pagination[data-v-06bf989f] {\n text-align: center;\n}\n"],sourceRoot:""}])},"rOE/":function(e,t,n){var a=n("ISEo");"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);n("rjj0")("57f11c37",a,!0)}}); 2 | //# sourceMappingURL=4.b530ea7d5ec4696df8e1.js.map -------------------------------------------------------------------------------- /footer.php: -------------------------------------------------------------------------------- 1 |
2 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 147 | options->statistics) $this->options->statistics(); ?> 148 | footer(); ?> 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | -------------------------------------------------------------------------------- /assets/OwO/OwO.json: -------------------------------------------------------------------------------- 1 | { 2 | "颜文字": { 3 | "type": "emoticon", 4 | "container": [ 5 | { 6 | "icon": "OωO", 7 | "text": "Author: DIYgod" 8 | }, 9 | { 10 | "icon": "|´・ω・)ノ", 11 | "text": "Hi" 12 | }, 13 | { 14 | "icon": "ヾ(≧∇≦*)ゝ", 15 | "text": "开心" 16 | }, 17 | { 18 | "icon": "(☆ω☆)", 19 | "text": "星星眼" 20 | }, 21 | { 22 | "icon": "(╯‵□′)╯︵┴─┴", 23 | "text": "掀桌" 24 | }, 25 | { 26 | "icon": " ̄﹃ ̄", 27 | "text": "流口水" 28 | }, 29 | { 30 | "icon": "(/ω\)", 31 | "text": "捂脸" 32 | }, 33 | { 34 | "icon": "∠( ᐛ 」∠)_", 35 | "text": "给跪" 36 | }, 37 | { 38 | "icon": "(๑•̀ㅁ•́ฅ)", 39 | "text": "Hi" 40 | }, 41 | { 42 | "icon": "→_→", 43 | "text": "斜眼" 44 | }, 45 | { 46 | "icon": "୧(๑•̀⌄•́๑)૭", 47 | "text": "加油" 48 | }, 49 | { 50 | "icon": "٩(ˊᗜˋ*)و", 51 | "text": "有木有WiFi" 52 | }, 53 | { 54 | "icon": "(ノ°ο°)ノ", 55 | "text": "前方高能预警" 56 | }, 57 | { 58 | "icon": "(´இ皿இ`)", 59 | "text": "我从未见过如此厚颜无耻之人" 60 | }, 61 | { 62 | "icon": "⌇●﹏●⌇", 63 | "text": "吓死宝宝惹" 64 | }, 65 | { 66 | "icon": "(ฅ´ω`ฅ)", 67 | "text": "已阅留爪" 68 | }, 69 | { 70 | "icon": "(╯°A°)╯︵○○○", 71 | "text": "去吧大师球" 72 | }, 73 | { 74 | "icon": "φ( ̄∇ ̄o)", 75 | "text": "太萌惹" 76 | }, 77 | { 78 | "icon": "ヾ(´・ ・`。)ノ\"", 79 | "text": "咦咦咦" 80 | }, 81 | { 82 | "icon": "( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃", 83 | "text": "气呼呼" 84 | }, 85 | { 86 | "icon": "(ó﹏ò。)", 87 | "text": "我受到了惊吓" 88 | }, 89 | { 90 | "icon": "Σ(っ °Д °;)っ", 91 | "text": "什么鬼" 92 | }, 93 | { 94 | "icon": "( ,,´・ω・)ノ\"(´っω・`。)", 95 | "text": "摸摸头" 96 | }, 97 | { 98 | "icon": "╮(╯▽╰)╭ ", 99 | "text": "无奈" 100 | }, 101 | { 102 | "icon": "o(*////▽////*)q ", 103 | "text": "脸红" 104 | }, 105 | { 106 | "icon": ">﹏<", 107 | "text": "" 108 | }, 109 | { 110 | "icon": "( ๑´•ω•) \"(ㆆᴗㆆ)", 111 | "text": "" 112 | }, 113 | { 114 | "icon": "(。•ˇ‸ˇ•。)", 115 | "text": "" 116 | } 117 | ] 118 | }, 119 | "Emoji": { 120 | "type": "emoji", 121 | "container": [ 122 | { 123 | "icon": "😂", 124 | "text": "" 125 | }, 126 | { 127 | "icon": "😀", 128 | "text": "" 129 | }, 130 | { 131 | "icon": "😅", 132 | "text": "" 133 | }, 134 | { 135 | "icon": "😊", 136 | "text": "" 137 | }, 138 | { 139 | "icon": "🙂", 140 | "text": "" 141 | }, 142 | { 143 | "icon": "🙃", 144 | "text": "" 145 | }, 146 | { 147 | "icon": "😌", 148 | "text": "" 149 | }, 150 | { 151 | "icon": "😍", 152 | "text": "" 153 | }, 154 | { 155 | "icon": "😘 ", 156 | "text": "" 157 | }, 158 | { 159 | "icon": "😜", 160 | "text": "" 161 | }, 162 | { 163 | "icon": "😝", 164 | "text": "" 165 | }, 166 | { 167 | "icon": "😏", 168 | "text": "" 169 | }, 170 | { 171 | "icon": "😒", 172 | "text": "" 173 | }, 174 | { 175 | "icon": "🙄", 176 | "text": "" 177 | }, 178 | { 179 | "icon": "😳 ", 180 | "text": "" 181 | }, 182 | { 183 | "icon": "😡", 184 | "text": "" 185 | }, 186 | { 187 | "icon": "😔", 188 | "text": "" 189 | }, 190 | { 191 | "icon": "😫", 192 | "text": "" 193 | }, 194 | { 195 | "icon": "😱", 196 | "text": "" 197 | }, 198 | { 199 | "icon": "😭", 200 | "text": "" 201 | }, 202 | { 203 | "icon": "💩", 204 | "text": "" 205 | }, 206 | { 207 | "icon": "👻", 208 | "text": "" 209 | }, 210 | { 211 | "icon": "🙌", 212 | "text": "" 213 | }, 214 | { 215 | "icon": "🖕", 216 | "text": "" 217 | }, 218 | { 219 | "icon": "👍", 220 | "text": "" 221 | }, 222 | { 223 | "icon": "👫", 224 | "text": "" 225 | }, 226 | { 227 | "icon": "👬", 228 | "text": "" 229 | }, 230 | { 231 | "icon": "👭", 232 | "text": "" 233 | }, 234 | { 235 | "icon": "🌚", 236 | "text": "" 237 | }, 238 | { 239 | "icon": "🌝", 240 | "text": "" 241 | }, 242 | { 243 | "icon": "🙈", 244 | "text": "" 245 | }, 246 | { 247 | "icon": "💊", 248 | "text": "" 249 | }, 250 | { 251 | "icon": "😶", 252 | "text": "" 253 | }, 254 | { 255 | "icon": "🙏", 256 | "text": "" 257 | }, 258 | { 259 | "icon": "🍦", 260 | "text": "" 261 | }, 262 | { 263 | "icon": "🍉", 264 | "text": "" 265 | }, 266 | { 267 | "icon": "😣", 268 | "text": "" 269 | } 270 | ] 271 | } 272 | } -------------------------------------------------------------------------------- /assets/css/hexagons.css: -------------------------------------------------------------------------------- 1 | /** {*/ 2 | /*margin: 0;*/ 3 | /*padding: 0;*/ 4 | /*}*/ 5 | body { background-color: rgba(35,35,35,1.00); } 6 | #hexGrid { 7 | overflow: hidden; 8 | width: 96%; 9 | margin: 0 auto; 10 | padding:0.866% 0; 11 | font-family: 'Raleway', sans-serif; 12 | font-size: 15px; 13 | 14 | } 15 | #hexGrid:after { 16 | content: ""; 17 | display: block; 18 | clear: both; 19 | } 20 | .hex { 21 | position: relative; 22 | list-style-type: none; 23 | float: left; 24 | overflow: hidden; 25 | visibility: hidden; 26 | outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */ 27 | -webkit-transform: rotate(-60deg) skewY(30deg) translatez(-1px); 28 | -ms-transform: rotate(-60deg) skewY(30deg) translatez(-1px); 29 | transform: rotate(-60deg) skewY(30deg) translatez(-1px); 30 | } 31 | .hex * { 32 | position: absolute; 33 | visibility: visible; 34 | outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */ 35 | margin: 0; 36 | padding: 0; 37 | } 38 | .hexIn { 39 | display:block; 40 | width: 100%; 41 | height: 100%; 42 | text-align: center; 43 | color: #fff; 44 | overflow: hidden; 45 | -webkit-transform: skewY(-30deg) rotate(60deg); 46 | -ms-transform: skewY(-30deg) rotate(60deg); 47 | transform: skewY(-30deg) rotate(60deg); 48 | } 49 | 50 | /*** HEX CONTENT **********************************************************************/ 51 | .hex img { 52 | left: -100%; 53 | right: -100%; 54 | width: auto; 55 | height: 100%; 56 | margin: 0 auto; 57 | } 58 | 59 | .hex #h1, .hex span { 60 | width: 102%; 61 | left:-1%; /* prevent line on the right where background doesn't cover image */ 62 | padding: 5%; 63 | box-sizing:border-box; 64 | background-color: rgba(0, 128, 128, 0.9); 65 | font-weight: 300; 66 | -webkit-transition: -webkit-transform .2s ease-out, opacity .3s ease-out; 67 | transition: transform .2s ease-out, opacity .3s ease-out; 68 | color: #5d5b5b; 69 | } 70 | .hex #h1 { 71 | bottom: 50%; 72 | padding-top:50%; 73 | font-size: 1.5em; 74 | z-index: 1; 75 | -webkit-transform:translateY(-100%) translatez(-1px); 76 | -ms-transform:translateY(-100%) translatez(-1px); 77 | transform:translateY(-100%) translatez(-1px); 78 | text-align: center; 79 | color: black; 80 | } 81 | .hex #h1:after { 82 | content: ''; 83 | position: absolute; 84 | bottom: 0; 85 | left: 45%; 86 | width: 10%; 87 | text-align: center; 88 | border-bottom: 1px solid #fff; 89 | } 90 | .hex span { 91 | top: 50%; 92 | padding-bottom:50%; 93 | -webkit-transform:translateY(100%) translatez(-1px); 94 | -ms-transform:translateY(100%) translatez(-1px); 95 | transform:translateY(100%) translatez(-1px); 96 | color: black; 97 | } 98 | 99 | 100 | /*** HOVER EFFECT **********************************************************************/ 101 | .hexIn:hover #h1, .hexIn:focus #h1, 102 | .hexIn:hover span, .hexIn:focus span{ 103 | -webkit-transform:translateY(0%) translatez(-1px); 104 | -ms-transform:translateY(0%) translatez(-1px); 105 | transform:translateY(0%) translatez(-1px); 106 | } 107 | 108 | /*** SPACING AND SIZING *****************************************************************/ 109 | @media (min-width:1201px) { /* <- 5-4 hexagons per row */ 110 | .hex { 111 | width: 24.25%; /* = (100-3) / 4 */ 112 | padding-bottom: 28.001%; /* = width / sin(60deg) */ 113 | } 114 | .hex:nth-child(7n+5), 115 | .hex:nth-child(7n+6), 116 | .hex:nth-child(7n+7) { 117 | margin-top: -6.134%; 118 | margin-bottom: -6.134%; 119 | -webkit-transform: translateX(50%) rotate(-60deg) skewY(30deg); 120 | -ms-transform: translateX(50%) rotate(-60deg) skewY(30deg); 121 | transform: translateX(50%) rotate(-60deg) skewY(30deg); 122 | } 123 | .hex:nth-child(7n+5):last-child, 124 | .hex:nth-child(7n+6):last-child, 125 | .hex:nth-child(7n+7):last-child { 126 | margin-bottom: 0; 127 | } 128 | .hex:nth-child(7n+2), 129 | .hex:nth-child(7n+6) { 130 | margin-left: 1%; 131 | margin-right: 1%; 132 | } 133 | .hex:nth-child(7n+3) { 134 | margin-right: 1%; 135 | } 136 | .hex:nth-child(7n+8) { 137 | clear: left; 138 | } 139 | .hex:nth-child(7n+5) { 140 | clear: left; 141 | margin-left: 0.5%; 142 | } 143 | } 144 | @media (max-width: 1200px) and (min-width:901px) {/* <- 4-3 hexagons per row */ 145 | .hex { 146 | width: 24.25%; /* = (100-3) / 4 */ 147 | padding-bottom: 28.001%; /* = width / sin(60deg) */ 148 | } 149 | .hex:nth-child(7n+5), 150 | .hex:nth-child(7n+6), 151 | .hex:nth-child(7n+7) { 152 | margin-top: -6.134%; 153 | margin-bottom: -6.134%; 154 | -webkit-transform: translateX(50%) rotate(-60deg) skewY(30deg); 155 | -ms-transform: translateX(50%) rotate(-60deg) skewY(30deg); 156 | transform: translateX(50%) rotate(-60deg) skewY(30deg); 157 | } 158 | .hex:nth-child(7n+5):last-child, 159 | .hex:nth-child(7n+6):last-child, 160 | .hex:nth-child(7n+7):last-child { 161 | margin-bottom: 0; 162 | } 163 | .hex:nth-child(7n+2), 164 | .hex:nth-child(7n+6) { 165 | margin-left: 1%; 166 | margin-right: 1%; 167 | } 168 | .hex:nth-child(7n+3) { 169 | margin-right: 1%; 170 | } 171 | .hex:nth-child(7n+8) { 172 | clear: left; 173 | } 174 | .hex:nth-child(7n+5) { 175 | clear: left; 176 | margin-left: 0.5%; 177 | } 178 | } 179 | @media (max-width: 900px) and (min-width:601px) { /* <- 3-2 hexagons per row */ 180 | .hex { 181 | width: 32.666%; /* = (100-2) / 3 */ 182 | padding-bottom: 37.720%; /* = width / sin(60) */ 183 | } 184 | .hex:nth-child(5n+4), 185 | .hex:nth-child(5n+5) { 186 | margin-top: -8.564%; 187 | margin-bottom: -8.564%; 188 | -webkit-transform: translateX(50%) rotate(-60deg) skewY(30deg); 189 | -ms-transform: translateX(50%) rotate(-60deg) skewY(30deg); 190 | transform: translateX(50%) rotate(-60deg) skewY(30deg); 191 | } 192 | .hex:nth-child(5n+4):last-child, 193 | .hex:nth-child(5n+5):last-child { 194 | margin-bottom: 0; 195 | } 196 | .hex:nth-child(5n+4) { 197 | margin-right: 1%; 198 | margin-left: 0.5%; 199 | } 200 | .hex:nth-child(5n+2) { 201 | margin-left: 1%; 202 | margin-right: 1%; 203 | } 204 | .hex:nth-child(5n+6) { 205 | clear: left; 206 | } 207 | } 208 | @media (max-width: 600px) { /* <- 2-1 hexagons per row */ 209 | .hex { 210 | width: 49.5%; /* = (100-1) / 2 */ 211 | padding-bottom: 57.158%; /* = width / sin(60) */ 212 | } 213 | .hex:nth-child(3n+3) { 214 | margin-top: -13.423%; 215 | margin-bottom: -13.423%; 216 | -webkit-transform: translateX(50%) rotate(-60deg) skewY(30deg); 217 | -ms-transform: translateX(50%) rotate(-60deg) skewY(30deg); 218 | transform: translateX(50%) rotate(-60deg) skewY(30deg); 219 | } 220 | .hex:nth-child(3n+3):last-child { 221 | margin-bottom: 0; 222 | } 223 | .hex:nth-child(3n+3) { 224 | margin-left: 0.5%; 225 | } 226 | .hex:nth-child(3n+2) { 227 | margin-left: 1%; 228 | } 229 | .hex:nth-child(3n+4) { 230 | clear: left; 231 | } 232 | } 233 | @media (max-width: 400px) { 234 | #hexGrid { 235 | font-size: 13px; 236 | } 237 | } 238 | -------------------------------------------------------------------------------- /static/js/6.881c66edb9204f71bb5d.js: -------------------------------------------------------------------------------- 1 | webpackJsonp([6],{W8u9:function(t,e,s){(t.exports=s("FZ+f")(!0)).push([t.i,"\n.related-posts[data-v-513e59b0] {\n text-align: center;\n}\n.related-posts .control-panel[data-v-513e59b0] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.related-posts .control-panel .btn-warp[data-v-513e59b0] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.related-posts .control-panel .btn-warp .back[data-v-513e59b0] {\n margin-left: 0.2rem;\n}\n.related-posts .control-panel > *[data-v-513e59b0] {\n margin-right: 1rem;\n}\n.related-posts .control-panel > *[data-v-513e59b0]:last-child {\n margin-right: 0;\n}\n.related-posts .search-result > *[data-v-513e59b0] {\n margin: 0 0.2rem;\n}\n.related-posts .fix[data-v-513e59b0] {\n height: 100%;\n width: 1.5rem;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.related-posts > *[data-v-513e59b0] {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n.related-posts > *[data-v-513e59b0]:last-child {\n margin-bottom: 0;\n}\n.related-posts .modal-picture[data-v-513e59b0] {\n max-width: 950px;\n min-width: 150px;\n min-height: 100px;\n cursor: -webkit-zoom-out;\n cursor: zoom-out;\n}\n","",{version:3,sources:["D:/WebProject/hexo-theme-lite/src/views/pages/related-posts/RelatedPosts.vue"],names:[],mappings:";AACA;EACE,mBAAmB;CACpB;AACD;IACI,qBAAqB;IACrB,qBAAqB;IACrB,cAAc;IACd,yBAAyB;QACrB,sBAAsB;YAClB,wBAAwB;CACnC;AACD;MACM,qBAAqB;MACrB,qBAAqB;MACrB,cAAc;MACd,0BAA0B;UACtB,uBAAuB;cACnB,oBAAoB;CACjC;AACD;QACQ,oBAAoB;CAC3B;AACD;MACM,mBAAmB;CACxB;AACD;QACQ,gBAAgB;CACvB;AACD;IACI,iBAAiB;CACpB;AACD;IACI,aAAa;IACb,cAAc;IACd,qBAAqB;IACrB,qBAAqB;IACrB,cAAc;IACd,0BAA0B;QACtB,uBAAuB;YACnB,oBAAoB;IAC5B,yBAAyB;QACrB,sBAAsB;YAClB,wBAAwB;CACnC;AACD;IACI,cAAc;IACd,oBAAoB;CACvB;AACD;MACM,iBAAiB;CACtB;AACD;IACI,iBAAiB;IACjB,iBAAiB;IACjB,kBAAkB;IAClB,yBAAyB;IACzB,iBAAiB;CACpB",file:"RelatedPosts.vue",sourcesContent:["\n.related-posts[data-v-513e59b0] {\n text-align: center;\n}\n.related-posts .control-panel[data-v-513e59b0] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.related-posts .control-panel .btn-warp[data-v-513e59b0] {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.related-posts .control-panel .btn-warp .back[data-v-513e59b0] {\n margin-left: 0.2rem;\n}\n.related-posts .control-panel > *[data-v-513e59b0] {\n margin-right: 1rem;\n}\n.related-posts .control-panel > *[data-v-513e59b0]:last-child {\n margin-right: 0;\n}\n.related-posts .search-result > *[data-v-513e59b0] {\n margin: 0 0.2rem;\n}\n.related-posts .fix[data-v-513e59b0] {\n height: 100%;\n width: 1.5rem;\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.related-posts > *[data-v-513e59b0] {\n margin-top: 0;\n margin-bottom: 1rem;\n}\n.related-posts > *[data-v-513e59b0]:last-child {\n margin-bottom: 0;\n}\n.related-posts .modal-picture[data-v-513e59b0] {\n max-width: 950px;\n min-width: 150px;\n min-height: 100px;\n cursor: -webkit-zoom-out;\n cursor: zoom-out;\n}\n"],sourceRoot:""}])},gxIR:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=s("/5sW"),a=s("c+8m"),o=s.n(a),r=s("HkmY"),i=s("1Rqk"),l=s("GMMN"),c=s("FKcG"),d=this&&this.__decorate||function(t,e,s,n){var a,o=arguments.length,r=o<3?e:null===n?n=Object.getOwnPropertyDescriptor(e,s):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(t,e,s,n);else for(var i=t.length-1;i>=0;i--)(a=t[i])&&(r=(o<3?a(r):o>3?a(e,s,r):a(e,s))||r);return o>3&&r&&Object.defineProperty(e,s,r),r},p=this&&this.__awaiter||function(t,e,s,n){return new(s||(s=Promise))(function(a,o){function r(t){try{l(n.next(t))}catch(t){o(t)}}function i(t){try{l(n.throw(t))}catch(t){o(t)}}function l(t){t.done?a(t.value):new s(function(e){e(t.value)}).then(r,i)}l((n=n.apply(t,e||[])).next())})};let A=class extends n.default{constructor(){super(...arguments),this.search="",this.modal=new c.a}get format(){return this.$store.state.meta.hexoConfig.dateTimeFormat.date_format}get posts(){const{type:t}=this.$route.params,e=this.$store.state;return"category"===t?e.categories.oneCategoryPosts.postlist:"tag"===t?e.tags.oneTagPosts.postlist:[]}get displayPosts(){const t=this.$data.search;return t.length?this.posts.filter(e=>-1!==e.title.toLowerCase().indexOf(t.toLowerCase())):this.posts}get shouldShowEOF(){return!!this.displayPosts.length&&!!this.displayPosts[this.displayPosts.length-1].excerpt}fetch({store:t,route:e}){return p(this,void 0,void 0,function*(){const{type:s,slug:n}=e.params;"category"===s?yield t.dispatch(`categories/${l.g}`,{slug:n}):"tag"===s&&(yield t.dispatch(`tags/${l.h}`,{slug:n}))})}showPhotoDetail({url:t,post:e}){this.$data.modal.post=e,this.$data.modal.url=t,this.$nextTick(()=>{this.$data.modal.isShown=!0})}back(){const{type:t}=this.$route.params;"category"===t?this.$router.push({name:"categories-page"}):"tag"===t?this.$router.push({name:"tags-page"}):this.$router.go(-1)}};var h=A=d([o()({name:"related-posts",components:{ArticleCard:r.a,EndOfFile:i.a},beforeRouteUpdate(t,e,s){return p(this,void 0,void 0,function*(){const{asyncData:e}=this.$options;if(e)try{this.$nprogress.start(),this.$data.search="",yield e({store:this.$store,route:t}),this.$nprogress.done()}catch(t){s(t)}else s()})}})],A),u={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"related-posts"},[s("div",{staticClass:"control-panel"},[s("el-input",{staticClass:"search",attrs:{placeholder:"Search posts by title..."},model:{value:t.search,callback:function(e){t.search=e},expression:"search"}},[s("div",{staticClass:"btn-warp",attrs:{slot:"prepend"},slot:"prepend"},[s("el-button",{attrs:{size:"mini"},on:{click:t.back}},[s("div",{staticClass:"btn-warp"},[s("i",{staticClass:"fa fa-undo",attrs:{"aria-hidden":"true"}}),t._v(" "),s("span",{staticClass:"back"},[t._v("Back")])])])],1),t._v(" "),s("div",{staticClass:"fix",attrs:{slot:"suffix"},slot:"suffix"},[s("i",{staticClass:"fa fa-search",attrs:{"aria-hidden":"true"}})])])],1),t._v(" "),s("p",{staticClass:"search-result"},[s("i",{class:"fa "+(t.search.length?"fa-check":"fa-smile-o"),attrs:{"aria-hidden":"true"}}),t._v(" "),s("span",[t._v(t._s(t.displayPosts.length)+" post"+t._s(t.displayPosts.length>=2?"s":"")+" "+t._s(t.search.length?"searched":"")+" in total.")])]),t._v(" "),s("el-dialog",{attrs:{visible:t.modal.isShown,width:"min-content"},on:{"update:visible":function(e){t.$set(t.modal,"isShown",e)}}},[s("img",{staticClass:"modal-picture",attrs:{src:t.modal.url,alt:t.modal.url},on:{click:function(e){t.modal.isShown=!1}}})]),t._v(" "),s("div",{staticClass:"article-list"},t._l(t.displayPosts,function(e){return s("article-card",{key:e.slug,attrs:{format:t.format,post:e,showPhotos:!0},on:{"photo-zoom-in":t.showPhotoDetail}})})),t._v(" "),s("end-of-file",{directives:[{name:"show",rawName:"v-show",value:t.shouldShowEOF,expression:"shouldShowEOF"}]})],1)},staticRenderFns:[]},m=s("VU/8")(h,u,!1,function(t){s("yL6v")},"data-v-513e59b0",null);e.default=m.exports},yL6v:function(t,e,s){var n=s("W8u9");"string"==typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);s("rjj0")("89eb755a",n,!0)}}); 2 | //# sourceMappingURL=6.881c66edb9204f71bb5d.js.map -------------------------------------------------------------------------------- /static/js/manifest.992b63bf2abbf3194771.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["webpack:///webpack/bootstrap 912f1e22ddc2edfe9ea1"],"names":["__webpack_require__","moduleId","installedModules","exports","module","i","l","modules","call","parentJsonpFunction","window","chunkIds","moreModules","executeModules","chunkId","result","resolves","length","installedChunks","push","Object","prototype","hasOwnProperty","shift","s","10","e","onScriptComplete","script","onerror","onload","clearTimeout","timeout","chunk","Error","undefined","installedChunkData","Promise","resolve","promise","reject","head","document","getElementsByTagName","createElement","type","charset","async","nc","setAttribute","src","p","0","1","2","3","4","5","6","7","8","9","setTimeout","appendChild","m","c","d","name","getter","o","defineProperty","configurable","enumerable","get","n","__esModule","object","property","oe","err","console","error"],"mappings":"aAuCA,SAAAA,EAAAC,GAGA,GAAAC,EAAAD,GACA,OAAAC,EAAAD,GAAAE,QAGA,IAAAC,EAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,YAUA,OANAI,EAAAN,GAAAO,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QA1DA,IAAAM,EAAAC,OAAA,aACAA,OAAA,sBAAAC,EAAAC,EAAAC,GAIA,IADA,IAAAZ,EAAAa,EAAAC,EAAAV,EAAA,EAAAW,KACQX,EAAAM,EAAAM,OAAoBZ,IAC5BS,EAAAH,EAAAN,GACAa,EAAAJ,IACAE,EAAAG,KAAAD,EAAAJ,GAAA,IAEAI,EAAAJ,GAAA,EAEA,IAAAb,KAAAW,EACAQ,OAAAC,UAAAC,eAAAd,KAAAI,EAAAX,KACAM,EAAAN,GAAAW,EAAAX,IAIA,IADAQ,KAAAE,EAAAC,EAAAC,GACAG,EAAAC,QACAD,EAAAO,OAAAP,GAEA,GAAAH,EACA,IAAAR,EAAA,EAAYA,EAAAQ,EAAAI,OAA2BZ,IACvCU,EAAAf,IAAAwB,EAAAX,EAAAR,IAGA,OAAAU,GAIA,IAAAb,KAGAgB,GACAO,GAAA,GA6BAzB,EAAA0B,EAAA,SAAAZ,GA+BA,SAAAa,IAEAC,EAAAC,QAAAD,EAAAE,OAAA,KACAC,aAAAC,GACA,IAAAC,EAAAf,EAAAJ,GACA,IAAAmB,IACAA,GACAA,EAAA,OAAAC,MAAA,iBAAApB,EAAA,aAEAI,EAAAJ,QAAAqB,GAvCA,IAAAC,EAAAlB,EAAAJ,GACA,OAAAsB,EACA,WAAAC,QAAA,SAAAC,GAA0CA,MAI1C,GAAAF,EACA,OAAAA,EAAA,GAIA,IAAAG,EAAA,IAAAF,QAAA,SAAAC,EAAAE,GACAJ,EAAAlB,EAAAJ,IAAAwB,EAAAE,KAEAJ,EAAA,GAAAG,EAGA,IAAAE,EAAAC,SAAAC,qBAAA,WACAf,EAAAc,SAAAE,cAAA,UACAhB,EAAAiB,KAAA,kBACAjB,EAAAkB,QAAA,QACAlB,EAAAmB,OAAA,EACAnB,EAAAI,QAAA,KAEAhC,EAAAgD,IACApB,EAAAqB,aAAA,QAAAjD,EAAAgD,IAEApB,EAAAsB,IAAAlD,EAAAmD,EAAA,aAAArC,EAAA,KAAwEsC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,uBAAAC,EAAA,wBAA8Q/C,GAAA,MACtV,IAAAkB,EAAA8B,WAAAnC,EAAA,MAgBA,OAfAC,EAAAC,QAAAD,EAAAE,OAAAH,EAaAc,EAAAsB,YAAAnC,GAEAW,GAIAvC,EAAAgE,EAAAzD,EAGAP,EAAAiE,EAAA/D,EAGAF,EAAAkE,EAAA,SAAA/D,EAAAgE,EAAAC,GACApE,EAAAqE,EAAAlE,EAAAgE,IACA/C,OAAAkD,eAAAnE,EAAAgE,GACAI,cAAA,EACAC,YAAA,EACAC,IAAAL,KAMApE,EAAA0E,EAAA,SAAAtE,GACA,IAAAgE,EAAAhE,KAAAuE,WACA,WAA2B,OAAAvE,EAAA,SAC3B,WAAiC,OAAAA,GAEjC,OADAJ,EAAAkE,EAAAE,EAAA,IAAAA,GACAA,GAIApE,EAAAqE,EAAA,SAAAO,EAAAC,GAAsD,OAAAzD,OAAAC,UAAAC,eAAAd,KAAAoE,EAAAC,IAGtD7E,EAAAmD,EAAA,IAGAnD,EAAA8E,GAAA,SAAAC,GAA8D,MAApBC,QAAAC,MAAAF,GAAoBA","file":"static/js/manifest.992b63bf2abbf3194771.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tvar parentJsonpFunction = window[\"webpackJsonp\"];\n \twindow[\"webpackJsonp\"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [], result;\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules);\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n \t\tif(executeModules) {\n \t\t\tfor(i=0; i < executeModules.length; i++) {\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = executeModules[i]);\n \t\t\t}\n \t\t}\n \t\treturn result;\n \t};\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// objects to store loaded and loading chunks\n \tvar installedChunks = {\n \t\t10: 0\n \t};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData === 0) {\n \t\t\treturn new Promise(function(resolve) { resolve(); });\n \t\t}\n\n \t\t// a Promise means \"currently loading\".\n \t\tif(installedChunkData) {\n \t\t\treturn installedChunkData[2];\n \t\t}\n\n \t\t// setup Promise in chunk cache\n \t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t});\n \t\tinstalledChunkData[2] = promise;\n\n \t\t// start chunk loading\n \t\tvar head = document.getElementsByTagName('head')[0];\n \t\tvar script = document.createElement('script');\n \t\tscript.type = 'text/javascript';\n \t\tscript.charset = 'utf-8';\n \t\tscript.async = true;\n \t\tscript.timeout = 120000;\n\n \t\tif (__webpack_require__.nc) {\n \t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t}\n \t\tscript.src = __webpack_require__.p + \"static/js/\" + chunkId + \".\" + {\"0\":\"70dabc1c0009631e2a0e\",\"1\":\"bcea4c6d162aee194d2f\",\"2\":\"3cfdff1b7c1cae50046a\",\"3\":\"deac70890ffb1825009b\",\"4\":\"b530ea7d5ec4696df8e1\",\"5\":\"c7fc1283ec1fdfd0717e\",\"6\":\"881c66edb9204f71bb5d\",\"7\":\"cae543e622eab56f781f\",\"8\":\"e12dc8c9af1f7aa12436\",\"9\":\"bc036f9167871d39aecf\"}[chunkId] + \".js\";\n \t\tvar timeout = setTimeout(onScriptComplete, 120000);\n \t\tscript.onerror = script.onload = onScriptComplete;\n \t\tfunction onScriptComplete() {\n \t\t\t// avoid mem leaks in IE.\n \t\t\tscript.onerror = script.onload = null;\n \t\t\tclearTimeout(timeout);\n \t\t\tvar chunk = installedChunks[chunkId];\n \t\t\tif(chunk !== 0) {\n \t\t\t\tif(chunk) {\n \t\t\t\t\tchunk[1](new Error('Loading chunk ' + chunkId + ' failed.'));\n \t\t\t\t}\n \t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t}\n \t\t};\n \t\thead.appendChild(script);\n\n \t\treturn promise;\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 912f1e22ddc2edfe9ea1"],"sourceRoot":""} -------------------------------------------------------------------------------- /comments.php: -------------------------------------------------------------------------------- 1 | 2 | 26 | 27 | authorId) { 31 | if ($comments->authorId == $comments->ownerId) { 32 | $commentClass .= ' comment-by-author'; 33 | } else { 34 | $commentClass .= ' comment-by-user'; 35 | } 36 | } 37 | $commentLevelClass = $comments->levels > 0 ? ' comment-child' : ' comment-parent'; 38 | ?> 39 |
  • 49 | 50 | gravatar('240', ''); ?> 51 | 52 |
    53 |
    54 | 55 | By 56 | url\" rel=\"external nofollow\" target=\"_blank\" class=\"gitment-comment-name\">$comments->author"; ?> at date('Y-m-d H:i'); ?>. 57 | 58 | agent); ?> 59 | 60 | 61 | reply(''); ?> 62 | 63 |
    64 |
    65 | coid); ?> 66 | 67 | 68 |
    69 |
    70 | 71 | children) { ?> 72 |
    73 | threadedComments($options); ?> 74 |
    75 | 76 |
  • 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 |
    86 |
    87 | 88 | allow('comment')): ?> 89 | comments()->to($comments); ?> 90 | 91 | 92 |
    93 | listComments(); ?> 94 |
    95 | 96 | 97 | 98 | 101 |
    102 | 103 |
    104 | 105 |
    106 | 107 | cancelReply(''); ?> 108 | 109 | 110 | 111 | 112 | 113 | 114 | 添加新评论 115 | 116 |
    118 | user->hasLogin()): ?> 119 |

    120 | 121 | 122 | user->screenName(); ?> 123 | . 124 | 125 | » 126 |

    127 | 128 |
    129 |

    130 | 131 | 132 |

    133 |

    134 | 137 | 138 |

    139 |

    140 | 144 | options->commentsRequireMail): ?> required 146 | /> 147 |

    148 |

    149 | 153 | options->commentsRequireURL): ?> required 156 | /> 157 |

    158 |
    159 | 160 | options->commentsMarkdown): ?> 161 |
    162 | Markdown is supported. 163 |
    164 | 165 |

    166 | 167 | 168 |

    169 | 182 |
    183 | 184 |
    185 |
    186 |
    187 | 188 | 189 | -------------------------------------------------------------------------------- /header.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | header("generator=&commentReply="); ?> 15 | <?php $this->archiveTitle(array( 16 | 'category' => _t('分类 %s 下的文章'), 17 | 'search' => _t('包含关键字 %s 的文章'), 18 | 'tag' => _t('标签 %s 下的文章'), 19 | 'author' => _t('%s 发布的文章') 20 | ), '', ' - '); ?><?php $this->options->title(); ?> - <?php $this->options->description(); ?> 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | options->userHeader) $this->options->userHeader(); ?> 39 | 40 | 41 | 42 | 46 | 47 | is('post')); 52 | // print_r($this->is('page')); 53 | // print_r($this->is('single')); 54 | ?> 55 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 76 | 77 | 78 |
    79 | 80 |
    81 |
    82 | 109 |
    110 |
    111 |
    112 | 113 | 114 | 121 | 122 |
    123 |
    124 | avatar 125 |

    options->title(); ?>

    126 |

    options->description(); ?>

    127 | 128 |
    132 |
    133 |
    134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | -------------------------------------------------------------------------------- /static/js/5.c7fc1283ec1fdfd0717e.js.map: -------------------------------------------------------------------------------- 1 | {"version":3,"sources":["webpack:///./src/views/pages/categories/categories.page.ts","webpack:///./src/views/pages/categories/CategoriesPage.vue?5541","webpack:///./src/views/pages/categories/CategoriesPage.vue","webpack:///./src/views/pages/categories/CategoriesPage.vue?be15","webpack:///./src/views/pages/categories/CategoriesPage.vue?d91a"],"names":["categories_page_CategoriesPage","vue_runtime_esm","[object Object]","this","search","categoriesTree","$store","getters","types","treeProps","label","isLeaf","data","Array","isArray","children","length","store","route","dispatch","$router","push","name","params","type","slug","toLowerCase","indexOf","h","$data","index","before","substr","middle","after","style","fontWeight","fontSize","__decorate","vue_class_component_common_default","watch","val","$refs","tree","filter","categories_CategoriesPage","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","placeholder","model","value","callback","$$v","expression","slot","aria-hidden","_v","ref","props","node-key","empty-text","default-expand-all","expand-on-click-node","render-content","renderContent","filter-node-method","on","node-click","nodeClick","staticRenderFns","Component","__webpack_require__","normalizeComponent","categories_page","ssrContext","__webpack_exports__","content","module","i","locals","exports","version","sources","names","mappings","file","sourcesContent","sourceRoot"],"mappings":"8wBAiBA,IAAqBA,gBAAuBC,EAAA,QAR5CC,kCASEC,KAAAC,OAAS,GAETC,qBACE,OAAOF,KAAKG,OAAOC,sBAAuBC,EAAA,KAG5CC,gBACE,OACEC,MAAO,OACPC,OAASC,IAAyCC,MAAMC,QAAQF,KAAUA,EAAKG,SAASC,QAItFd,OAAMe,MAAEA,EAAKC,MAAEA,kDACbD,EAAME,uBAAuBX,EAAA,OAGrCN,UAAUU,GACRT,KAAKiB,QAAQC,MAAOC,KAAM,qBAAsBC,QAAUC,KAAM,WAAYC,KAAMb,EAAKa,QAGzFvB,OAAOE,EAAgBQ,GACrB,OAAKR,IAC6D,IAA3DQ,EAAKU,KAAKI,cAAcC,QAAQvB,EAAOsB,eAGhDxB,cAAc0B,GAAkBhB,KAAEA,IAChC,MAAMR,EAASD,KAAK0B,MAAMzB,OACpBkB,EAAeV,EAAKU,KACpBQ,EAAQR,EAAKI,cAAcC,QAAQvB,EAAOsB,eAC1CK,EAAST,EAAKU,OAAO,EAAGF,GACxBG,EAASX,EAAKU,OAAOF,EAAO1B,EAAOY,QACnCkB,EAAQZ,EAAKU,OAAOF,EAAQ1B,EAAOY,QAMzC,OAAOY,EAAE,WALkB,IAAXE,GACdC,EACAH,EAAE,QAAUO,OAASC,WAAY,SAAUC,SAAU,WAAeJ,IACpEC,IACIZ,YAtCWtB,EAAcsC,GARlCC,KACCjB,KAAM,kBACNkB,OACEtC,OAAOuC,GACJtC,KAAKuC,MAAMC,KAAaC,OAAOH,QAIjBzC,GCdrB6C,GADiBC,OAFjB,WAA0B,IAAAC,EAAA5C,KAAa6C,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAiBE,YAAA,oBAA8BF,EAAA,YAAiBE,YAAA,SAAAC,OAA4BC,YAAA,gCAA6CC,OAAQC,MAAAT,EAAA,OAAAU,SAAA,SAAAC,GAA4CX,EAAA3C,OAAAsD,GAAeC,WAAA,YAAsBT,EAAA,OAAYE,YAAA,MAAAC,OAAyBO,KAAA,UAAgBA,KAAA,WAAeV,EAAA,KAAUE,YAAA,iBAAAC,OAAoCQ,cAAA,YAAsBd,EAAAe,GAAA,KAAAZ,EAAA,OAA0BE,YAAA,MAAAC,OAAyBO,KAAA,UAAgBA,KAAA,WAAeV,EAAA,KAAUE,YAAA,eAAAC,OAAkCQ,cAAA,cAAsBd,EAAAe,GAAA,KAAAZ,EAAA,WAAgCa,IAAA,OAAAV,OAAkBzC,KAAAmC,EAAA1C,eAAA2D,MAAAjB,EAAAtC,UAAAwD,WAAA,OAAAC,aAAA,aAAAC,qBAAA,GAAAC,wBAAA,EAAAC,iBAAAtB,EAAAuB,cAAAC,qBAAAxB,EAAAH,QAAoN4B,IAAKC,aAAA1B,EAAA2B,cAA4B,IAE72BC,oBCajBC,EAZAC,EAAA,OAYAC,CACAC,EACAlC,GATA,EARA,SAAAmC,GACAH,EAAA,SAWA,kBAEA,MAUAI,EAAA,QAAAL,EAAA,8BCrBA,IAAAM,EAAAL,EAAA,QACA,iBAAAK,QAAAC,EAAAC,EAAAF,EAAA,MACAA,EAAAG,SAAAF,EAAAG,QAAAJ,EAAAG,QAEAR,EAAA,OAAAA,CAAA,WAAAK,GAAA,0BCPAC,EAAAG,QAAAT,EAAA,OAAAA,EAAA,IAKAxD,MAAA8D,EAAAC,EAAA,qlBAA0mB,IAAUG,QAAA,EAAAC,SAAA,+EAAAC,SAAAC,SAAA,kOAAuVC,KAAA,qBAAAC,gBAAA,slBAAsoBC,WAAA","file":"static/js/5.c7fc1283ec1fdfd0717e.js","sourcesContent":["import Vue from 'vue';\r\nimport Component from 'vue-class-component';\r\nimport { Context } from '@/interfaces/fetch.interface';\r\nimport { Fetch_Categories, Categories_Tree } from '@/store/types';\r\nimport { CategoryTree } from '@/store/modules/categories.module';\r\nimport { CreateElement } from 'vue/types/vue';\r\nimport { VNode } from 'vue/types/vnode';\r\n\r\n\r\n@Component({\r\n name: 'categories-page',\r\n watch: {\r\n search(val) {\r\n (this.$refs.tree as any).filter(val);\r\n }\r\n }\r\n})\r\nexport default class CategoriesPage extends Vue {\r\n search = '';\r\n\r\n get categoriesTree(): CategoryTree[] {\r\n return this.$store.getters[ `categories/${Categories_Tree}` ];\r\n }\r\n\r\n get treeProps() {\r\n return {\r\n label: 'name',\r\n isLeaf: (data: CategoryTree | CategoryTree[]) => !Array.isArray(data) && !data.children.length\r\n };\r\n }\r\n\r\n async fetch({ store, route }: Context) {\r\n await store.dispatch(`categories/${Fetch_Categories}`);\r\n }\r\n\r\n nodeClick(data: CategoryTree) {\r\n this.$router.push({ name: 'related-posts-page', params: { type: 'category', slug: data.slug } });\r\n }\r\n\r\n filter(search: string, data: CategoryTree) {\r\n if (!search) return true;\r\n return data.name.toLowerCase().indexOf(search.toLowerCase()) !== -1;\r\n }\r\n\r\n renderContent(h: CreateElement, { data }: { data: CategoryTree }): VNode {\r\n const search = this.$data.search;\r\n const name: string = data.name;\r\n const index = name.toLowerCase().indexOf(search.toLowerCase());\r\n const before = name.substr(0, index);\r\n const middle = name.substr(index, search.length);\r\n const after = name.substr(index + search.length);\r\n const content = index !== -1 ? [\r\n before,\r\n h('span', { style: { fontWeight: 'bolder', fontSize: '1.1em' } }, [ middle ]),\r\n after\r\n ] : [ name ];\r\n return h('span', {}, content);\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./src/views/pages/categories/categories.page.ts","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"categories-page\"},[_c('el-input',{staticClass:\"search\",attrs:{\"placeholder\":\"Search categories by name...\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}},[_c('div',{staticClass:\"fix\",attrs:{\"slot\":\"prefix\"},slot:\"prefix\"},[_c('i',{staticClass:\"fa fa-bookmark\",attrs:{\"aria-hidden\":\"true\"}})]),_vm._v(\" \"),_c('div',{staticClass:\"fix\",attrs:{\"slot\":\"suffix\"},slot:\"suffix\"},[_c('i',{staticClass:\"fa fa-search\",attrs:{\"aria-hidden\":\"true\"}})])]),_vm._v(\" \"),_c('el-tree',{ref:\"tree\",attrs:{\"data\":_vm.categoriesTree,\"props\":_vm.treeProps,\"node-key\":\"slug\",\"empty-text\":\"No data :)\",\"default-expand-all\":\"\",\"expand-on-click-node\":false,\"render-content\":_vm.renderContent,\"filter-node-method\":_vm.filter},on:{\"node-click\":_vm.nodeClick}})],1)}\nvar staticRenderFns = []\nvar esExports = { render: render, staticRenderFns: staticRenderFns }\nexport default esExports\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./node_modules/vue-loader/lib/template-compiler?{\"id\":\"data-v-c1689620\",\"hasScoped\":true,\"transformToRequire\":{\"video\":[\"src\",\"poster\"],\"source\":\"src\",\"img\":\"src\",\"image\":\"xlink:href\"},\"buble\":{\"transforms\":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&index=0!./src/views/pages/categories/CategoriesPage.vue\n// module id = null\n// module chunks = ","function injectStyle (ssrContext) {\n require(\"!!../../../../node_modules/extract-text-webpack-plugin/dist/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?{\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"vue\\\":true,\\\"id\\\":\\\"data-v-c1689620\\\",\\\"scoped\\\":true,\\\"hasInlineConfig\\\":false}!sass-loader?{\\\"sourceMap\\\":true}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./CategoriesPage.vue\")\n}\nvar normalizeComponent = require(\"!../../../../node_modules/vue-loader/lib/component-normalizer\")\n/* script */\nimport __vue_script__ from \"!!ts-loader!./categories.page.ts\"/* template */\nimport __vue_template__ from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-c1689620\\\",\\\"hasScoped\\\":true,\\\"transformToRequire\\\":{\\\"video\\\":[\\\"src\\\",\\\"poster\\\"],\\\"source\\\":\\\"src\\\",\\\"img\\\":\\\"src\\\",\\\"image\\\":\\\"xlink:href\\\"},\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./CategoriesPage.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = \"data-v-c1689620\"\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_template__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/views/pages/categories/CategoriesPage.vue\n// module id = null\n// module chunks = ","// style-loader: Adds some css to the DOM by adding a