From a5b60155ce6f9fde246f19b05e0ef50546ec1063 Mon Sep 17 00:00:00 2001 From: outtime Date: Mon, 30 Mar 2020 17:49:26 +0800 Subject: =?UTF-8?q?=F0=9F=94=A8Fix:=20=E4=BA=8C=E7=BB=B4=E7=A0=81=E6=A0=8F?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E6=AD=A3=E5=B8=B8=E6=89=93=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/js/miracles.min.js | 6 ++++++ includes/footer.php | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/js/miracles.min.js b/assets/js/miracles.min.js index e30d233..a95edff 100644 --- a/assets/js/miracles.min.js +++ b/assets/js/miracles.min.js @@ -446,6 +446,12 @@ linkTarget(); * 文章二维码 */ function togglePostQrcode() { + let post_qr = new QRCode(document.getElementById("post-qr"), { + width: 230, + height: 230, + colorLight : "#f1f1f1", + correctLevel : QRCode.CorrectLevel.L + }); post_qr.makeCode(window.location.href); $('.post-qr').toggleClass("post-qr-open"); } diff --git a/includes/footer.php b/includes/footer.php index cf8d32e..6c82d26 100644 --- a/includes/footer.php +++ b/includes/footer.php @@ -39,12 +39,6 @@ -- cgit v1.2.3 From 1e1da50ce7dee921380c414822915b974d5e1712 Mon Sep 17 00:00:00 2001 From: outtime Date: Mon, 30 Mar 2020 19:08:42 +0800 Subject: =?UTF-8?q?=F0=9F=96=BCAdd:=20=E6=96=B0=E5=B0=81=E9=9D=A2=E4=BB=A5?= =?UTF-8?q?=E5=8F=8A=E5=9B=BA=E5=AE=9A=E6=96=87=E7=AB=A0=E9=9A=8F=E6=9C=BA?= =?UTF-8?q?=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- images/postbg/1.jpg | Bin 22398 -> 24259 bytes images/postbg/10.jpg | Bin 15945 -> 23209 bytes images/postbg/11.jpg | Bin 4419 -> 22053 bytes images/postbg/12.jpg | Bin 3892 -> 21469 bytes images/postbg/13.jpg | Bin 4833 -> 15421 bytes images/postbg/14.jpg | Bin 2685 -> 14876 bytes images/postbg/15.jpg | Bin 2187 -> 26013 bytes images/postbg/16.jpg | Bin 27362 -> 0 bytes images/postbg/17.jpg | Bin 2447 -> 0 bytes images/postbg/18.jpg | Bin 30860 -> 0 bytes images/postbg/19.jpg | Bin 4820 -> 0 bytes images/postbg/2.jpg | Bin 4830 -> 16793 bytes images/postbg/20.jpg | Bin 12674 -> 0 bytes images/postbg/3.jpg | Bin 9100 -> 22624 bytes images/postbg/4.jpg | Bin 8588 -> 17821 bytes images/postbg/5.jpg | Bin 13185 -> 30979 bytes images/postbg/6.jpg | Bin 1425 -> 31489 bytes images/postbg/7.jpg | Bin 4928 -> 33044 bytes images/postbg/8.jpg | Bin 10346 -> 18536 bytes images/postbg/9.jpg | Bin 8019 -> 21619 bytes includes/head.php | 2 +- index.php | 2 +- test.php | 3 +++ 23 files changed, 5 insertions(+), 2 deletions(-) mode change 100644 => 100755 images/postbg/1.jpg mode change 100644 => 100755 images/postbg/10.jpg mode change 100644 => 100755 images/postbg/11.jpg mode change 100644 => 100755 images/postbg/12.jpg mode change 100644 => 100755 images/postbg/13.jpg mode change 100644 => 100755 images/postbg/14.jpg mode change 100644 => 100755 images/postbg/15.jpg delete mode 100644 images/postbg/16.jpg delete mode 100644 images/postbg/17.jpg delete mode 100644 images/postbg/18.jpg delete mode 100644 images/postbg/19.jpg mode change 100644 => 100755 images/postbg/2.jpg delete mode 100644 images/postbg/20.jpg mode change 100644 => 100755 images/postbg/3.jpg mode change 100644 => 100755 images/postbg/4.jpg mode change 100644 => 100755 images/postbg/5.jpg mode change 100644 => 100755 images/postbg/6.jpg mode change 100644 => 100755 images/postbg/7.jpg mode change 100644 => 100755 images/postbg/8.jpg mode change 100644 => 100755 images/postbg/9.jpg create mode 100644 test.php diff --git a/images/postbg/1.jpg b/images/postbg/1.jpg old mode 100644 new mode 100755 index 19c0878..1aac9c4 Binary files a/images/postbg/1.jpg and b/images/postbg/1.jpg differ diff --git a/images/postbg/10.jpg b/images/postbg/10.jpg old mode 100644 new mode 100755 index 7b12f73..1eadb5a Binary files a/images/postbg/10.jpg and b/images/postbg/10.jpg differ diff --git a/images/postbg/11.jpg b/images/postbg/11.jpg old mode 100644 new mode 100755 index 2a9b74d..d8d030e Binary files a/images/postbg/11.jpg and b/images/postbg/11.jpg differ diff --git a/images/postbg/12.jpg b/images/postbg/12.jpg old mode 100644 new mode 100755 index b49fcb4..70ced1a Binary files a/images/postbg/12.jpg and b/images/postbg/12.jpg differ diff --git a/images/postbg/13.jpg b/images/postbg/13.jpg old mode 100644 new mode 100755 index ddd7374..d24b77e Binary files a/images/postbg/13.jpg and b/images/postbg/13.jpg differ diff --git a/images/postbg/14.jpg b/images/postbg/14.jpg old mode 100644 new mode 100755 index a130083..89ea502 Binary files a/images/postbg/14.jpg and b/images/postbg/14.jpg differ diff --git a/images/postbg/15.jpg b/images/postbg/15.jpg old mode 100644 new mode 100755 index 43b5639..0d7a4e2 Binary files a/images/postbg/15.jpg and b/images/postbg/15.jpg differ diff --git a/images/postbg/16.jpg b/images/postbg/16.jpg deleted file mode 100644 index 1a5db5e..0000000 Binary files a/images/postbg/16.jpg and /dev/null differ diff --git a/images/postbg/17.jpg b/images/postbg/17.jpg deleted file mode 100644 index 8ad2122..0000000 Binary files a/images/postbg/17.jpg and /dev/null differ diff --git a/images/postbg/18.jpg b/images/postbg/18.jpg deleted file mode 100644 index 74b113b..0000000 Binary files a/images/postbg/18.jpg and /dev/null differ diff --git a/images/postbg/19.jpg b/images/postbg/19.jpg deleted file mode 100644 index a62ea72..0000000 Binary files a/images/postbg/19.jpg and /dev/null differ diff --git a/images/postbg/2.jpg b/images/postbg/2.jpg old mode 100644 new mode 100755 index 3b84d70..2d88780 Binary files a/images/postbg/2.jpg and b/images/postbg/2.jpg differ diff --git a/images/postbg/20.jpg b/images/postbg/20.jpg deleted file mode 100644 index d7b0d85..0000000 Binary files a/images/postbg/20.jpg and /dev/null differ diff --git a/images/postbg/3.jpg b/images/postbg/3.jpg old mode 100644 new mode 100755 index 75d9071..7231934 Binary files a/images/postbg/3.jpg and b/images/postbg/3.jpg differ diff --git a/images/postbg/4.jpg b/images/postbg/4.jpg old mode 100644 new mode 100755 index ef8c105..36d2749 Binary files a/images/postbg/4.jpg and b/images/postbg/4.jpg differ diff --git a/images/postbg/5.jpg b/images/postbg/5.jpg old mode 100644 new mode 100755 index 0e40f97..6d2b907 Binary files a/images/postbg/5.jpg and b/images/postbg/5.jpg differ diff --git a/images/postbg/6.jpg b/images/postbg/6.jpg old mode 100644 new mode 100755 index 98ebb07..5f3664f Binary files a/images/postbg/6.jpg and b/images/postbg/6.jpg differ diff --git a/images/postbg/7.jpg b/images/postbg/7.jpg old mode 100644 new mode 100755 index c62f767..defafac Binary files a/images/postbg/7.jpg and b/images/postbg/7.jpg differ diff --git a/images/postbg/8.jpg b/images/postbg/8.jpg old mode 100644 new mode 100755 index 18e7fc9..2d10935 Binary files a/images/postbg/8.jpg and b/images/postbg/8.jpg differ diff --git a/images/postbg/9.jpg b/images/postbg/9.jpg old mode 100644 new mode 100755 index 2b5c325..183f4b9 Binary files a/images/postbg/9.jpg and b/images/postbg/9.jpg differ diff --git a/includes/head.php b/includes/head.php index a7e1221..d03a473 100644 --- a/includes/head.php +++ b/includes/head.php @@ -39,7 +39,7 @@ else: $this->options->bannerUrl(); endif;}?>" /> - + header('description=&commentReply='); ?> options->headerEcho(); ?> diff --git a/index.php b/index.php index 016d6f2..1dbb533 100644 --- a/index.php +++ b/index.php @@ -27,7 +27,7 @@ $this->need('includes/header.php'); echo $this->fields->banner(); else: if($this->options->randomBanner==''){ - echo Utils::indexTheme('images/postbg/'); echo mt_rand(1,mt_rand(1,20)); echo '.jpg'; + echo Utils::indexTheme('images/postbg/'); srand(mb_strlen($this->title));echo rand(1,15).'.jpg'; } else{ $banner_url = explode(',',$this->options->randomBanner); diff --git a/test.php b/test.php new file mode 100644 index 0000000..c24d8d4 --- /dev/null +++ b/test.php @@ -0,0 +1,3 @@ + Date: Mon, 30 Mar 2020 19:26:48 +0800 Subject: =?UTF-8?q?=F0=9F=8E=A8Add:=20=E5=85=A8=E6=96=B0=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- banner.jpg | Bin 407604 -> 0 bytes banner.png | Bin 0 -> 208665 bytes screenshot.png | Bin 110912 -> 48818 bytes test.php | 3 --- 5 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 banner.jpg create mode 100755 banner.png mode change 100644 => 100755 screenshot.png delete mode 100644 test.php diff --git a/README.md b/README.md index 8f9b8fb..491bc47 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -![](banner.jpg) +![](banner.png)

diff --git a/banner.jpg b/banner.jpg deleted file mode 100644 index 439efa5..0000000 Binary files a/banner.jpg and /dev/null differ diff --git a/banner.png b/banner.png new file mode 100755 index 0000000..7177f04 Binary files /dev/null and b/banner.png differ diff --git a/screenshot.png b/screenshot.png old mode 100644 new mode 100755 index ceebf55..f61ba5f Binary files a/screenshot.png and b/screenshot.png differ diff --git a/test.php b/test.php deleted file mode 100644 index c24d8d4..0000000 --- a/test.php +++ /dev/null @@ -1,3 +0,0 @@ - Date: Mon, 30 Mar 2020 19:34:40 +0800 Subject: =?UTF-8?q?=F0=9F=8E=90Perf:=20=E4=BC=98=E5=8C=96=E8=BE=93?= =?UTF-8?q?=E5=85=A5=E6=A1=86=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/main/comment.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/assets/css/main/comment.css b/assets/css/main/comment.css index 57e5bbb..3eadc49 100644 --- a/assets/css/main/comment.css +++ b/assets/css/main/comment.css @@ -188,7 +188,7 @@ } .comment-textarea { width: 100%; - border: none; + border: 1px dashed #ddd; max-width: 100%; } .comment-input input { @@ -204,9 +204,12 @@ .comment-input input:hover { border-bottom: 1px dashed #000; } +.comment-textarea:hover{ + border: 1px dashed #000; +} .comment-input input, .comment-textarea { - background: #00000003; + background: none; outline: none; } -- cgit v1.2.3 From fc9c0ce3bcaf7f39baf0f3fef27383a072067593 Mon Sep 17 00:00:00 2001 From: outtime Date: Mon, 30 Mar 2020 19:40:06 +0800 Subject: =?UTF-8?q?=F0=9F=A7=A3Fix:=20=E4=BF=AE=E5=A4=8D=E5=A4=9A=E6=AC=A1?= =?UTF-8?q?=E7=94=9F=E6=88=90=E4=BA=8C=E7=BB=B4=E7=A0=81=E7=9A=84=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archive.php | 2 +- assets/js/miracles.min.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/archive.php b/archive.php index 770e1f1..cf637e3 100644 --- a/archive.php +++ b/archive.php @@ -30,7 +30,7 @@ $this->need('includes/header.php'); } ?>

- +

Read More

diff --git a/assets/js/miracles.min.js b/assets/js/miracles.min.js index a95edff..0b45f62 100644 --- a/assets/js/miracles.min.js +++ b/assets/js/miracles.min.js @@ -446,14 +446,15 @@ linkTarget(); * 文章二维码 */ function togglePostQrcode() { - let post_qr = new QRCode(document.getElementById("post-qr"), { + $("#post-qr").html(""); + let post_qr = new QRCode($("#post-qr")[0], { width: 230, height: 230, colorLight : "#f1f1f1", correctLevel : QRCode.CorrectLevel.L }); + $('.post-qr').toggleClass("post-qr-open"); post_qr.makeCode(window.location.href); - $('.post-qr').toggleClass("post-qr-open"); } $('#post-qrcode-btn').on("click", togglePostQrcode); -- cgit v1.2.3 From a7951777aa4316cc8e01345410d699a57ef59f86 Mon Sep 17 00:00:00 2001 From: outtime Date: Mon, 30 Mar 2020 19:52:00 +0800 Subject: =?UTF-8?q?=F0=9F=AA=81Perf:=20=E7=A7=BB=E5=8A=A8=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E7=9A=84=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archive.php | 2 +- assets/css/main/component.css | 3 ++- includes/header.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/archive.php b/archive.php index cf637e3..df81393 100644 --- a/archive.php +++ b/archive.php @@ -30,7 +30,7 @@ $this->need('includes/header.php'); } ?>

- +

Read More

diff --git a/assets/css/main/component.css b/assets/css/main/component.css index 64073e8..eac7ab1 100644 --- a/assets/css/main/component.css +++ b/assets/css/main/component.css @@ -34,7 +34,8 @@ button { /* Alert */ .alert { bottom: 0; - left: 15px; + left: 50%; + transform: translate(-50%, 0px); z-index: 10; padding: 1em; position: fixed; diff --git a/includes/header.php b/includes/header.php index f212a72..2da58a8 100644 --- a/includes/header.php +++ b/includes/header.php @@ -143,7 +143,7 @@ fields->meta==''): ?>
is('post')): ?> category(','); ?>  - commentsNum('None', 'Only 1', '%d'); ?>  + commentsNum('还没有评论', '仅一条评论', '%d'); ?> 
date(); ?>  -- cgit v1.2.3