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