From 6c734d297cffc2db8f160bca2ef5085f5f322070 Mon Sep 17 00:00:00 2001 From: zhouxiaoan <13598091228@139.com> Date: Fri, 12 Apr 2024 01:59:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=20=20=20=20=E4=BC=98=E5=8C=96=E5=9B=BE?= =?UTF-8?q?=E9=89=B4=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/final/comp/CustomTabelModal.vue | 345 ++++++++------- src/views/task/modal/CustomFieldModal.vue | 416 +++++++++--------- src/views/worksheet/content/Content.vue | 39 +- .../worksheet/modal/CustomFieldModal.vue | 343 ++++++++------- 4 files changed, 602 insertions(+), 541 deletions(-) diff --git a/src/views/final/comp/CustomTabelModal.vue b/src/views/final/comp/CustomTabelModal.vue index 085ccd9..8361da7 100644 --- a/src/views/final/comp/CustomTabelModal.vue +++ b/src/views/final/comp/CustomTabelModal.vue @@ -1,97 +1,98 @@ @@ -376,8 +385,8 @@ const indeterminate = computed(() => { @@ -475,7 +484,9 @@ const indeterminate = computed(() => { @@ -445,7 +449,9 @@ const queryData = (value, type) => { - 系统默认 + + 系统默认 + { {{ item.name }} - 自定义配置 + + 自定义配置 + { @@ -1091,16 +1097,33 @@ defineExpose({ display: flex; align-items: center; justify-content: center; - width: 35px; - height: 18px; + // width: 35px; + // height: 18px; opacity: 0.9; - background: #6f92fd; + // background: #6f92fd; border-radius: 6px 0px 6px 0px; z-index: 5; right: 12px; - top: 15px; + top: 0; color: #fff; font-size: 14px; + .val { + position: absolute; + left: 0; + top: 0; + display: block; + width: 100%; + height: 100%; + display: flex; + align-items: center; + justify-content: center; + font-size: 12px; + font-family: PingFang SC, PingFang SC-Semibold; + font-weight: Semibold; + text-align: left; + color: #ffffff; + line-height: 24px; + } } .percent-unit { diff --git a/src/views/worksheet/modal/CustomFieldModal.vue b/src/views/worksheet/modal/CustomFieldModal.vue index 7621a20..7fa9cb1 100644 --- a/src/views/worksheet/modal/CustomFieldModal.vue +++ b/src/views/worksheet/modal/CustomFieldModal.vue @@ -1,10 +1,10 @@ @@ -338,7 +353,7 @@ const indeterminate = computed(() => { :bordered="false" > - + @@ -348,13 +363,13 @@ const indeterminate = computed(() => { { 恢复默认 - + {