From 9b6eb7a319a23a692250b017236f601e3b50dbfa Mon Sep 17 00:00:00 2001 From: "1152958806@qq.com" <1152958806@qq.com> Date: Sat, 15 Jul 2023 13:54:45 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8F=9C=E5=8D=95=E8=B7=B3=E8=BD=AC=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 6 ++++++ templates/assets/zhheo/zhheoblog.css | 13 ------------- templates/modules/footer.html | 4 +++- templates/modules/widgets/about-widgets/game.html | 14 ++++++++++++++ templates/modules/widgets/nav-left.html | 2 +- templates/modules/widgets/nav-menu.html | 8 ++++---- 6 files changed, 28 insertions(+), 19 deletions(-) diff --git a/settings.yaml b/settings.yaml index d7408816..fbedd96f 100644 --- a/settings.yaml +++ b/settings.yaml @@ -1303,6 +1303,7 @@ spec: game_title: game_uid: game_bg: + loading_bar: children: - $formkit: text name: game_tips @@ -1324,6 +1325,11 @@ spec: label: 爱好游戏背景 placeholder: 请输入内容 value: https://img.zhheo.com/i/2022/08/31/630efa7ae39fe.webp + - $formkit: attachment + name: loading_bar + label: 爱好游戏logo + placeholder: 请输入内容 + value: https://img.cdn.yzczi.com/img/64795eaece0fc.png - $formkit: group name: game2 label: 爱好游戏 2 diff --git a/templates/assets/zhheo/zhheoblog.css b/templates/assets/zhheo/zhheoblog.css index c6a688c2..835b3dfc 100644 --- a/templates/assets/zhheo/zhheoblog.css +++ b/templates/assets/zhheo/zhheoblog.css @@ -17030,19 +17030,6 @@ span.hexo-douban-pagenum { overflow: hidden; } -.loading-bar::after { - content: ""; - position: absolute; - top: 500px; - left: 0; - filter: drop-shadow(0 -500px 0 #ece5d8); - width: 500px; - height: 62.5px; - background: url("https://img.cdn.yzczi.com/img/64795eaece0fc.png") no-repeat left 100%; - background-size: 500px 62.5px; - background-position-x: 0; -} - .author-content-item.game-lol:hover .loading-bar::after { animation: loading-bar 3.5s cubic-bezier(0.28, 0.11, 0.32, 1) infinite forwards; } diff --git a/templates/modules/footer.html b/templates/modules/footer.html index ccfab083..fb2e9e55 100644 --- a/templates/modules/footer.html +++ b/templates/modules/footer.html @@ -30,7 +30,9 @@ diff --git a/templates/modules/widgets/about-widgets/game.html b/templates/modules/widgets/about-widgets/game.html index 1e33f2f6..415b42c5 100644 --- a/templates/modules/widgets/about-widgets/game.html +++ b/templates/modules/widgets/about-widgets/game.html @@ -29,6 +29,20 @@ + diff --git a/templates/modules/widgets/nav-left.html b/templates/modules/widgets/nav-left.html index 483e5c71..f1cd88ac 100644 --- a/templates/modules/widgets/nav-left.html +++ b/templates/modules/widgets/nav-left.html @@ -19,7 +19,7 @@
+ th:target="${childMenu.spec.target?.value}" th:href="@{${childMenu.status.href}}"> - @@ -23,9 +25,7 @@