From 2dc7eb86754411c6dc8142163f1446a77b478edb Mon Sep 17 00:00:00 2001 From: teukkk Date: Mon, 12 Aug 2024 11:51:43 +0800 Subject: [PATCH] =?UTF-8?q?style(=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92):=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/test-plan/testPlan/components/testPlanTree.vue | 2 +- .../testPlan/detail/apiCase/components/caseTable.vue | 2 +- .../testPlan/detail/apiCase/components/caseTree.vue | 2 +- .../detail/apiScenario/components/scenarioTable.vue | 2 +- .../detail/apiScenario/components/scenarioTree.vue | 2 +- .../testPlan/detail/featureCase/components/caseTable.vue | 7 +------ .../testPlan/detail/featureCase/components/caseTree.vue | 2 +- frontend/src/views/test-plan/testPlan/detail/index.vue | 4 ++-- 8 files changed, 9 insertions(+), 14 deletions(-) diff --git a/frontend/src/views/test-plan/testPlan/components/testPlanTree.vue b/frontend/src/views/test-plan/testPlan/components/testPlanTree.vue index 88fb56eb8d..9944b87068 100644 --- a/frontend/src/views/test-plan/testPlan/components/testPlanTree.vue +++ b/frontend/src/views/test-plan/testPlan/components/testPlanTree.vue @@ -347,7 +347,7 @@ const virtualListProps = computed(() => { return { - height: 'calc(100vh - 240px)', + height: 'calc(100vh - 200px)', threshold: 200, fixedSize: true, buffer: 15, diff --git a/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTable.vue b/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTable.vue index 27d9deab70..8cf7daf148 100644 --- a/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTable.vue +++ b/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTable.vue @@ -317,7 +317,7 @@ scroll: { x: '100%' }, tableKey: TableKeyEnum.TEST_PLAN_DETAIL_API_CASE, showSetting: true, - heightUsed: 460, + heightUsed: 445, showSubdirectory: true, draggable: { type: 'handle' }, draggableCondition: true, diff --git a/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTree.vue b/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTree.vue index 6b8b05e9f1..698cdb6325 100644 --- a/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTree.vue +++ b/frontend/src/views/test-plan/testPlan/detail/apiCase/components/caseTree.vue @@ -85,7 +85,7 @@ const virtualListProps = computed(() => { return { - height: 'calc(100vh - 408px)', + height: 'calc(100vh - 390px)', threshold: 200, fixedSize: true, buffer: 15, // 缓冲区默认 10 的时候,虚拟滚动的底部 padding 计算有问题 diff --git a/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTable.vue b/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTable.vue index 6c01851c8e..5b011bbb20 100644 --- a/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTable.vue +++ b/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTable.vue @@ -299,7 +299,7 @@ scroll: { x: '100%' }, tableKey: TableKeyEnum.TEST_PLAN_DETAIL_API_CASE, showSetting: true, - heightUsed: 460, + heightUsed: 445, showSubdirectory: true, draggable: { type: 'handle' }, draggableCondition: true, diff --git a/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTree.vue b/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTree.vue index d87aa63c17..b3441d846b 100644 --- a/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTree.vue +++ b/frontend/src/views/test-plan/testPlan/detail/apiScenario/components/scenarioTree.vue @@ -79,7 +79,7 @@ const virtualListProps = computed(() => { return { - height: 'calc(100vh - 408px)', + height: 'calc(100vh - 390px)', threshold: 200, fixedSize: true, buffer: 15, // 缓冲区默认 10 的时候,虚拟滚动的底部 padding 计算有问题 diff --git a/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTable.vue b/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTable.vue index 87339bc6ef..8d8da0033d 100644 --- a/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTable.vue +++ b/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTable.vue @@ -373,7 +373,7 @@ scroll: { x: '100%' }, tableKey: TableKeyEnum.TEST_PLAN_DETAIL_FEATURE_CASE_TABLE, showSetting: true, - heightUsed: 460, + heightUsed: 445, showSubdirectory: true, draggable: { type: 'handle' }, draggableCondition: true, @@ -800,24 +800,19 @@ :deep(.param-input:not(.arco-input-focus, .arco-select-view-focus)) { &:not(:hover) { border-color: transparent !important; - .arco-input::placeholder { @apply invisible; } - .arco-select-view-icon { @apply invisible; } - .arco-select-view-value { color: var(--color-text-brand); } } } - .list-show-type { padding: 0; - :deep(.arco-radio-button-content) { padding: 4px 6px; } diff --git a/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTree.vue b/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTree.vue index b4d3321dc0..0b2451a7d2 100644 --- a/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTree.vue +++ b/frontend/src/views/test-plan/testPlan/detail/featureCase/components/caseTree.vue @@ -80,7 +80,7 @@ const virtualListProps = computed(() => { return { - height: 'calc(100vh - 408px)', + height: 'calc(100vh - 390px)', threshold: 200, fixedSize: true, buffer: 15, // 缓冲区默认 10 的时候,虚拟滚动的底部 padding 计算有问题 diff --git a/frontend/src/views/test-plan/testPlan/detail/index.vue b/frontend/src/views/test-plan/testPlan/detail/index.vue index 263d1dc6fb..152f2a446f 100644 --- a/frontend/src/views/test-plan/testPlan/detail/index.vue +++ b/frontend/src/views/test-plan/testPlan/detail/index.vue @@ -103,8 +103,8 @@ class="relative mx-[16px] border-b" /> - - + +