style(接口测试): 调整接口自动化编辑和列表的背景

This commit is contained in:
CaptainB 2022-12-12 18:53:43 +08:00 committed by 建国
parent 64e5e3b6d8
commit 893de5af32
2 changed files with 370 additions and 368 deletions

View File

@ -1,5 +1,5 @@
<template>
<div class="scenario-div" v-loading="result">
<el-card class="scenario-div" v-loading="result">
<slot name="version"></slot>
<ms-search :condition.sync="condition" :base-search-tip="$t('commons.search_by_id_name_tag')" @search="search">
</ms-search>
@ -369,7 +369,7 @@
ref="apiDeleteConfirm" />
<!-- 引用场景弹窗 -->
<ms-show-reference ref="viewRef" @showCaseRef="showScenarioRef" @openScenario="openScenario" />
</div>
</el-card>
</template>
<script>
@ -522,7 +522,7 @@ export default {
type: API_SCENARIO_LIST,
fields: getCustomTableHeader('API_SCENARIO', undefined),
fieldsWidth: getCustomTableWidth('API_SCENARIO'),
screenHeight: 'calc(100vh - 180px)', //,
screenHeight: 'calc(100vh - 200px)', //,
condition: {
components: this.trashEnable ? API_SCENARIO_CONFIGS_TRASH : API_SCENARIO_CONFIGS,
},

View File

@ -81,6 +81,7 @@
<!-- 右侧部分 -->
<ms-main-container style="overflow: hidden" class="ms-scenario-main-container">
<el-card>
<!-- header 调试部分 -->
<div class="ms-debug-div" @click="showAll" ref="debugHeader">
<el-row style="margin: 5px">
@ -537,6 +538,7 @@
:old-user-name="oldUserName"
:type="type" />
</el-dialog>
</el-card>
</ms-main-container>
</ms-container>
</template>
@ -2544,7 +2546,7 @@ export default {
<style scoped>
.card-content {
height: calc(100vh - 160px);
height: calc(100vh - 170px);
overflow-y: auto;
}
@ -2569,7 +2571,7 @@ export default {
}
#fab {
right: 60px;
right: 70px;
bottom: 120px;
z-index: 5;
}