From c1020dc5fff9ae823dc60beb199074c66deac9c0 Mon Sep 17 00:00:00 2001 From: caiyuchao Date: Fri, 19 Sep 2025 17:18:14 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E7=94=A8shadow=20dom=E9=9A=94?= =?UTF-8?q?=E7=A6=BBhtml=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/shadow-container/index.ts | 1 + .../shadow-container/shadow-container.vue | 47 +++++++++++++++++++ .../license/project/comment/child-comment.vue | 14 +++++- .../src/views/report/progress/data.ts | 5 +- .../views/report/progress/modules/project.vue | 13 ++++- 5 files changed, 75 insertions(+), 5 deletions(-) create mode 100644 apps/web-antd/src/components/shadow-container/index.ts create mode 100644 apps/web-antd/src/components/shadow-container/shadow-container.vue diff --git a/apps/web-antd/src/components/shadow-container/index.ts b/apps/web-antd/src/components/shadow-container/index.ts new file mode 100644 index 0000000..ad52b46 --- /dev/null +++ b/apps/web-antd/src/components/shadow-container/index.ts @@ -0,0 +1 @@ +export { default as ShadowContainer } from './shadow-container.vue'; diff --git a/apps/web-antd/src/components/shadow-container/shadow-container.vue b/apps/web-antd/src/components/shadow-container/shadow-container.vue new file mode 100644 index 0000000..b34f410 --- /dev/null +++ b/apps/web-antd/src/components/shadow-container/shadow-container.vue @@ -0,0 +1,47 @@ + + + diff --git a/apps/web-antd/src/views/license/project/comment/child-comment.vue b/apps/web-antd/src/views/license/project/comment/child-comment.vue index b4391e8..3883c84 100644 --- a/apps/web-antd/src/views/license/project/comment/child-comment.vue +++ b/apps/web-antd/src/views/license/project/comment/child-comment.vue @@ -10,6 +10,7 @@ import dayjs from 'dayjs'; import relativeTime from 'dayjs/plugin/relativeTime'; import { deleteComment } from '#/api/license/comment'; +import { ShadowContainer } from '#/components/shadow-container'; import { $t } from '#/locales'; import CreateComment from './create-comment.vue'; @@ -104,7 +105,11 @@ const formatContent = computed(() => { diff --git a/apps/web-antd/src/views/report/progress/data.ts b/apps/web-antd/src/views/report/progress/data.ts index ad65f1c..a12cd19 100644 --- a/apps/web-antd/src/views/report/progress/data.ts +++ b/apps/web-antd/src/views/report/progress/data.ts @@ -149,12 +149,13 @@ export function useProjectGridColumns(): VxeTableGridOptions