From e39ed353e3cba934d65e2b5508ed321fccae48cb Mon Sep 17 00:00:00 2001 From: Tyh2001 <1469442737@qq.com> Date: Fri, 25 Aug 2023 22:34:50 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=85=A8=E5=B1=80=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docs.yml | 2 +- docs/.vitepress/config/head.ts | 3 +- docs/.vitepress/json/search.json | 2 +- docs/components/demos/avatar/demo1.vue | 10 ++++-- docs/components/image.md | 17 ++++++++-- docs/components/watermark.md | 4 ++- .../_hooks/use-calendar/index.ts | 20 ++++++------ .../_hooks/use-collapse-animation/index.ts | 32 +++++++++---------- .../_hooks/use-confirm-box/index.ts | 15 ++++----- .../fighting-design/_hooks/use-lunar/index.ts | 1 - .../fighting-design/_utils/props/index.ts | 6 ++-- .../fighting-design/confirm-box/src/props.ts | 7 +++- .../expand-card/__test__/expand-card.spec.ts | 10 ++++-- packages/fighting-design/package.json | 2 +- .../tree/components/tree-item/interface.ts | 2 +- .../fighting-design/tree/src/interface.ts | 11 +++++-- packages/fighting-design/tree/src/props.ts | 9 ++++-- 17 files changed, 96 insertions(+), 57 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 8f0de79640..d1b785c90e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -52,4 +52,4 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: docs/.vitepress/dist - publish_branch: gh-pages # 将部署到 gh-pages 分支 + publish_branch: gh-pages # 将部署到 gh-pages 分支 diff --git a/docs/.vitepress/config/head.ts b/docs/.vitepress/config/head.ts index 7e74a2459f..8ffc07ce47 100644 --- a/docs/.vitepress/config/head.ts +++ b/docs/.vitepress/config/head.ts @@ -60,7 +60,8 @@ export const head: HeadConfig[] = [ 'meta', { property: 'og:image', - content: 'https://raw.githubusercontent.com/Tyh2001/images/4ad62a8f00aa2473deca61598f307430d8d4a4cf/fighting-design/FightingDesign.svg' + content: + 'https://raw.githubusercontent.com/Tyh2001/images/4ad62a8f00aa2473deca61598f307430d8d4a4cf/fighting-design/FightingDesign.svg' } ], /** OG 描述 */ diff --git a/docs/.vitepress/json/search.json b/docs/.vitepress/json/search.json index 75647568d3..6802e2f15b 100644 --- a/docs/.vitepress/json/search.json +++ b/docs/.vitepress/json/search.json @@ -361,4 +361,4 @@ "url": "components/confirm-box" } ] -} \ No newline at end of file +} diff --git a/docs/components/demos/avatar/demo1.vue b/docs/components/demos/avatar/demo1.vue index d73d833976..470fb5c848 100644 --- a/docs/components/demos/avatar/demo1.vue +++ b/docs/components/demos/avatar/demo1.vue @@ -6,7 +6,10 @@
contain - +
cover @@ -18,7 +21,10 @@
scale-down - +
diff --git a/docs/components/image.md b/docs/components/image.md index 2ed5b1ee8e..f4c3418eeb 100644 --- a/docs/components/image.md +++ b/docs/components/image.md @@ -16,7 +16,10 @@ ```html - + ``` ::: @@ -99,7 +102,11 @@ ```html - + ``` ::: @@ -115,7 +122,11 @@ ```html - + ``` ::: diff --git a/docs/components/watermark.md b/docs/components/watermark.md index 2cd0900b17..9bfba34cfa 100644 --- a/docs/components/watermark.md +++ b/docs/components/watermark.md @@ -110,7 +110,9 @@ ```html