From 3010d670caff7a009836f171c427cbff5b0fb8b8 Mon Sep 17 00:00:00 2001 From: BugKing Date: Thu, 1 Jul 2021 12:08:00 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BF=AE=E6=94=B9=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E8=B7=9F=E8=B8=AA=E3=80=81=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92?= =?UTF-8?q?=E7=94=A8=E4=BE=8B=E5=88=97=E8=A1=A8=E9=AB=98=E5=BA=A6=E5=8F=8A?= =?UTF-8?q?=E5=85=B6=E4=BB=96=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../api/automation/scenario/ApiScenarioList.vue | 4 ++-- .../plan/view/comonents/api/TestPlanApiCaseList.vue | 4 ++-- .../view/comonents/api/TestPlanApiScenarioList.vue | 13 +++++++------ .../comonents/functional/FunctionalTestCaseList.vue | 2 +- .../view/comonents/load/TestPlanLoadCaseList.vue | 4 ++-- .../track/review/view/TestCaseReviewView.vue | 6 ++++++ .../view/components/TestReviewTestCaseList.vue | 4 ++-- frontend/src/common/css/main.css | 4 ++++ 8 files changed, 26 insertions(+), 15 deletions(-) diff --git a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue index 00225884ec..2b8f8464bc 100644 --- a/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue +++ b/frontend/src/business/components/api/automation/scenario/ApiScenarioList.vue @@ -942,7 +942,7 @@ export default { padding: 10px; } -/* /deep/ .el-table__fixed-body-wrapper { +/deep/ .el-table__fixed-body-wrapper { top: 60px !important; -} */ +} diff --git a/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApiCaseList.vue b/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApiCaseList.vue index 57706be7be..1dc566baab 100644 --- a/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApiCaseList.vue +++ b/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApiCaseList.vue @@ -279,7 +279,7 @@ export default { pageSize: 10, total: 0, selectDataCounts: 0, - screenHeight: 'calc(100vh - 330px)',//屏幕高度 + screenHeight: 'calc(100vh - 250px)',//屏幕高度 // environmentId: undefined, currentCaseProjectId: "", runData: [], @@ -750,6 +750,6 @@ export default { } /deep/ .el-table__fixed-body-wrapper { - top: 59px !important; + top: 48px !important; } diff --git a/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApiScenarioList.vue b/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApiScenarioList.vue index d4412835d1..b02e1ef203 100644 --- a/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApiScenarioList.vue +++ b/frontend/src/business/components/track/plan/view/comonents/api/TestPlanApiScenarioList.vue @@ -39,7 +39,7 @@ - >> th:nth-child(2) .el-icon-arrow-down { - top: -3px; + top: -4px; +} + +/deep/ .el-table__fixed-body-wrapper { + top: 48px !important; } -/*/deep/ .el-table__fixed-body-wrapper {*/ -/* top: 59px !important;*/ -/*}*/ diff --git a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseList.vue b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseList.vue index 9436e98390..39a96871d7 100644 --- a/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseList.vue +++ b/frontend/src/business/components/track/plan/view/comonents/functional/FunctionalTestCaseList.vue @@ -294,7 +294,7 @@ export default { type: TEST_PLAN_FUNCTION_TEST_CASE, fields: [], fieldsWidth: getCustomTableWidth('TRACK_TEST_CASE'), - screenHeight: 'calc(100vh - 330px)', + screenHeight: 'calc(100vh - 275px)', tableLabel: [], result: {}, deletePath: "/test/case/delete", diff --git a/frontend/src/business/components/track/plan/view/comonents/load/TestPlanLoadCaseList.vue b/frontend/src/business/components/track/plan/view/comonents/load/TestPlanLoadCaseList.vue index 8c3d136a1c..e4c24dd9b9 100644 --- a/frontend/src/business/components/track/plan/view/comonents/load/TestPlanLoadCaseList.vue +++ b/frontend/src/business/components/track/plan/view/comonents/load/TestPlanLoadCaseList.vue @@ -201,7 +201,7 @@ export default { total: 0, selectDataCounts: 0, status: 'default', - screenHeight: 'calc(100vh - 330px)',//屏幕高度 + screenHeight: 'calc(100vh - 250px)',//屏幕高度 buttons: [ { name: this.$t('test_track.plan.load_case.unlink_in_bulk'), handleClick: this.handleDeleteBatch, permissions: ['PROJECT_TRACK_PLAN:READ+CASE_BATCH_DELETE'] @@ -496,6 +496,6 @@ export default { diff --git a/frontend/src/business/components/track/review/view/TestCaseReviewView.vue b/frontend/src/business/components/track/review/view/TestCaseReviewView.vue index 548c61d208..4a7a54feeb 100644 --- a/frontend/src/business/components/track/review/view/TestCaseReviewView.vue +++ b/frontend/src/business/components/track/review/view/TestCaseReviewView.vue @@ -186,4 +186,10 @@ export default { height: calc(100vh - 80px - 53px); margin-top: 1px; } + +.header-menu.el-menu--horizontal > li { + height: 49px; + line-height: 50px; + color: dimgray; +} diff --git a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue index 6978e20753..6a08eddb71 100644 --- a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue +++ b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue @@ -248,7 +248,7 @@ export default { return { type: TEST_CASE_REVIEW_CASE_LIST, headerItems: Test_Case_Review_Case_List, - screenHeight: 'calc(100vh - 330px)', + screenHeight: 'calc(100vh - 270px)', tableLabel: [], result: {}, condition: {}, @@ -547,7 +547,7 @@ export default { } /deep/ .el-table__fixed-body-wrapper { - top: 59px !important; + top: 48px !important; } diff --git a/frontend/src/common/css/main.css b/frontend/src/common/css/main.css index 6707dee359..77c21618ad 100644 --- a/frontend/src/common/css/main.css +++ b/frontend/src/common/css/main.css @@ -40,6 +40,10 @@ margin-bottom: 18px; } +.el-dialog__body { + padding: 10px; +} + .tip { padding: 3px 5px; font-size: 16px;