From ab47b68b874b2af77c17b78534c47de5a18a2d48 Mon Sep 17 00:00:00 2001 From: xuqingkai Date: Mon, 20 May 2024 13:25:11 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E2=99=BB=EF=B8=8F=20=20=E7=B4=A2?= =?UTF-8?q?=E5=BC=95=E6=A0=8F=E6=94=AF=E6=8C=81=E4=BE=A7=E8=BE=B9=E6=A0=8F?= =?UTF-8?q?=E6=BB=91=E5=8A=A8=E6=97=B6=E5=90=8C=E6=AD=A5=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/config.mts | 4 ++-- docs/component/{indexBar.md => index-bar.md} | 21 +++---------------- src/pages/indexBar/Index.vue | 18 ++-------------- .../components/wd-index-anchor/index.scss | 16 +------------- .../wd-index-anchor/wd-index-anchor.vue | 14 ++++++------- .../components/wd-index-bar/wd-index-bar.vue | 4 ++++ 6 files changed, 19 insertions(+), 58 deletions(-) rename docs/component/{indexBar.md => index-bar.md} (90%) diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 77392d4d..dce292e9 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -1,7 +1,7 @@ /* * @Author: weisheng * @Date: 2023-07-27 10:26:09 - * @LastEditTime: 2024-05-07 17:05:08 + * @LastEditTime: 2024-05-20 13:18:53 * @LastEditors: weisheng * @Description: * @FilePath: \wot-design-uni\docs\.vitepress\config.mts @@ -251,7 +251,7 @@ export default defineConfig({ link: "/component/backtop", text: "Backtop 回到顶部" }, { - link: "/component/indexBar", + link: "/component/index-bar", text: "IndexBar 索引栏" }] }, { diff --git a/docs/component/indexBar.md b/docs/component/index-bar.md similarity index 90% rename from docs/component/indexBar.md rename to docs/component/index-bar.md index fac7fd9c..f3d23b0d 100644 --- a/docs/component/indexBar.md +++ b/docs/component/index-bar.md @@ -13,10 +13,10 @@ ```vue