From 752301c27119313b62b9e41107dffd62fedee526 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Mon, 20 Jan 2025 10:25:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=20tabs=20=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E9=A1=B5=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/tabs.html | 236 +++++++++++++++++ src/css/layui.css | 76 +++++- src/layui.js | 15 +- src/modules/tabs.js | 622 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 941 insertions(+), 8 deletions(-) create mode 100644 examples/tabs.html create mode 100644 src/modules/tabs.js diff --git a/examples/tabs.html b/examples/tabs.html new file mode 100644 index 00000000..12241777 --- /dev/null +++ b/examples/tabs.html @@ -0,0 +1,236 @@ + + +
+ + +