From c51150de0064986dec8e6e9e03795266d763293f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=B0=E9=80=B8Cary?= Date: Fri, 10 Jul 2020 19:05:16 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F=E4=BC=98?= =?UTF-8?q?=E5=8C=96=EF=BC=9A=E5=88=86=E4=BA=AB=E6=8C=89=E9=92=AE=E3=80=81?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E6=A0=8F=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layout/common/module.ftl | 2 +- layout/common/scripts.ftl | 8 ++++++++ layout/layout.ftl | 4 ++-- layout/plugin/style.theme.ftl | 7 +++++++ layout/widget/links.ftl | 6 +++--- layout/widget/tagcloud.ftl | 2 +- source/js/animation.js | 2 +- theme.yaml | 2 +- 8 files changed, 24 insertions(+), 9 deletions(-) diff --git a/layout/common/module.ftl b/layout/common/module.ftl index 6757c33..36fa92c 100644 --- a/layout/common/module.ftl +++ b/layout/common/module.ftl @@ -1,6 +1,6 @@ <#macro module name> <#if name == 'share'> -
+
<#if settings.share_type?? && settings.share_type!=''> <#include "../share/${settings.share_type}.ftl"> diff --git a/layout/common/scripts.ftl b/layout/common/scripts.ftl index 3736fd1..eabbcfc 100644 --- a/layout/common/scripts.ftl +++ b/layout/common/scripts.ftl @@ -36,4 +36,12 @@ if (!urlstatus) { $(".navbar-start a").eq(0).addClass('is-active'); } + + $(function () { + $('.link-hover-cus').hover(function () { + $(this).find('.level-right').show(); + }, function () { + $(this).find('.level-right').hide(); + }) + }); diff --git a/layout/layout.ftl b/layout/layout.ftl index 2785c77..5094c88 100644 --- a/layout/layout.ftl +++ b/layout/layout.ftl @@ -49,10 +49,10 @@ diff --git a/layout/widget/links.ftl b/layout/widget/links.ftl index 5a8ff23..0cdf171 100644 --- a/layout/widget/links.ftl +++ b/layout/widget/links.ftl @@ -1,6 +1,6 @@ <@linkTag method="list"> <#if links?? && links?size gt 0> -
+