diff --git a/docs/tabs/detail/demo.md b/docs/tabs/detail/demo.md index 28d12d07..a8bcbd3a 100644 --- a/docs/tabs/detail/demo.md +++ b/docs/tabs/detail/demo.md @@ -38,6 +38,16 @@ +

打乱标签顺序

+ +
+  
+
+

通过 HASH 匹配选中标签

切换 tabs 标签项后,地址栏同步 `hash` 值,当页面刷新时,tabs 仍保持对应的切换状态。 diff --git a/docs/tabs/examples/shuffle.md b/docs/tabs/examples/shuffle.md new file mode 100644 index 00000000..417b3f28 --- /dev/null +++ b/docs/tabs/examples/shuffle.md @@ -0,0 +1,22 @@ +
+ +
+
Tab Content-1
+
Tab Content-2
+
Tab Content-3
+
Tab Content-4
+
Tab Content-5
+
Tab Content-6
+
+
+ +🔔 提示:即 tabs 能通过 `lay-id` 匹配对应的标签头和标签内容。 + +