From fc9a0d844d096a5ee43c02b121da101368218424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BB=93=E5=8F=91=E5=8F=97=E9=95=BF=E7=94=9F?= Date: Tue, 14 May 2019 14:11:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=85=A7=E7=89=87=E5=A2=99?= =?UTF-8?q?=E5=B0=BE=E9=A1=B5=E5=8A=A0=E8=BD=BDbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/_posts/前端杂烩/照片墙施工记录.md | 4 ++-- source/categories/index.md | 2 +- source/photo_wall/index.md | 3 +-- themes/yilia/layout/photo-wall.ejs | 1 + themes/yilia/source-src/css/page/categories.scss | 7 +++++++ themes/yilia/source-src/js/photo-wall.js | 4 ++-- 6 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 themes/yilia/layout/photo-wall.ejs diff --git a/source/_posts/前端杂烩/照片墙施工记录.md b/source/_posts/前端杂烩/照片墙施工记录.md index fda576c..101054f 100644 --- a/source/_posts/前端杂烩/照片墙施工记录.md +++ b/source/_posts/前端杂烩/照片墙施工记录.md @@ -211,10 +211,10 @@ function loadMoreItems(step) { } if(index >= res.data.files.length) { // 已到达当前分组列表的末尾 groupid++ + let tempIndex = currentIndex + currentIndex = 0 if(index
正在加载ԅ( ¯་། ¯ԅ)
diff --git a/themes/yilia/layout/photo-wall.ejs b/themes/yilia/layout/photo-wall.ejs new file mode 100644 index 0000000..e18e1bb --- /dev/null +++ b/themes/yilia/layout/photo-wall.ejs @@ -0,0 +1 @@ +
正在加载ԅ( ¯་། ¯ԅ)
\ No newline at end of file diff --git a/themes/yilia/source-src/css/page/categories.scss b/themes/yilia/source-src/css/page/categories.scss index e706de8..9c05758 100644 --- a/themes/yilia/source-src/css/page/categories.scss +++ b/themes/yilia/source-src/css/page/categories.scss @@ -11,9 +11,16 @@ } .category-count { text-align: center; + line-height: 3; + font-size: 18px; + font-weight: bold; } // hexo自带的标签云 .tag-cloud { text-align: center; padding: 20px; + a { + margin: 0 20px; + word-break: keep-all; + } } \ No newline at end of file diff --git a/themes/yilia/source-src/js/photo-wall.js b/themes/yilia/source-src/js/photo-wall.js index 36abd16..8b36d3a 100644 --- a/themes/yilia/source-src/js/photo-wall.js +++ b/themes/yilia/source-src/js/photo-wall.js @@ -69,10 +69,10 @@ function loadMoreItems(step) { } if(index >= res.data.files.length) { // 已到达当前分组列表的末尾 groupid++ + let tempIndex = currentIndex + currentIndex = 0 if(index