From 5b7ddef2e208e622d2917b5811bd152742484638 Mon Sep 17 00:00:00 2001 From: wefly2 <145842500+wefly2@users.noreply.github.com> Date: Sat, 7 Oct 2023 09:02:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20nav=20=E5=9E=82=E7=9B=B4?= =?UTF-8?q?=E5=AF=BC=E8=88=AA=E8=8F=9C=E5=8D=95=E5=B1=95=E5=BC=80=E5=92=8C?= =?UTF-8?q?=E6=94=B6=E7=BC=A9=E6=97=B6=E7=9A=84=E8=BF=87=E6=B8=A1=E5=8A=A8?= =?UTF-8?q?=E7=94=BB=20(#1384)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Create FUNDING.yml * 增加垂直导航菜单折叠动画 支持手风琴效果 * 优化 nav 手风琴相关代码 * 更新 nav 用例 * 新增 nav 菜单展开和收缩时的过渡动画 --------- Co-authored-by: 贤心 <3277200+sentsim@users.noreply.github.com> --- .github/FUNDING.yml | 1 + examples/element.nav.html | 6 ++-- src/css/layui.css | 14 +++++---- src/modules/element.js | 62 ++++++++++++++++++++------------------- 4 files changed, 43 insertions(+), 40 deletions(-) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 00000000..dd2241b0 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +open_collective: layui diff --git a/examples/element.nav.html b/examples/element.nav.html index 6e2d73cc..87b27563 100644 --- a/examples/element.nav.html +++ b/examples/element.nav.html @@ -6,12 +6,10 @@ 导航 - 常用元素 - layui - - +