From 067e7dc689e664fc46b6afd1d85acff05c5f5e7f Mon Sep 17 00:00:00 2001 From: baiqi Date: Fri, 2 Feb 2024 15:26:48 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=94=A8=E4=BE=8B=E8=AF=84=E5=AE=A1):=20?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E8=AF=84=E5=AE=A1Done?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/pure/ms-card/index.vue | 14 +- .../pure/ms-rich-text/MsRichText.vue | 2 + .../src/components/pure/ms-upload/index.vue | 2 +- .../case-management/caseReview/caseDetail.vue | 100 +++++------ .../components/detail/caseTable.vue | 62 ++++--- .../caseReview/components/reviewForm.vue | 156 ++++++++++++------ 6 files changed, 174 insertions(+), 162 deletions(-) diff --git a/frontend/src/components/pure/ms-card/index.vue b/frontend/src/components/pure/ms-card/index.vue index e230ef4737..34981bedf1 100644 --- a/frontend/src/components/pure/ms-card/index.vue +++ b/frontend/src/components/pure/ms-card/index.vue @@ -145,25 +145,21 @@ const cardOverHeight = computed(() => { if (isFullScreen.value) { - if (props.simple) { - // 简单模式没有标题、没有底部 - return props.noContentPadding ? 0 : 48; - } if (props.hideFooter) { // 隐藏底部 - return props.noContentPadding ? 88 : 118; + return 62; } - return 246; + return 142; } if (props.simple) { // 简单模式没有标题、没有底部 - return props.noContentPadding ? 88 + _specialHeight : 136 + _specialHeight; + return props.noContentPadding ? 76 + _specialHeight : 124 + _specialHeight; } if (props.hideFooter) { // 隐藏底部 - return props.noContentPadding ? 152 + _specialHeight : 192 + _specialHeight; + return props.noContentPadding ? 140 + _specialHeight : 180 + _specialHeight; } - return 246 + _specialHeight; + return 234 + _specialHeight; }); const getComputedContentStyle = computed(() => { diff --git a/frontend/src/components/pure/ms-rich-text/MsRichText.vue b/frontend/src/components/pure/ms-rich-text/MsRichText.vue index 9098128aa4..b731f5ed6a 100644 --- a/frontend/src/components/pure/ms-rich-text/MsRichText.vue +++ b/frontend/src/components/pure/ms-rich-text/MsRichText.vue @@ -517,6 +517,8 @@ :deep(.halo-rich-text-editor) { padding: 16px 24px !important; .editor-header { + .ms-scroll-bar(); + justify-content: start !important; } p:first-child { diff --git a/frontend/src/components/pure/ms-upload/index.vue b/frontend/src/components/pure/ms-upload/index.vue index 9e0ed66c1a..980e9bc52f 100644 --- a/frontend/src/components/pure/ms-upload/index.vue +++ b/frontend/src/components/pure/ms-upload/index.vue @@ -48,7 +48,7 @@