From 02ebc7b53bb158647362e2a70fe2f783f87841cd Mon Sep 17 00:00:00 2001 From: James <72028410+James-9696@users.noreply.github.com> Date: Thu, 24 Oct 2024 01:47:04 -0700 Subject: [PATCH] fix(dialog-box): [dialog-box] modify dialog-box of demo design bug (#2382) * fix(dialog-box): [dialog-box] modify dialog-box of design * fix: modify demo * fix: modify review code --- .../pc/app/dialog-box/hidden-header-composition-api.vue | 8 +++++++- examples/sites/demos/pc/app/dialog-box/hidden-header.vue | 8 +++++++- .../pc/app/dialog-box/lock-scroll-composition-api.vue | 8 ++++---- examples/sites/demos/pc/app/dialog-box/lock-scroll.vue | 8 ++++---- 4 files changed, 22 insertions(+), 10 deletions(-) diff --git a/examples/sites/demos/pc/app/dialog-box/hidden-header-composition-api.vue b/examples/sites/demos/pc/app/dialog-box/hidden-header-composition-api.vue index fb34be90be..e68c91d659 100644 --- a/examples/sites/demos/pc/app/dialog-box/hidden-header-composition-api.vue +++ b/examples/sites/demos/pc/app/dialog-box/hidden-header-composition-api.vue @@ -2,7 +2,7 @@
无标题 - 隐藏弹窗的标题部分 +
隐藏弹窗的标题部分
@@ -16,3 +16,9 @@ import { Button as TinyButton, DialogBox as TinyDialogBox } from '@opentiny/vue' const boxVisibility = ref(false) + + diff --git a/examples/sites/demos/pc/app/dialog-box/hidden-header.vue b/examples/sites/demos/pc/app/dialog-box/hidden-header.vue index e5dd46a0ea..7b88a46e9c 100644 --- a/examples/sites/demos/pc/app/dialog-box/hidden-header.vue +++ b/examples/sites/demos/pc/app/dialog-box/hidden-header.vue @@ -2,7 +2,7 @@
无标题 - 隐藏弹窗的标题部分 +
隐藏弹窗的标题部分
@@ -25,3 +25,9 @@ export default { } } + + diff --git a/examples/sites/demos/pc/app/dialog-box/lock-scroll-composition-api.vue b/examples/sites/demos/pc/app/dialog-box/lock-scroll-composition-api.vue index 3af8d7344d..b4fdfff75f 100644 --- a/examples/sites/demos/pc/app/dialog-box/lock-scroll-composition-api.vue +++ b/examples/sites/demos/pc/app/dialog-box/lock-scroll-composition-api.vue @@ -2,7 +2,7 @@
允许滚动背景 不允许滚动背景 - + 允许被遮罩内容的滚动