From e9f576b41da19dc2442985dda1f9e8b8ebf37c17 Mon Sep 17 00:00:00 2001 From: Tyh2001 <1469442737@qq.com> Date: Sun, 21 May 2023 10:42:49 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/theme/components/vp-search.vue | 1 - docs/components/collapse-animation.md | 14 ++++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/docs/.vitepress/theme/components/vp-search.vue b/docs/.vitepress/theme/components/vp-search.vue index 09ee6fa9eb..7843cc32df 100644 --- a/docs/.vitepress/theme/components/vp-search.vue +++ b/docs/.vitepress/theme/components/vp-search.vue @@ -92,7 +92,6 @@ .vp-search__result { position: absolute; background-color: #fff; - width: 100%; box-shadow: 0 1px 6px rgb(0 0 0 / 20%); max-height: 400px; overflow: auto; diff --git a/docs/components/collapse-animation.md b/docs/components/collapse-animation.md index dcd94719d0..e6a3224cda 100644 --- a/docs/components/collapse-animation.md +++ b/docs/components/collapse-animation.md @@ -85,10 +85,16 @@ ## Attributes -| 参数 | 说明 | 类型 | 可选值 | 默认值 | -| ---------- | -------- | ------- | ------ | ------ | -| `opened` | 是否打开 | boolean | —— | false | -| `disabled` | 是否禁用 | boolean | —— | false | +| 参数 | 说明 | 类型 | 可选值 | 默认值 | +| ----------------- | ------------------ | ----------------------------------------------------------- | ------ | ------ | +| `opened` | 是否打开 | boolean | —— | false | +| `disabled` | 是否禁用 | boolean | —— | false | +| `width-animation` | 是否宽度自适应 | boolean | —— | false | +| `animation-time` | 动画时间 | number | —— | 0.747 | +| `on-open` | 打开动画开始的回调 | PopupCallback | —— | —— | +| `on-open-end` | 打开动画结束的回调 | PopupCallback | —— | —— | +| `on-close` | 关闭动画开始的回调 | PopupCallback | —— | —— | +| `on-close-end` | 关闭动画结束的回调 | PopupCallback | —— | —— | ## Slots