From b842a57d9b116f54222852a217e12c2f4ef04892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Sat, 19 Mar 2022 17:57:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=20transition=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/docs/zh-CN/components/transition.md | 46 ++++++++++++ example/docs/zh-CN/guide/changelog.md | 1 + example/src/router/zh-CN.ts | 6 ++ example/src/view/utils/menus.ts | 7 +- package.json | 2 +- src/component/dropdown/index.less | 4 +- src/component/dropdown/index.vue | 2 +- src/component/dropdownMenu/index.vue | 12 +-- src/component/select/index.vue | 3 +- src/component/transition/index.ts | 8 ++ src/component/transition/index.vue | 81 +++++++++++++++++++++ src/index.ts | 5 +- 12 files changed, 163 insertions(+), 14 deletions(-) create mode 100644 example/docs/zh-CN/components/transition.md create mode 100644 src/component/transition/index.ts create mode 100644 src/component/transition/index.vue diff --git a/example/docs/zh-CN/components/transition.md b/example/docs/zh-CN/components/transition.md new file mode 100644 index 00000000..6ff9adba --- /dev/null +++ b/example/docs/zh-CN/components/transition.md @@ -0,0 +1,46 @@ +::: anchor +::: + +::: title 基础使用 +::: + +::: describe 过渡效果的使用将大幅提升用户的使用体验。 +::: + +::: title 基础使用 +::: + +::: demo 使用 `lay-transition` 标签, 为元素提供过渡动画 + + + + + +::: \ No newline at end of file diff --git a/example/docs/zh-CN/guide/changelog.md b/example/docs/zh-CN/guide/changelog.md index d88d20c6..a6c2f6df 100644 --- a/example/docs/zh-CN/guide/changelog.md +++ b/example/docs/zh-CN/guide/changelog.md @@ -18,6 +18,7 @@